nhentai-telegram-bot icon indicating copy to clipboard operation
nhentai-telegram-bot copied to clipboard

Telegram bot for nhentai

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
    • [x] add answerCallbackQuery() to prevent infinite loading on buttons
  • [ ] instance features
    • [ ] support for readonly connection with database
    • [x] ability to connect to multiple databases
    • [x] generate webhook urls automatically from built in env variables on perl.it and heroku
  • [ ] Tanslations
    • [x] Finish translations in the search
    • [ ] Indonesian
    • [ ] German
  • [ ] add actual logging
  • [ ] proxy
  • [ ] switch from telegraf to grammy
  • [x] typescript!
    • [x] inline search
    • [x] random
    • [x] text handler (by code)
    • [x] likes
    • [x] help & settings
    • [x] "fix" button
    • [x] /zip command
  • [ ] find alternative for telegra.ph and implement as a fallback (for hosting images)
  • [ ] create new website with fancy stats