{"id":42831473,"url":"https://github.com/ashokshau/gotdbot","last_synced_at":"2026-05-03T12:04:57.840Z","repository":{"id":335268010,"uuid":"1144718517","full_name":"AshokShau/gotdbot","owner":"AshokShau","description":"Go wrapper for the tdlib/td .","archived":false,"fork":false,"pushed_at":"2026-03-28T14:53:03.000Z","size":3118,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-28T15:48:14.848Z","etag":null,"topics":["go","golang","hacktoberfest","hacktoberfest-accepted","td","tdlib","tdlib-go","tdlib-td","telegram"],"latest_commit_sha":null,"homepage":"https://t.me/FallenProjects","language":"Go","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/AshokShau.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-29T01:11:56.000Z","updated_at":"2026-03-22T09:21:22.000Z","dependencies_parsed_at":"2026-02-01T13:00:43.244Z","dependency_job_id":"b8f55880-7920-4252-9477-4449bba5dc50","html_url":"https://github.com/AshokShau/gotdbot","commit_stats":null,"previous_names":["ashokshau/gotdbot"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/AshokShau/gotdbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AshokShau%2Fgotdbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AshokShau%2Fgotdbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AshokShau%2Fgotdbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AshokShau%2Fgotdbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AshokShau","download_url":"https://codeload.github.com/AshokShau/gotdbot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AshokShau%2Fgotdbot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31311018,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["go","golang","hacktoberfest","hacktoberfest-accepted","td","tdlib","tdlib-go","tdlib-td","telegram"],"created_at":"2026-01-30T11:30:12.894Z","updated_at":"2026-05-03T12:04:57.826Z","avatar_url":"https://github.com/AshokShau.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gotdbot\n\n![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/AshokShau/gotdbot)\n[![Go Reference](https://pkg.go.dev/badge/github.com/AshokShau/gotdbot.svg)](https://pkg.go.dev/github.com/AshokShau/gotdbot)\n[![License](https://img.shields.io/github/license/AshokShau/gotdbot)](LICENSE)\n\n**gotdbot** is a powerful, pure Go wrapper for [TDLib](https://github.com/tdlib/td) (Telegram Database Library). It provides a simple and idiomatic way to build Telegram clients and bots using Go.\n\nCurrent Version: **v0.9.1** and TDLib **v1.8.63**.\n\n---\n\n## Features\n\n- **Pure Go**: No CGO mess in your application code (uses `purego` to load `libtdjson`).\n- **High Performance**: Direct binding to TDLib's JSON interface.\n- **Dispatcher System**: Built-in update dispatcher with middleware-style handlers.\n- **Filters**: Powerful and composable filters for message matching.\n- **Type-Safe**: Fully generated Go structs for all TDLib types and methods.\n- **Context Aware**: Easy access to effective messages, chats, and users.\n\n---\n\n## Requirements\n\n* **Go**: version 1.22 or newer\n* **TDLib**: the compiled `libtdjson` shared library\n\n  * Follow the official [TDLib build instructions](https://tdlib.github.io/td/build.html?language=Go)\n  * Make sure the library is accessible on your system:\n\n    * `libtdjson.so` (Linux)\n    * `libtdjson.dylib` (macOS)\n    * `tdjson.dll` (Windows)\n  * **Alternative**: run\n\n    ```bash\n    go run github.com/AshokShau/gotdbot/scripts/tools@latest\n    ```\n\n    to automatically download the latest precompiled TDLib binaries.\n\n---\n\n## Installation\n\n```bash\ngo get github.com/AshokShau/gotdbot\n```\n\n---\n\n## Examples\n\nSample bots can be found in the [examples](./examples) directory.\n\n- [Echo Bot](./examples/echobot): A simple bot that echoes text messages.\n- [User Bot](./examples/userbot): Example of running a user account automation.\n\n---\n\n## Contributing\n\nContributions are welcome! Please open issues for bugs or feature requests.\n\n---\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n\n---\n\n## Inspired by\n\n- [gotgbot](https://github.com/PaulSonOfLars/gotgbot)\n- [pytdbot](https://github.com/pytdbot/client)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashokshau%2Fgotdbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashokshau%2Fgotdbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashokshau%2Fgotdbot/lists"}