{"id":24108224,"url":"https://github.com/kd3n1z/go-telegram-parser","last_synced_at":"2026-06-16T09:32:26.072Z","repository":{"id":271476858,"uuid":"913586322","full_name":"kd3n1z/go-telegram-parser","owner":"kd3n1z","description":"Telegram Web App initData parsing \u0026 validation","archived":false,"fork":false,"pushed_at":"2025-01-09T01:27:37.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T09:53:23.684Z","etag":null,"topics":["go","golang","parser","telegram","telegram-mini-app","telegram-web-app","telegram-web-app-data","telegram-web-app-data-parser","validation"],"latest_commit_sha":null,"homepage":"","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/kd3n1z.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":"2025-01-08T01:16:41.000Z","updated_at":"2025-01-09T01:26:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"cbe211f6-1620-4ca2-af61-514e9e33fce5","html_url":"https://github.com/kd3n1z/go-telegram-parser","commit_stats":null,"previous_names":["kd3n1z/go-telegram-parser"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/kd3n1z/go-telegram-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kd3n1z%2Fgo-telegram-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kd3n1z%2Fgo-telegram-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kd3n1z%2Fgo-telegram-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kd3n1z%2Fgo-telegram-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kd3n1z","download_url":"https://codeload.github.com/kd3n1z/go-telegram-parser/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kd3n1z%2Fgo-telegram-parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34400451,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-16T02:00:06.860Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","parser","telegram","telegram-mini-app","telegram-web-app","telegram-web-app-data","telegram-web-app-data-parser","validation"],"created_at":"2025-01-10T23:26:30.376Z","updated_at":"2026-06-16T09:32:26.067Z","avatar_url":"https://github.com/kd3n1z.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-telegram-parser\n\nA lightweight parser for validating and extracting data from Telegram Web App's initialization data. This library ensures data validation using HMAC-SHA256 hashing.\n\n## Usage\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\ttelegramparser \"github.com/kd3n1z/go-telegram-parser\"\n)\n\nfunc main() {\n\tbotToken := \"your-bot-token-here\"\n\n\tparser := telegramparser.CreateParser(botToken)\n\n\tinitData, err := parser.Parse(\"query_id=123\u0026auth_date=1234567890\u0026hash=abcdef...\")\n\n\tif err == nil {\n\t\tfmt.Println(\"Validated data:\")\n\t\tfmt.Println(\"QueryId:\", initData.QueryId)\n\t\tfmt.Println(\"Hash:\", initData.Hash)\n\t\tfmt.Println(\"User.FirstName:\", initData.User.FirstName)\n\t\t// ...\n\t} else {\n\t\tfmt.Println(\"Validation failed.\")\n\t}\n}\n```\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkd3n1z%2Fgo-telegram-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkd3n1z%2Fgo-telegram-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkd3n1z%2Fgo-telegram-parser/lists"}