Skip to content

bioshazard/pwbot

Repository files navigation

pwbot

Slack bot powered by the Vercel AI SDK and an OpenAI-compatible chat endpoint.

Setup

Install dependencies:

bun install

Configure:

SLACK_BOT_TOKEN=xoxb-...
SLACK_APP_TOKEN=xapp-...
OPENAI_API_KEY=...
OPENAI_API_BASE=https://api.openai.com/v1
OPENAI_API_MODEL=gpt-4o

OPENAI_API_BASE and OPENAI_API_MODEL are optional. The defaults are the OpenAI API and gpt-4o.

Run:

bun start

Validate:

bun test
bun run typecheck

About

Slackbot for my Slack

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages