vavi-apps-slack is a Java application that can export Slack messages incrementally.
we can find some Slack exporters, but those exports whole messages and channels everytime. this application is useful for daily backup.
- Simple Slack API (Creative Commons CC0 1.0 Universal)
- Gson (Apache 2.0)
- get a token from https://api.slack.com/web (push
Generate test tokens
button) - prepare a setting file
$ vi ~/.vavi_apps_slack.properties
# your group name + keyword
YOUR_GROUP.user=your_user_name
YOUR_GROUP.token=xoxp-289999999915-12UUYYYYYY9-6XXXXXXXX-999999999999
- download vavi-apps-slack
$ git clone https://github.com/umjammer/vavi-apps-slack.git
- run vavi-apps-slack
$ cd vavi-apps-slack
$ ./gradlew run -Pargs="YOUR_GROUP"
- get messages
$ tree tmp
tmp
βββ YOUR_GROUP
βββ channel
βΒ Β βββ channel 1.json
βΒ Β βββ channel 2.json
βββ direct
βΒ Β βββ your friend a.json
βΒ Β βββ your friend b.json
βΒ Β βββ slackbot.json
βΒ Β βββ your friend c.json
βββ private
βββ mpdm-friend1--friend2--you-1.json
βββ mpdm-friend3--friend4--you--friend5-1.json
- view messages
$ pwd
vavi-apps-slack
$ ./gradlew execute
:compileJava UP-TO-DATE
:processResources UP-TO-DATE
:classes UP-TO-DATE
:execute
welcome to slack viewer: 4567
> Building 75% > :execute
access http://localhost:4567/
vavi-apps-slack is released under the Apache 2.0 license.