@temply_bot Telegram bot repository https://t.me/temply_bot
  • TypeScript 78.5%
  • JavaScript 21.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nikita Kolmogorov 026ce6225e
Run on Node 22 (Node.js Oct 2026 security release) (#27)
* Run on Node 22 (Node.js Oct 2026 security release)

Node 16 is EOL and gets no fixes for the Oct 21 2026 security release.
Switch .nvmrc to v22 and pin the Nixpacks nixpkgs archive so the build
uses nodejs_22.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Pin nixpkgs 6d514b9bf155 for Node 22.23.4

All Nixpacks apps now generate a byte-identical Nix layer, so Node 22.23.4
is compiled once on the build host and reused from Docker's layer cache.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Pin nixpkgs to Hydra-built release-26.05 (nodejs 22.23.4 cached)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 19:59:42 -07:00
.github Add funding links 2026-10-08 15:24:12 -07:00
design initial commit 2019-01-12 12:22:08 -08:00
locales add book text 2023-11-22 14:13:44 -08:00
scripts add upload option 2020-05-17 13:54:58 -07:00
src fix long template names 2021-10-25 17:01:38 -07:00
.env.sample initial commit 2019-01-12 12:22:08 -08:00
.gitignore initial commit 2019-01-12 12:22:08 -08:00
.nvmrc Run on Node 22 (Node.js Oct 2026 security release) (#27) 2026-10-21 19:59:42 -07:00
LICENSE Initial commit 2019-01-12 12:06:24 -08:00
nixpacks.toml Run on Node 22 (Node.js Oct 2026 security release) (#27) 2026-10-21 19:59:42 -07:00
package.json Bump axios from 0.21.1 to 0.21.2 2022-01-14 18:29:41 +00:00
README.md initial commit 2019-01-12 12:22:08 -08:00
tsconfig.json initial commit 2019-01-12 12:22:08 -08:00
yarn-error.log fix types 2019-09-12 13:16:53 -07:00
yarn.lock Bump axios from 0.21.1 to 0.21.2 2022-01-14 18:29:41 +00:00

@temply_bot

@temply_bot Telegram bot code

This is the code for template text Telegram bot I've built. Enjoy and feel free to reuse!

Installation and local launch

  1. Clone this repo: git clone https://github.com/backmeupplz/temply
  2. Launch the mongo database locally
  3. Create .env with the environment variables listed below
  4. Run yarn install in the root folder
  5. Run yarn distribute

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

Environment variables

  • TOKEN — Telegram bot token
  • MONGO— URL of the mongo database

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

Continuous integration

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

License

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