Settings

Theme

Show HN: Backup your Slack chat without admin permissions or workspace apps

github.com

6 points by emiunet 6 years ago · 2 comments

Reader

emiunetOP 6 years ago

I want to backup chat messages (just the texts) from my Slack workspaces to local machine. However, I don't have admin permissions and I can't install Apps on workspaces to have that API Key. Thus, I wrote this bash script to use my browser's session key and cookie to curl all the messages (all the way back to the beginning of each channels) and dump them to local storage in JSON format. I can later process the JSON files and import them into a database. But that's later.

  • LinuxBender 6 years ago

    This looks like a handy and clever script. Would you consider testing for OS? uname -o. gdate is just Mac ports / brew way of adding GNU date AFAIK. If you see GNU in uname -o, then you should be able to call date vs. gdate and remove a step (alias) for Linux users.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection