Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anze3db/botko
A friendly Slack Bot
https://github.com/anze3db/botko
Last synced: 7 days ago
JSON representation
A friendly Slack Bot
- Host: GitHub
- URL: https://github.com/anze3db/botko
- Owner: anze3db
- Created: 2021-12-28T11:15:15.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-16T06:07:24.000Z (11 days ago)
- Last Synced: 2024-12-16T07:20:23.979Z (11 days ago)
- Language: Python
- Homepage:
- Size: 364 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Botko 🤖
[![Upgrade dependencies](https://github.com/anze3db/botko/actions/workflows/upgrade-dependencies.yml/badge.svg?branch=main&event=schedule)](https://github.com/anze3db/botko/actions/workflows/upgrade-dependencies.yml)
[![Test & Deploy](https://github.com/anze3db/botko/actions/workflows/python.yml/badge.svg)](https://github.com/anze3db/botko/actions/workflows/python.yml)
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)A spiritual successor to https://github.com/psywerx/botko
## Development
Create an `.env` file:
```
cp .env.example .env
```Set up the dev environment:
```
uv sync
```Run tests:
```
uv run ptw
```Run server:
```
uv run uvicorn app:api --log-level info --reload --port 3000
```You'll need to set the `SLACK_BOT_TOKEN` and `SLACK_SIGNING_SECRET` `env` variables from https://api.slack.com/apps/
If you want Slack to be able to hit your server you'll also need to run `ngrok`:
```
ngrok http 3000
```