{"id":20772872,"url":"https://github.com/101loop/beepstarbot-go","last_synced_at":"2025-09-10T08:06:44.069Z","repository":{"id":115364394,"uuid":"308558053","full_name":"101Loop/beepstarbot-go","owner":"101Loop","description":"Telegram bot written in GO.","archived":false,"fork":false,"pushed_at":"2020-11-22T11:55:26.000Z","size":21,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-18T07:30:07.522Z","etag":null,"topics":["go","golang","telegram","telegram-bot","telegram-bot-golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/101Loop.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":"2020-10-30T07:39:07.000Z","updated_at":"2022-03-27T02:17:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"779ba007-7303-4abe-84c3-7627d8babed6","html_url":"https://github.com/101Loop/beepstarbot-go","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/101Loop%2Fbeepstarbot-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/101Loop%2Fbeepstarbot-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/101Loop%2Fbeepstarbot-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/101Loop%2Fbeepstarbot-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/101Loop","download_url":"https://codeload.github.com/101Loop/beepstarbot-go/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243112187,"owners_count":20238180,"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":["go","golang","telegram","telegram-bot","telegram-bot-golang"],"created_at":"2024-11-17T12:23:20.872Z","updated_at":"2025-03-11T20:46:53.304Z","avatar_url":"https://github.com/101Loop.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BeepStarBot (Working Locally for now)\nCopy of [NaaiveBot](https://github.com/101loop/naaive-bot), but this time written in [Go](https://golang.org/).\n\n# How To Use it Locally\nYou need [Go](https://golang.org/), [ngrok](https://ngrok.com/download) and [curl](https://curl.se/docs/) as well installed in your system for this to work\n\n- Fork/Clone this repo.\n- Run `git clone link-to-repo.git` to clone this repo locally.\n- Run `cd beepstarbot-go` - to go to the repo folder.\n- Run `go get` to install dependencies.\n- Create a new bot using [BotFather](https://t.me/botfather) and get your **BOT_TOKEN**.\n- Copy .env.example file to .env and add BOT_TOKEN \u0026 SENTRY_DSN(this is optional, leave this empty if you want but\n[Sentry](https://sentry.io) is a nice tool to log errors in production.)\n- Run `go run main.go` (**Bot is now running**)\n- Run `ngrok http 3000` (**First `cd` into the directory where you installed `ngrok` then run this command**)\n- You'll see some public URLs after running the previous command.\n- URLs will look like this `https://\u003csome_code\u003e.ngrok.io`(**notice https**), copy the URL which have `https`.\n- Now run the following command\n```shell script\ncurl -F \"url=https://\u003csome_code\u003e.ngrok.io/\"  https://api.telegram.org/bot\u003cyour_api_token\u003e/setWebhook\n```\nThis will let telegram know that our bot has to talk to this url whenever it receives any message.\n- Now your bot ready to kick members.\n\n**Note:** When you are done testing or if you restart ngrok then run the following command\n```shell script\ncurl https://api.telegram.org/bot\u003cyour_api_token\u003e/deleteWebhook\n```\nThis will reset the webhook url.\n# TODO: Add steps for deployment\n\n# Acknowledgements\n- [This](https://www.sohamkamani.com/golang/telegram-bot/) article helped a lot.\n- [Golang bindings for the Telegram Bot API](https://github.com/go-telegram-bot-api/telegram-bot-api)\n- [Telegram API Docs](https://core.telegram.org/bots/api)\n\n# Contributing\n- Please file bugs and send pull requests to the [GitHub Repository](https://github.com/101Loop/beepstarbot-go) and [issue tracker](https://github.com/101Loop/beepstarbot-go/issues).\n    - Don't be afraid to open half-finished PRs, and ask questions if something is unclear!\n    - No contribution is too small! Please submit as many fixes for typos and grammar bloopers as you can!\n    - Try to limit each pull request to one change only.\n- For help and support please reach out to us on [Slack](https://101loop.slack.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F101loop%2Fbeepstarbot-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F101loop%2Fbeepstarbot-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F101loop%2Fbeepstarbot-go/lists"}