{"id":24479858,"url":"https://github.com/khbminus/polybar-telegram","last_synced_at":"2025-09-07T06:35:01.438Z","repository":{"id":57647573,"uuid":"400493991","full_name":"khbminus/polybar-telegram","owner":"khbminus","description":"Polybar plugin to show unread number of unread chats from Telegram","archived":false,"fork":false,"pushed_at":"2021-09-02T19:02:37.000Z","size":27,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-14T17:24:21.687Z","etag":null,"topics":["polybar","telegram","telegram-api"],"latest_commit_sha":null,"homepage":"","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/khbminus.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":"2021-08-27T11:59:21.000Z","updated_at":"2022-12-03T14:29:41.000Z","dependencies_parsed_at":"2022-08-25T08:20:34.615Z","dependency_job_id":null,"html_url":"https://github.com/khbminus/polybar-telegram","commit_stats":null,"previous_names":["doktorkrab/polybar-telegram"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/khbminus/polybar-telegram","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khbminus%2Fpolybar-telegram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khbminus%2Fpolybar-telegram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khbminus%2Fpolybar-telegram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khbminus%2Fpolybar-telegram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khbminus","download_url":"https://codeload.github.com/khbminus/polybar-telegram/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khbminus%2Fpolybar-telegram/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259453560,"owners_count":22860087,"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":["polybar","telegram","telegram-api"],"created_at":"2025-01-21T10:27:22.282Z","updated_at":"2025-06-12T11:06:55.746Z","avatar_url":"https://github.com/khbminus.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Script: polybar-telegram\n\nA go script that shows count of unread telegram messages\n\nIt uses telegram client API with gotd. So you should get app ID and app hash\nfrom [Telegram API](https://my.telegram.org/apps)\n\n![polybar-telegram](screenshots/1.png)\n\n## Installation\n\n```shell\ngo install github.com/Doktorkrab/polybar-telegram\n```\n\n## Configuration\n\npolybar-telegram needs some environs:\n\n- TG_APPID / TG_APPHASH - App id and hash from Telegram app config\n- PHONE - mobile phone number used for authorization\n- AUTH_FILE - path to file that will use to persist login data\n\nAfter installation, you should run `polybar-telegram` in terminal with auth flag:\n```shell\n# make sure polybar-telegram is in $PATH\npolybar-telegram -a\n```\n\nYou can run `polybar-telegram` with `-u` flag show messages in unmuted chats.\n\nYou can run `polybar-telegram` with `-i` to hide the module if you have 0 unread messages.\n\nTo specify output format use `-f` flag\n```shell\n# {{.unread}} - number of unread messages\n# {{.mentions}} - number of mentions\npolybar-telegram -f \"t {{.unread}} m {{.mentions}}\"\n```\n\n## Module\n```ini\n[module/telegram]\ntype = custom/script\nexec = polybar-telegram\ninterval = 10 \n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhbminus%2Fpolybar-telegram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhbminus%2Fpolybar-telegram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhbminus%2Fpolybar-telegram/lists"}