{"id":18543191,"url":"https://github.com/kozalosev/gosadtgbot","last_synced_at":"2025-05-15T05:10:39.539Z","repository":{"id":154011434,"uuid":"631188029","full_name":"kozalosev/goSadTgBot","owner":"kozalosev","description":"Framework for development of Telegram bots","archived":false,"fork":false,"pushed_at":"2024-05-03T20:06:53.000Z","size":247,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-17T08:44:52.116Z","etag":null,"topics":["framework","golang","golang-library","telegram","telegram-bot"],"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/kozalosev.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":"2023-04-22T08:02:44.000Z","updated_at":"2024-05-03T20:06:18.000Z","dependencies_parsed_at":"2024-05-01T16:01:25.826Z","dependency_job_id":null,"html_url":"https://github.com/kozalosev/goSadTgBot","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kozalosev%2FgoSadTgBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kozalosev%2FgoSadTgBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kozalosev%2FgoSadTgBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kozalosev%2FgoSadTgBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kozalosev","download_url":"https://codeload.github.com/kozalosev/goSadTgBot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254276473,"owners_count":22043869,"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":["framework","golang","golang-library","telegram","telegram-bot"],"created_at":"2024-11-06T20:13:01.251Z","updated_at":"2025-05-15T05:10:39.501Z","avatar_url":"https://github.com/kozalosev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"goSadTgBot — SadBot's Framework for development of Telegram bots\n================================================================\n[![CI Build](https://github.com/kozalosev/goSadTgBot/actions/workflows/ci-build.yml/badge.svg?branch=main\u0026event=push)](https://github.com/kozalosev/goSadTgBot/actions/workflows/ci-build.yml)\n\nThis framework is based on:\n* the [go-telegram-bot-api](https://github.com/go-telegram-bot-api/telegram-bot-api) library;\n* PostgreSQL as database (by using [pgx](https://github.com/jackc/pgx)).\n\nPackages\n--------\n\n* [base](base) contains base types like container for request environment or object for sending requests.\n* [app](app) provides an additional container for the application environment and method for processing the updates.\n* [server](server) allows you to use a [WebHook][setWebhook].\n* [metrics](metrics) allows you to publish the `/metrics` endpoint for Prometheus.\n* [storage](storage) creates a database connection and runs the migrations located in the `db/migrations` directory.\n* [settings](settings) consists of an interface that must provide user settings to the bot.\n* [wizard](wizard) provides facilities to create forms with fields of different types.\n* [logconst](logconst) is just a set of constants for use in `log.WithField(logconst.*, ...)`.\n\nExamples of usage\n-----------------\n* [SadFavBot][SadFavBot-repo] ([main.go][SadFavBot-main], [@bot][SadFavBot-bot])\n* [PostSuggesterBot][PostSuggesterBot-repo] ([main.go][PostSuggesterBot-main], [@WellOfDesiresBot][WellOfDesiresBot])\n\n[setWebhook]: https://core.telegram.org/bots/api#setwebhook\n\n[SadFavBot-repo]: https://github.com/kozalosev/SadFavBot\n[SadFavBot-main]: https://github.com/kozalosev/SadFavBot/blob/main/main.go\n[SadFavBot-bot]: https://t.me/SadFavBot\n\n[PostSuggesterBot-repo]: https://github.com/kozalosev/PostSuggesterBot\n[PostSuggesterBot-main]: https://github.com/kozalosev/PostSuggesterBot/blob/main/main.go\n[WellOfDesiresBot]: https://t.me/WellOfDesiresBot\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkozalosev%2Fgosadtgbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkozalosev%2Fgosadtgbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkozalosev%2Fgosadtgbot/lists"}