{"id":19721331,"url":"https://github.com/meinside/telegram-bot-headless-rpi","last_synced_at":"2026-04-11T21:02:33.825Z","repository":{"id":64306221,"uuid":"126330090","full_name":"meinside/telegram-bot-headless-rpi","owner":"meinside","description":"A Telegram bot for controlling Raspberry Pi headlessly","archived":false,"fork":false,"pushed_at":"2020-01-29T07:58:49.000Z","size":15,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-10T16:18:36.053Z","etag":null,"topics":["golang","raspberry-pi","telegram-bot"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/meinside.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}},"created_at":"2018-03-22T12:13:30.000Z","updated_at":"2023-10-03T06:24:34.000Z","dependencies_parsed_at":"2022-12-06T08:22:29.781Z","dependency_job_id":null,"html_url":"https://github.com/meinside/telegram-bot-headless-rpi","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meinside%2Ftelegram-bot-headless-rpi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meinside%2Ftelegram-bot-headless-rpi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meinside%2Ftelegram-bot-headless-rpi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meinside%2Ftelegram-bot-headless-rpi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meinside","download_url":"https://codeload.github.com/meinside/telegram-bot-headless-rpi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241044114,"owners_count":19899477,"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":["golang","raspberry-pi","telegram-bot"],"created_at":"2024-11-11T23:14:00.850Z","updated_at":"2026-04-11T21:02:28.747Z","avatar_url":"https://github.com/meinside.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# telegram-bot-headless-rpi\n\nThis is a Telegram Bot for controlling Raspberry Pi headlessly.\n\n## Install\n\nGet it:\n\n```bash\n$ go get -d github.com/meinside/telegram-bot-headless-rpi\n```\n\nand build it:\n\n```bash\n$ cd $GOPATH/src/github.com/meinside/telegram-bot-headless-rpi\n$ go build\n```\n\n## Configuration\n\n### Config file\n\n```bash\n$ cd $GOPATH/src/github.com/meinside/telegram-bot-headless-rpi\n$ cp config.json.sample config.json\n$ vi config.json\n```\n\nand edit values to yours:\n\n```\n{\n\t\"api_token\": \"0123456789:abcdefghijklmnopqrstuvwyz-x-0a1b2c3d4e\",\n\t\"available_ids\": [\n\t\t\"telegram_id_1\",\n\t\t\"telegram_id_2\",\n\t\t\"telegram_id_3\"\n\t],\n\t\"telegram_monitor_interval\": 1,\n\t\"ipstack_access_key\": \"xyz_123466789_abcd\",\n\t\"ipstack_premium\": false,\n\t\"is_verbose\": false\n}\n```\n\n### systemd\n\n```bash\n$ sudo cp systemd/telegram-bot-headless-rpi.service /lib/systemd/system/\n$ sudo vi /lib/systemd/system/telegram-bot-headless-rpi.service\n```\n\nand edit **User**, **Group**, **WorkingDirectory** and **ExecStart** values.\n\nIt will launch automatically on boot with:\n\n```bash\n$ sudo systemctl enable telegram-bot-headless-rpi.service\n```\n\nand will start with:\n\n```bash\n$ sudo systemctl start telegram-bot-headless-rpi.service\n```\n\n## Send commands through Telegram\n\n![capture](https://user-images.githubusercontent.com/185988/37770794-ecb0440c-2e18-11e8-8486-02b992469f93.png)\n\n## License\n\nMIT\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeinside%2Ftelegram-bot-headless-rpi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeinside%2Ftelegram-bot-headless-rpi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeinside%2Ftelegram-bot-headless-rpi/lists"}