{"id":39439338,"url":"https://github.com/dominikwinter/slackgpt","last_synced_at":"2026-01-18T04:18:10.216Z","repository":{"id":227941744,"uuid":"753082448","full_name":"dominikwinter/slackgpt","owner":"dominikwinter","description":"Lightweight Go Slack Bot with OpenAI Assistants API","archived":false,"fork":false,"pushed_at":"2024-10-17T00:30:27.000Z","size":35,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-19T01:05:24.035Z","etag":null,"topics":["assistants-api","chatbot","chatgpt","go","golang","openai","slack","slack-bot"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dominikwinter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-02-05T12:42:21.000Z","updated_at":"2024-10-17T00:30:31.000Z","dependencies_parsed_at":"2024-03-15T22:49:00.079Z","dependency_job_id":"8ab929c1-569d-404f-ad64-547f0e944c1e","html_url":"https://github.com/dominikwinter/slackgpt","commit_stats":null,"previous_names":["dominikwinter/slackgpt"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dominikwinter/slackgpt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dominikwinter%2Fslackgpt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dominikwinter%2Fslackgpt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dominikwinter%2Fslackgpt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dominikwinter%2Fslackgpt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dominikwinter","download_url":"https://codeload.github.com/dominikwinter/slackgpt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dominikwinter%2Fslackgpt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28529494,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"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":["assistants-api","chatbot","chatgpt","go","golang","openai","slack","slack-bot"],"created_at":"2026-01-18T04:18:09.613Z","updated_at":"2026-01-18T04:18:10.206Z","avatar_url":"https://github.com/dominikwinter.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Slack-Bot with OpenAI Assistants API\n\n- [Slack Web API](https://api.slack.com/web)\n- [Open AI Assistants API](https://platform.openai.com/docs/assistants/overview)\n\n\nThis is a Slack Bot written in Go. It integrates OpenAI’s latest Assistants API into Slack to respond to messages. The app acts as a web server that listens for incoming messages from Slack, sends these messages to OpenAI’s API, and subsequently sends the AI-generated responses back to Slack.\n\nIt uses the new Assistants API from OpenAI with the ability to upload files like PDFs, allowing you to ask questions about the content of the file.\n\nPurposefully, OpenAI and Slack libs were foregone to create a more lightweight application.\n\nPlease note that you need to have a Slack account and a workspace to use this app. You also need to have an OpenAI account and an API key. Please edit the `.env` file with your Slack and OpenAI credentials.\n\n\n## How to Start the Service\n\nTo start the SlackGPT service, follow these steps:\n\n### Prerequisites\n\nEnsure that you have the following installed on your local machine:\n- [Go](https://golang.org/doc/install)\n- [Docker](https://docs.docker.com/get-docker/)\n- [Docker Compose](https://docs.docker.com/compose/install/)\n\n### Building the Service\n\n1. **Clone the Repository:**\n   ```sh\n   git clone https://github.com/yourusername/slackgpt.git\n   cd slackgpt\n   ```\n\n2. **Build the Project:**\n   Use the `Makefile` to build the project.\n   ```sh\n   make\n   ```\n\n3. **Release Build:**\n   Create a release build for the service.\n   ```sh\n   make release\n   ```\n\n### Deploying the Service\n\n1. **Copy Files to Server:**\n   Manually copy the following files to your server using `scp` or any other file transfer method:\n   - `slackgpt-linux-amd64`\n   - `docker-compose.yml`\n   - `.env`\n\n   Example using `scp`:\n   ```sh\n   scp slackgpt-linux-amd64 docker-compose.yml .env youruser@yourserver:/path/to/destination/\n   ```\n\n2. **SSH into Your Server:**\n   ```sh\n   ssh youruser@yourserver\n   ```\n\n3. **Start the Service:**\n   Navigate to the directory where you copied the files and run the following command to start the service using Docker Compose:\n   ```sh\n   docker compose up -d\n   ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdominikwinter%2Fslackgpt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdominikwinter%2Fslackgpt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdominikwinter%2Fslackgpt/lists"}