Echo bot for Telegram
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nikita Kolmogorov b2fdb17ac8
Upgrade Bun to 1.4.4 (Oct 2026 security fixes) (#4)
Nixpacks gets Bun from nixpkgs, which only has 1.3.13 at our pin, so the setup phase points nixpkgs' bun package at the official 1.4.4 release zip (hash pinned). Remove the override once nixpkgs has bun >= 1.4.4.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 09:58:40 -07:00
.github Add funding links 2026-10-08 15:24:12 -07:00
.env.sample Refactor project to use Bun and Grammy, removing Yarn and TypeScript configurations 2025-04-11 08:31:57 -07:00
.gitignore first commit 2018-08-06 13:19:02 -07:00
app.ts Refactor project to use Bun and Grammy, removing Yarn and TypeScript configurations 2025-04-11 08:31:57 -07:00
bun.lock Refactor project to use Bun and Grammy, removing Yarn and TypeScript configurations 2025-04-11 08:31:57 -07:00
jsconfig.json Refactor project to use Bun and Grammy, removing Yarn and TypeScript configurations 2025-04-11 08:31:57 -07:00
LICENSE Create LICENSE 2018-08-06 13:35:16 -07:00
nixpacks.toml Upgrade Bun to 1.4.4 (Oct 2026 security fixes) (#4) 2026-10-22 09:58:40 -07:00
package.json Refactor project to use Bun and Grammy, removing Yarn and TypeScript configurations 2025-04-11 08:31:57 -07:00
README.md Refactor project to use Bun and Grammy, removing Yarn and TypeScript configurations 2025-04-11 08:31:57 -07:00

@yohoho_bot Telegram bot code

This is the code for the echo bot I've built. Got tired of trying to figure out chat ids, user ids, forwards, etc. So you can forward (or send) any message to this bot and get a response with literally the update message bot received from Telegram with all the info

Installation and local launch

  1. Clone this repo: git clone https://github.com/backmeupplz/yohoho
  2. Create .env with the environment variables listed below
  3. Run yarn install in the root folder
  4. Run yarn start

And you should be good to go! Feel free to fork and submit pull requests. Thanks!

Environment variables

  • TOKEN — Telegram bot token

Also, please, consider looking at .env.sample.

Continuous integration

Any commit pushed to master gets deployed to @yohoho_bot via CI Ninja.

License

MIT — use for any purpose. Would be great if you could leave a note about the original developers. Thanks!