{"id":18258198,"url":"https://github.com/cheqd/connector-telegram","last_synced_at":"2025-04-04T18:31:35.739Z","repository":{"id":153069124,"uuid":"607628057","full_name":"cheqd/connector-telegram","owner":"cheqd","description":"Custom connectors and modifications for LogTo used in Community Credentials App","archived":false,"fork":false,"pushed_at":"2024-05-22T12:34:15.000Z","size":1820,"stargazers_count":2,"open_issues_count":8,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-05-22T13:45:34.451Z","etag":null,"topics":["logto","telegram"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cheqd.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-28T11:07:36.000Z","updated_at":"2024-05-22T13:45:44.131Z","dependencies_parsed_at":null,"dependency_job_id":"ecc708d7-6b38-4320-bd68-be036518797c","html_url":"https://github.com/cheqd/connector-telegram","commit_stats":null,"previous_names":[],"tags_count":55,"template":false,"template_full_name":"cheqd/.github","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheqd%2Fconnector-telegram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheqd%2Fconnector-telegram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheqd%2Fconnector-telegram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheqd%2Fconnector-telegram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cheqd","download_url":"https://codeload.github.com/cheqd/connector-telegram/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247229428,"owners_count":20905051,"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":["logto","telegram"],"created_at":"2024-11-05T10:29:35.996Z","updated_at":"2025-04-04T18:31:35.209Z","avatar_url":"https://github.com/cheqd.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Telegram OAuth connector for LogTo\n\n[![GitHub release (latest by date)](https://img.shields.io/github/v/release/cheqd/connector-telegram?color=green\u0026label=stable%20release\u0026style=flat-square)](https://github.com/cheqd/connector-telegram/releases/latest) ![GitHub Release Date](https://img.shields.io/github/release-date/cheqd/connector-telegram?color=green\u0026style=flat-square) [![GitHub license](https://img.shields.io/github/license/cheqd/connector-telegram?color=blue\u0026style=flat-square)](https://github.com/cheqd/connector-telegram/blob/main/LICENSE)\n\n[![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/cheqd/connector-telegram?include_prereleases\u0026label=dev%20release\u0026style=flat-square)](https://github.com/cheqd/connector-telegram/releases/) ![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/cheqd/connector-telegram/latest?style=flat-square) [![GitHub contributors](https://img.shields.io/github/contributors/cheqd/connector-telegram?label=contributors%20%E2%9D%A4%EF%B8%8F\u0026style=flat-square)](https://github.com/cheqd/connector-telegram/graphs/contributors)\n\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/cheqd/connector-telegram/dispatch.yml?label=workflows\u0026style=flat-square)](https://github.com/cheqd/connector-telegram/actions/workflows/dispatch.yml) [![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/cheqd/connector-telegram/codeql.yml?label=CodeQL\u0026style=flat-square)](https://github.com/cheqd/connector-telegram/actions/workflows/codeql.yml) ![GitHub repo size](https://img.shields.io/github/repo-size/cheqd/connector-telegram?style=flat-square)\n\n## ℹ️ Overview\n\nThis NPM package is [a custom OAuth connector designed for LogTo](https://docs.logto.io/docs/recipes/configure-connectors/create-your-connector/) for use with [Telegram](https://core.telegram.org/api). [LogTo](https://logto.io/) is [an open-source identity management software](https://docs.logto.io/) with out-of-the-box support for many social connectors, and allows custom connectors to be created.\n\n## 🛠️ Configuration\n\nOnce you've added this custom connector to LogTo (see *Developer Guide*) below, you need to configure your connector. The steps defined below mirror the [setup guide for the Telegram Login Button widget](https://core.telegram.org/widgets/login).\n\n1. [Register a new Telegram bot](https://core.telegram.org/bots#3-how-do-i-create-a-bot) using the [`@Botfather` Telegram bot](https://t.me/botfather).\n2. Send the `/setdomain` message to `@Botfather` to set a public redirect URI for the bot.\n   1. Telegram expects this domain to be **publicly-routable**. Therefore, trying to specify this as `localhost` or a non-public domain name doesn't work.\n3. Copy the Bot Token and the Bot Domain. These credentials need to be [set in your LogTo admin dashboard](https://docs.logto.io/docs/recipes/configure-connectors/social-connector/) to configure and activate the connector.\n\n## 🧑‍💻 Developer Guide\n\n### Use with LogTo\n\nTo use this connector with LogTo, copy the NPM package contents into a new folder [under `packages/connectors/connectors-telegram` on a copy of the LogTo repository](https://github.com/logto-io/logto/tree/master/packages/connectors) or the LogTo Docker image.\n\nYou can build just this library using:\n\n```bash\nnpm install\nnpm run build\n```\n\n## 💬 Community\n\nThe [**cheqd Community Slack**](http://cheqd.link/join-cheqd-slack) is our primary chat channel for the open-source community, software developers, and node operators.\n\nPlease reach out to us there for discussions, help, and feedback on the project.\n\n## 🙋 Find us elsewhere\n\n[![Telegram](https://img.shields.io/badge/Telegram-2CA5E0?style=for-the-badge\\\u0026logo=telegram\\\u0026logoColor=white)](https://t.me/cheqd) [![Discord](https://img.shields.io/badge/Discord-7289DA?style=for-the-badge\\\u0026logo=discord\\\u0026logoColor=white)](http://cheqd.link/discord-github) [![Twitter](https://img.shields.io/badge/Twitter-1DA1F2?style=for-the-badge\\\u0026logo=twitter\\\u0026logoColor=white)](https://twitter.com/intent/follow?screen\\_name=cheqd\\_io) [![LinkedIn](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge\\\u0026logo=linkedin\\\u0026logoColor=white)](http://cheqd.link/linkedin) [![Slack](https://img.shields.io/badge/Slack-4A154B?style=for-the-badge\\\u0026logo=slack\\\u0026logoColor=white)](http://cheqd.link/join-cheqd-slack) [![Medium](https://img.shields.io/badge/Medium-12100E?style=for-the-badge\\\u0026logo=medium\\\u0026logoColor=white)](https://blog.cheqd.io) [![YouTube](https://img.shields.io/badge/YouTube-FF0000?style=for-the-badge\\\u0026logo=youtube\\\u0026logoColor=white)](https://www.youtube.com/channel/UCBUGvvH6t3BAYo5u41hJPzw/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheqd%2Fconnector-telegram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcheqd%2Fconnector-telegram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheqd%2Fconnector-telegram/lists"}