{"id":15645348,"url":"https://github.com/sxzz/telegram-bot-starter","last_synced_at":"2025-04-09T20:05:41.204Z","repository":{"id":205512940,"uuid":"714403492","full_name":"sxzz/telegram-bot-starter","owner":"sxzz","description":"A starter template for Telegram bots on Serverless, with Vercel, Netlify, Cloudflare, and more support.","archived":false,"fork":false,"pushed_at":"2025-04-05T02:02:25.000Z","size":632,"stargazers_count":64,"open_issues_count":2,"forks_count":9,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-09T20:05:36.452Z","etag":null,"topics":["bot","cloudflare-workers","netlify","nitro","nitropack","serverless","starter","telegraf","telegram","template","typescript","vercel"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sxzz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["sxzz"]}},"created_at":"2023-11-04T19:56:18.000Z","updated_at":"2025-03-24T00:56:08.000Z","dependencies_parsed_at":"2023-12-26T03:29:36.017Z","dependency_job_id":"46ea099a-5ba6-4137-bac6-4f209cf10f44","html_url":"https://github.com/sxzz/telegram-bot-starter","commit_stats":{"total_commits":51,"total_committers":3,"mean_commits":17.0,"dds":0.2941176470588235,"last_synced_commit":"0f6ed5b425a2b1b4f56a5ade798c8e6ec3dea903"},"previous_names":["sxzz/telegram-bot-starter"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sxzz%2Ftelegram-bot-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sxzz%2Ftelegram-bot-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sxzz%2Ftelegram-bot-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sxzz%2Ftelegram-bot-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sxzz","download_url":"https://codeload.github.com/sxzz/telegram-bot-starter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248103872,"owners_count":21048245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot","cloudflare-workers","netlify","nitro","nitropack","serverless","starter","telegraf","telegram","template","typescript","vercel"],"created_at":"2024-10-03T12:06:41.375Z","updated_at":"2025-04-09T20:05:41.182Z","avatar_url":"https://github.com/sxzz.png","language":"TypeScript","funding_links":["https://github.com/sponsors/sxzz"],"categories":[],"sub_categories":[],"readme":"# Telegram Bot Starter\n\nA starter template for Telegram bots on Serverless, with [Vercel](https://vercel.com), [Netlify](https://netlify.com), and [more](https://nitro.unjs.io/deploy) support.\n\nBuilt top of [Nitro](https://nitro.unjs.io/) and [grammY](https://grammy.dev/).\n\n## Local Development\n\n1. Create a bot with [@BotFather](https://t.me/BotFather), and get the bot token.\n2. Clone this repo.\n3. Run `pnpm install` to install dependencies.\n4. Copy `.env.example` to `.env`, and fill in the `BOT_TOKEN` and `TOKEN` in `.env`.\n5. Run `pnpm dev` to start the development server.\n6. Expose your local server to the internet with [Local Port Forwarding of VSCode](https://code.visualstudio.com/docs/editor/port-forwarding) (**set Port Visibility to Public**) or [ngrok](https://ngrok.com/).\n7. Visit https://your-domain.com/set-webhook?token=TOKEN\n8. Send `/start` to your bot.\n\n## Deployment\n\n1. Deploy on [Vercel](https://vercel.com), [Netlify](https://netlify.com) or [others](https://nitro.unjs.io/deploy), with `BOT_TOKEN` and `TOKEN` environment variables.\n2. Visit https://your-domain.com/set-webhook?token=TOKEN\n3. Send `/start` to your bot.\n\n## Credits\n\nThanks to the project [jsjoeio/telegram-bot-template](https://github.com/jsjoeio/telegram-bot-template).\n\n## Sponsors\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://cdn.jsdelivr.net/gh/sxzz/sponsors/sponsors.svg\"\u003e\n    \u003cimg src='https://cdn.jsdelivr.net/gh/sxzz/sponsors/sponsors.svg'/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## License\n\n[MIT](./LICENSE) License © 2024 [三咲智子 Kevin Deng](https://github.com/sxzz)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsxzz%2Ftelegram-bot-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsxzz%2Ftelegram-bot-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsxzz%2Ftelegram-bot-starter/lists"}