t-tran / slack-chat-backup Goto Github PK
View Code? Open in Web Editor NEWBackup your Slack chat messages (direct messages, group messages, joined channels) to your local computer without any extra permissions or apps.
Backup your Slack chat messages (direct messages, group messages, joined channels) to your local computer without any extra permissions or apps.
Updated the config.sh with details pulled from the slack web interface, however running the ./run.sh all gives null error
sudo ./run.sh all
Loading my own profile..
null
Job manager - start : 5 jobs at a time!
jq: error (at :0): Cannot iterate over null (null)
jq: error (at :0): Cannot iterate over null (null)
jq: error (at :0): Cannot iterate over null (null)
Job manager - finish : All jobs completed!
Also the authentication to Slack happens via SSO, so does this cause any issue?
Is there any good way to convert these files to a nicely human-readable format (e.g., HTML)? The tools used for operating on actual Slack-generated exports don't seem to work.
I love your scripts and unfortunately, it isn't pulling deactivated users' messages. I can see the same messages in the slack desktop and slack browser. All those messages via UI show a message at the bottom "YOU ARE VIEWING THE ARCHIVES OF A DEACTIVATED ACCOUNT"
I will appreciate your effort with a sponsor or donation or direct pay as a thank-you gesture.
Invalid json result. Re-trying..
Max retries exceeded. Maybe a bad cookie jar at 'cookies/XXX.jar'? Try deleting it!
I figured that I have more than one cookie, which one shall I use?
Loading my own profile..
Invalid json result. Re-trying..
Invalid json result. Re-trying..
Invalid json result. Re-trying..
Invalid json result. Re-trying..
Max retries exceeded. Maybe a bad cookie jar at 'cookies/autogenesis.jar'? Try deleting it!
###
### BEGIN: configuration
###
# slack related variables
team_name="myworkspace"
team_id="TPHBDFSD"
cookie="copied_from_browser"
ims_ignored=""
mpims_ignored=""
channels_ignored=""
# local preferences
USER_AGENT="Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:76.0) Gecko/20100101 Firefox/76.0"
MAX_THREADS=5 # number of jobs to run at the same time
SKIP_ARCHIVED_CHANNELS=1 # whether to skip archived channels
SYNC_INCREMENTAL=0 # whether to do a full sync or just incremental one. default: 0
# these don't need to be changed
x_version_ts=$(date +%s)
x_id=$(echo $x_version_ts | md5sum | cut -c -8)
###
### END: configuration
###
Tried deleting the cookie file but can't get it to work.
Is there any easy way to import these backup to another account?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.