{"id":15486907,"url":"https://github.com/codenoid/sveltekit-telegram-captcha-bot","last_synced_at":"2025-10-23T21:02:57.234Z","repository":{"id":234126655,"uuid":"787924532","full_name":"codenoid/sveltekit-telegram-captcha-bot","owner":"codenoid","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-21T15:59:44.000Z","size":178,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-17T04:19:28.179Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codenoid.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2024-04-17T12:50:36.000Z","updated_at":"2025-04-11T07:35:36.000Z","dependencies_parsed_at":"2024-04-18T08:31:06.008Z","dependency_job_id":"0e44e4d1-06bb-4b1c-908b-3777662ff29d","html_url":"https://github.com/codenoid/sveltekit-telegram-captcha-bot","commit_stats":null,"previous_names":["codenoid/sveltekit-telegram-captcha-bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenoid%2Fsveltekit-telegram-captcha-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenoid%2Fsveltekit-telegram-captcha-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenoid%2Fsveltekit-telegram-captcha-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenoid%2Fsveltekit-telegram-captcha-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codenoid","download_url":"https://codeload.github.com/codenoid/sveltekit-telegram-captcha-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250269951,"owners_count":21402968,"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":[],"created_at":"2024-10-02T06:20:24.088Z","updated_at":"2025-10-23T21:02:57.160Z","avatar_url":"https://github.com/codenoid.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Telegram Captcha Bot /w Cloudflare Turnstile\n\na captcha bot that leveraging telegram login api and cloudflare turnstile, add [@SvelteCaptchabot](https://t.me/@SvelteCaptchabot) to your group!\n\n| Chat Preview         |     Site Preview      |\n| -------------------- | :-------------------: |\n| ![s1](static/s1.png) | ![s2](static/s2.jpeg) |\n\n## Edit\n\nDue to worst quality of Telegram Webhook (sometimes Telegram just stop sending updates), I made another part that having task to getting the join service message, check the `bot-get-update` folder\n\n## Technology\n\n- [x] Telegram API\n- [x] Baselime.io\n- [x] Cloudflare D1\n- [x] Cloudflare Pages\n- [ ] Cloudflare Durable Object\n\n## Schema Init\n\n```sh\nnpm i\nnpx wrangler d1 create db-name\n# paste the output inside wrangler.toml file\nnpx wrangler d1 execute db-name --remote --file=db.sql\n```\n\n## Bot Config @BotFather\n\n1. make sure you turn off privacy config\n2. setting's bot login domain with the same domain as webhook (for telegram auth purpose)\n\n## Deployment\n\n1. Deploy using Cloudflare Pages GUI\n2. connect the forked version of this project\n3. select `SvelteKit` preset\n4. set environment variable (basically the same as .env.example)\n5. Click \"Deploy\"\n6. Access `yoursite.com/webhook/activate` to activate Telegram Webhook\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodenoid%2Fsveltekit-telegram-captcha-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodenoid%2Fsveltekit-telegram-captcha-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodenoid%2Fsveltekit-telegram-captcha-bot/lists"}