tmslack is a command line application for easilty sharing a tmate session with your fellow slack users.
There are two parts two installing tmslack:
- Once per workspace, you will need to create a new application with a bot user.
- Each person on your team will need to install tmslack and configure it.
In a nutshell:
- In a browser where you are logged into a workspace, browse to Create a Slack App.
- Choose an application name and workspace and then click Create App.
- Click on Bots and add a bot user.
- Click on Install App from the menu on the left and click on Install App to Workspace.
- Authorise the application.
- Copy the Bot User OAuth Access Token, you will distribute this to your team.
In a nutshell:
-
Run
pip install https://github.com/outpace/tmslack/archive/master.zip
-
Add a
${HOME}/.config/tmslack/config.yml
with the following configuration:user: <user> token: <bot-token>
User should be your username on Slack, and the bot-token is the OAuth token from step six in the application installation.
To use tmslack, you will need to be inside of an active and connected tmate session. Once inside, just invoke tmslack with the list of users you would like to invite to your session:
> tmslack anisha taro
👍
If you get the thumbs up, everything should be great.
If you get a stack trace, feel free to panic. However, reviewing the error message and maybe opening an issue may be more advisable.
- Put the bot in the cloud so that it can use an automated authorisation mechanism
- Add slash commands to generate a user-specific configuration so that messages appear as from the user
- Allow customisation of the invitation message
- Distribute via PyPI
- i18n/l10n