A terminal interface for Slack.
Command | Key Combination |
---|---|
Move up | up arrow or k |
Down up | down arrow or j |
Search | / |
Exit | esc |
Select channels list | ctrl + c |
Select users list | ctrl + u |
Select writing area | ctrl + w |
Select message list | ctrl + l |
-
Download this repository:
git clone https://github.com/evanyeung/terminal-slack.git
-
Enter the directory:
cd terminal-slack
-
Install the package:
npm install
-
Create your Legacy Slack API token.
- Go to the Slack Legacy Tokens page
- Click Generate Token
-
Install your token on your local machine, inserting your token between the quotes:
export SLACK_TOKEN='your-slack-token-here'
-
Run the application:
node main.js
-
Terminal Slack should now launch.
-
Terminal Slack opens for a second but then closes again
This might be due to your
SLACK_TOKEN
not being recognised. Make sure the put yourSLACK_TOKEN
between the two single quotes when exporting it:export SLACK_TOKEN='xoxp-254112160503-252950188691-252375361712-6cbf56aada30951a9d310a5f23d032a0'