{"id":22484836,"url":"https://github.com/Eomm/telegram-bot-give-away","last_synced_at":"2025-08-02T18:30:41.863Z","repository":{"id":186366970,"uuid":"660947126","full_name":"Eomm/telegram-bot-give-away","owner":"Eomm","description":"A giveaway bot for Telegram, build with Fastify and Platformatic","archived":false,"fork":false,"pushed_at":"2023-10-28T21:40:56.000Z","size":217,"stargazers_count":9,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-23T01:34:53.489Z","etag":null,"topics":["fastify","giveaway","giveaways","telegram-bot"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Eomm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2023-07-01T09:56:46.000Z","updated_at":"2024-05-30T10:38:15.000Z","dependencies_parsed_at":"2023-09-22T23:49:55.671Z","dependency_job_id":"852088d8-379b-424f-8932-d4e7d58cd6b2","html_url":"https://github.com/Eomm/telegram-bot-give-away","commit_stats":null,"previous_names":["eomm/telegram-bot-give-away"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Eomm/telegram-bot-give-away","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eomm%2Ftelegram-bot-give-away","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eomm%2Ftelegram-bot-give-away/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eomm%2Ftelegram-bot-give-away/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eomm%2Ftelegram-bot-give-away/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Eomm","download_url":"https://codeload.github.com/Eomm/telegram-bot-give-away/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eomm%2Ftelegram-bot-give-away/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268432591,"owners_count":24249584,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["fastify","giveaway","giveaways","telegram-bot"],"created_at":"2024-12-06T17:11:38.453Z","updated_at":"2025-08-02T18:30:41.501Z","avatar_url":"https://github.com/Eomm.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# telegram-bot-give-away\n\nOpen a new chat with [@eommGiveAwayBot](https://t.me/eommGiveAwayBot) and follow the instructions to create or join a new giveaway!\n\n## Commands\n\n- `/start` - Start the bot\n- `/help` - Show help\n- `/create` - Create a new giveaway. You need to answer 5 questions to create a new giveaway:\n  1. Event name: short name of the event\n  2. Event description: long description of the event. Don't forget to include the rules and the exctraction date!\n  3. Event prize: what is the prize of the giveaway?\n  4. Number of winners: how many winners will be extracted?\n  5. Event code: the code to join the event. You will spam this code to let people join the event!\n- `/join` - Join an existing giveaway. You will need to provide the event code.\n- `/list` - List all the giveaways you created or joined.\n- `/extract` - List all the giveaways you created and select one to extract the winners! The winners will receive a notification and the giveaway will be closed.\n- `/abort` - Interrupt the current action when the bot expects an answer from you.\n\n## Architecture\n\n- This bot is built using [Telegraf](https://telegraf.js.org/) on top of [Fastify](https://www.fastify.dev/).\n- It is deployed on [Platformatic](https://platformatic.cloud/).\n- The Postgres database is hosted on [filess.io](https://www.filess.io/).\n- The avatar of the bot is created using [Leonardo.AI](https://leonardo.ai/).\n\n![Architecture](./docs/architecture.png)\n\n## Development\n\nTo run it locally you need to create a `.env` file with the variables listed in `.env.sample`.\nThen you can setup the polling mode or the webhook mode with `ngrok http 3001`.\n\n## License\n\nCopyright [Manuel Spigolon](https://github.com/Eomm), Licensed under [MIT](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEomm%2Ftelegram-bot-give-away","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FEomm%2Ftelegram-bot-give-away","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEomm%2Ftelegram-bot-give-away/lists"}