Skip to content

sleroq/nhentai-telegram-bot

Repository files navigation

Features:

  • Inline search - search manga in any chat. Search
  • Favorites - like the manga so you can easily open or share it. Favorites
  • Read manga directly in the telegram app, no need to open a browser. Instant preview
  • Discover new doujins with /rand command.
  • Open doujins using code or link, send multiple codes in one message.
  • Database - Bot works even if nhentai is down (more than 500k doujins are saved). Database screnshot
  • Translated into Russian and Spanish https://i.imgur.com/eh69bTA.png Language selection

One-Click Deploy Button

Pre-reqs for deploying this project to Heroku or replit.com:

On replit.com you may need to run npm install node && npm install && npm run build before starting for the first time

Run on replit.com

Deploy

Development progress:

  • User-related features
    • ability to set filter and random only in specific tags
    • ability to exclude tags from random
    • button to delete all user data in settings
    • button to clear history in settings
    • redesign settings
    • add answerCallbackQuery() to prevent infinite loading on buttons
  • instance features
    • support for readonly connection with database
    • ability to connect to multiple databases
    • generate webhook urls automatically from built in env variables on perl.it and heroku
  • Tanslations
    • Finish translations in the search
    • Indonesian
    • German
  • add actual logging
  • proxy
  • switch from telegraf to grammy
  • typescript!
    • inline search
    • random
    • text handler (by code)
    • likes
    • help & settings
    • "fix" button
    • /zip command
  • find alternative for telegra.ph and implement as a fallback (for hosting images)
  • create new website with fancy stats