{"id":20945209,"url":"https://github.com/tbxark/chat-bot-go","last_synced_at":"2025-09-07T10:39:40.179Z","repository":{"id":154055863,"uuid":"629422895","full_name":"TBXark/chat-bot-go","owner":"TBXark","description":"A lightweight chatgpt bot for telegram","archived":false,"fork":false,"pushed_at":"2023-05-05T14:18:09.000Z","size":111,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T09:48:44.384Z","etag":null,"topics":["chatgpt","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/TBXark.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-18T09:31:14.000Z","updated_at":"2025-01-03T15:13:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"17515ef2-59a9-409f-a122-0eb36da74636","html_url":"https://github.com/TBXark/chat-bot-go","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/TBXark/chat-bot-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TBXark%2Fchat-bot-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TBXark%2Fchat-bot-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TBXark%2Fchat-bot-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TBXark%2Fchat-bot-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TBXark","download_url":"https://codeload.github.com/TBXark/chat-bot-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TBXark%2Fchat-bot-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274026706,"owners_count":25209739,"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","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"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":["chatgpt","telegram","telegram-bot"],"created_at":"2024-11-18T23:47:07.748Z","updated_at":"2025-09-07T10:39:40.156Z","avatar_url":"https://github.com/TBXark.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# chat-bot-go\n\nA lightweight ChatGPT telegram bot that can run fully locally with no need for any additional operations. You can run it on your own computer without configuring servers or domains\n\n\n## Install\n#### Download\ndownload the latest release from [here](https://github.com/TBXark/chat-bot-go/releases)\n\n#### Build\n1. install [go](https://golang.org/)\n2. `go install github.com/TBXark/chat-bot-go@latest`\n\n\n## Run\n1. add the config file `config.json` to the same directory as the executable file or set `--config` parameter to the config file path\n2. run the executable file\n\n\n## Configuration\n```json\n\n{\n  \"database\": {\n    \"type\": \"sqlite3\",\n    \"path\": \"file:db_test.sqlite?cache=shared\u0026_fk=1\"\n  },\n  \"openai\": {\n    \"key\": \"sk-\",\n    \"model\": \"gpt-3.5-turbo\"\n  },\n  \"telegram\": {\n    \"token\": \"123456:abc\",\n    \"admin\":[],\n    \"available_chat\": [\n      {\n        \"chat_id\": [123, -123],\n        \"params\":{\n          \"init_message\": \"You are a chat bot\",\n          \"extra_params\": {\n            \"temperature\": 0.9\n          }\n        }\n      }\n    ]\n  }\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftbxark%2Fchat-bot-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftbxark%2Fchat-bot-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftbxark%2Fchat-bot-go/lists"}