slackup
backup my slacks
Installation
gem install slackup
Usage
Get token for each team from https://api.slack.com/web
Configure a file in the backup directory called
slack_teams.yml, thoughslack_teams.yamlandslack_teams.jsonwill also work.
The config file must contain a dictionary (hash) of team names (backup directories) and associated tokens.
e.g.
slack_teams.yml
---
some-team: xxxp-some-token
another-team: xxxp-different-token
slack_teams.json
{
"some-team": "xxxp-some-token",
"another-team": "xxxp-different-token"
}
- Run
slackupin your terminal
Each key/value team pair will be run in a local directory named by the key using only the token for auth. Thus, the key (team) name can be whatever you want.
Development
This gem is does the bare basics of backup and works for me.
It has no tests.
Contributing
- Fork it ( https://github.com/[my-github-username]/slackup/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
MIT License