a terminal UI for browsing Slack channels and sending messages as a bot.
- Go to the Slack App Directory
- Click Create New App → From an app manifest
- Select your workspace
- Copy the manifest from manifest.json and paste it into the form
- Adjust the manifest as needed for your use case
- Review and create the app
After creating the app:
- Go to OAuth & Permissions in the left sidebar
- Under Bot Token Scopes, verify the required scopes are present (the manifest should have added them)
- Copy the Bot User OAuth Token (starts with
xoxb-) - Go to App-Level Tokens and copy your App Token (starts with
xapp-)- If you don't have one, create a new token with
connections:writescope
- If you don't have one, create a new token with
- In Settings → Install App, click Install to Workspace
- Review and authorize the requested permissions
Create a .env file in the project root:
SLACK_BOT_TOKEN=xoxb-your-token-here
SLACK_APP_TOKEN=xapp-your-token-hereEnsure you have Python 3.8+ installed, then:
python3 -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
pip install -r requirements.txtpython3 cli.py