{"id":18561905,"url":"https://github.com/sir-go/bot-notion-aidkit","last_synced_at":"2026-04-13T21:04:25.851Z","repository":{"id":144671942,"uuid":"545273772","full_name":"sir-go/bot-notion-aidkit","owner":"sir-go","description":"telegram bot to my home first aid kit","archived":false,"fork":false,"pushed_at":"2022-11-20T09:26:37.000Z","size":4266,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-26T11:09:18.712Z","etag":null,"topics":["bot","docker","go","notion","notion-api","telegram","telegram-bot"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":false,"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/sir-go.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2022-10-04T04:33:02.000Z","updated_at":"2023-10-28T09:10:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"e1909368-fe7d-4c80-a83b-d3b8c8f7e012","html_url":"https://github.com/sir-go/bot-notion-aidkit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sir-go%2Fbot-notion-aidkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sir-go%2Fbot-notion-aidkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sir-go%2Fbot-notion-aidkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sir-go%2Fbot-notion-aidkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sir-go","download_url":"https://codeload.github.com/sir-go/bot-notion-aidkit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239288487,"owners_count":19614125,"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":["bot","docker","go","notion","notion-api","telegram","telegram-bot"],"created_at":"2024-11-06T22:08:13.627Z","updated_at":"2026-04-13T21:04:25.789Z","avatar_url":"https://github.com/sir-go.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Go](https://github.com/sir-go/bot-notion-aidkit/actions/workflows/go.yml/badge.svg)](https://github.com/sir-go/bot-notion-aidkit/actions/workflows/go.yml)\n\n# Telegram bot for search the medicine in my home first aid kit\n\u003e https://t.me/mserg_apteka_bot\n\nI developed this project while I had COVID and I was doing an inventory of my home first-aid kit.\n\n## How it works\nThe bot listens to users' requests and searches records via Notion API in the database. \nIf something is found, a user gets the answer including a photo of the medicine and tags, and location info.\n\nThe data updates from the database periodically or by the command `/update`.\n\nThe database easily administrates at the Notion service.\n\n## Configuration file\nOption `-c` sets the configuration file path (default `./conf.toml`).\n\n```toml\n[tg_api]\n    token = '...'                                   # Tg bot token, BotFather (https://t.me/BotFather) helps\n\n[notion_api]\n    token = '...'                                   # notion account API token\n    timeout = '10s'                                 # request timeout\n    version = '2021-08-16'                          # API version\n    db_id = '...'                                   # notion database ID\n    search_url = 'https://api.notion.com/v1/search' # seach API URL\n\n[warehouse]\n    update_interval = '45m'                         # autoupdate data time interval\n```\n## Docker\n```bash\ndocker build -t bot .\ndocker run -v ${PWD}/conf.toml:/conf.toml --rm -it bot:latest\n```\n\n## Build \u0026 run\n```bash\ngo mod download\ngo test ./cmd/bot\ngo build -o bot ./cmd/bot\n```\n\n## Screencast\n### DB in the Notion table\n![](notion.png)\n\n### Bot interaction\n![](sc.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsir-go%2Fbot-notion-aidkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsir-go%2Fbot-notion-aidkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsir-go%2Fbot-notion-aidkit/lists"}