Skip to content

Releases: sleroq/nhentai-telegram-bot

v1.1.2

22 Feb 22:07
4c41431

Choose a tag to compare

This is a major update with new sources, commands, and a complete runtime migration.

Added

  • ehentai.to source - New source with Instant View template support for better Telegram preview
  • FlareSolverr support - Proxy support for sources that require Cloudflare bypass
  • GitHub Actions CI/CD workflows

Changed

  • Runtime - Migrated from Node.js/npm to Bun for improved performance
  • Database - Switched from better-sqlite3 to bun:sqlite with Drizzle ORM
  • Framework - Updated from telegraf to grammy for Telegram bot API
  • Architecture - Complete refactor with TypeScript and ESM modules
  • Removed telegra.ph dependency (now using native Telegram features)
  • Removed Heroku-specific configuration

Fixed

  • HTML entities properly escaped in help message (security fix)
  • Image resolution issues in ehentai.to Instant View template

Security

  • Multiple dependency updates for security vulnerabilities (express, mongoose, cross-spawn, tough-cookie, micromatch, braces, word-wrap, semver)

Full Changelog: v1.1.1...v1.1.2

1.0.0

14 Nov 20:55

Choose a tag to compare

Changes:

  • Rewritten in typescript
  • Fixed security vulnerabilities (updated isomorphic-fetch for "telegra.ph" package)
  • Improved search
    • now bot is making requests to nhentai's api instead of fetching whole search page every time. Using old method as a fallback because nhentai's api is not stable
    • more useful information in description of search results
  • Fixed small errors with description text and tags (replacing html tags and spaces in tags)
  • Added missing translations
  • Added ability to connect to multiple databases to store "users" collection separately
  • Code refactoring (functions are smaller, error handling is improved, fixed misspellings in comments and variable names, formatting style is more persistent and other similar changes)
  • More variables moved to config file
  • Running instance became easier
    • TELEGRAPH_TOKEN environment variable became optional
    • Now you do not need to provide a url for webhook, it will be detected automatically (only on repl.it and heroku)

Last Javascript version

08 Aug 16:48

Choose a tag to compare

Javascript version of the bot.
The code is pretty bad, and there are a lot of things, that don't work very well

But nevertheless, this is a fully working version.