1.0.1 • Published 6 years ago
slack-terminal v1.0.1
Slack for Terminal
A terminal interface for Slack.
Controls
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 |
Prerequsites
Setup
Download this repository:
git clone https://github.com/Yoginth/slack-terminal.git
Enter the directory:
cd slack-terminal
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.
Troubleshooting
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 your `SLACK_TOKEN` between the two single quotes when exporting it: ``` export SLACK_TOKEN='xoxp-254112160503-252950188691-252375361712-6cbf56aada30951a9d310a5f23d032a0' ```