5 ms·
Slackdump
- xnx 2y agoSlack will delete chats and files from free workspaces at end of August. Slackdump is even better than Slack's built-in export feature because it works without admin access and downloads attachments (e.g. images) in addition to messages. Exports can be browsed offline or loaded into Discord or Mattermost. After trying some other tools/scripts to export/archive Slack, I was amazed how well Slackdump worked.
- playingalong 2y ago> Slack will delete chats and files from free workspaces at end of August Are you referring to some deprecation by Slack which affects all free users? Or is it just your 90d retention period elapsing at the end of August?
- sixhobbits 2y agohttps://slack.com/intl/en-gb/help/articles/29414264463635-Updates-to-message-and-file-history-on-free-workspaces https://slack.com/intl/en-gb/help/articles/29414264463635-Up... Before slack kept the messages and didn't let you see them, but you had rhe option to unlock by paying in future. In August they will actually delete the data
- Wowfunhappy 2y agoHuh. Files I understand, but text is so small--it always seemed like such a clever carrot to dangle in front of people, at a cost of practically nothing. "All of this history could be yours."
- telesilla 2y agoI used to dump our Slack chats to github every month before we were a paying customer. Works great to keep everything and still share with the team.
- vasco 2y agoSo if you can do this, could you "reverse" it when you're done dumping messages and use API to repost them all to slack again? This way you could cycle channels every expirationperiod and have infinite slack retention on a free plan. Only downside is each cycle gets larger as it has (N+1)*90 days worth of data.
- jclulow 2y agoSurely you could just... Use a different chat system?
- muixoozie 2y agoFor real.. Zulip exists
- Hamuko 2y agoSo does IRC. 36 years and counting.
- chx 2y agoLet me generalize this thread because it was archetypical. #1: Much used, leading service went down the enshittification route. If we did this extremely convoluted geeky hack everything would be back to normal (it wouldn't). #2: Let's use another service. #3 and on: yes, here are other services which no one aside from statistical error uses. Sigh. Remember when people suggested to use Lemmy instead of Reddit? You might ask, what's the point of this comment. Well, it's to get people to read https://pluralistic.net/ https://pluralistic.net/ more and for the geeks to start unionizing before it's too late (it already is).
- Flop7331 2y agoI used to really dislike Cory Doctorow back in the BoingBoing days, but he's really putting out some great stuff lately. I'm not sure which of us changed. Particularly nice that the top article right now is a takedown of a company that screwed me over, so I might also be biased.
- serhack_ 2y agoI would remind all the people to recompile the build themself, before downloading a random binary and allowing it to access the Slack workspace. But, very interesting project!
- floam 2y agoI’m honestly surprised there aren’t way way more… extremely nefarious straight up trojan data exfil builds out there of all kinds of rando tools posted as like “hey here’s a convenience build I got to compile for toy arch | codesigned for macOS | helpful VM or Docker image | did something sneaky to bypass API rate limits | fixes that one annoying thing YMMV” etc. and posted as comments on HN or anywhere by seemingly helpful nerds, with the web server serving up the evil build 5% of the time or GeoIP’d to the Bay Area. Like it seems like such easy low effort “hacking” why isn’t it more common? Hell even GitHub “Releases” on your fork can also just not match the repo.
- wslh 2y agoIt is always good to highlight that Slack does not enable to download private messages (except in more expensive data compliance plans). If you want to to this on an organization you need to impersonate every account from your domain(s).
- xnx 2y agoSo true. Slackdump is nice in that it at least allows you to download any conversation you've been a part of.
- tayloramurphy 2y agoWe've used https://www.linen.dev/ https://www.linen.dev/ to preserve history for our community. It's nice because it makes the contents searchable and let's us not worry about slack deleting data.
- xnx 2y agoNeat. I hadn't heard of that. There's also https://github.com/hfaran/slack-export-viewer https://github.com/hfaran/slack-export-viewer which creates a very Slack-like interface to viewing archives.
- pibefision 2y agoAny idea of something like this but for Discord?
- xnx 2y agoMaybe this: https://github.com/Tyrrrz/DiscordChatExporter https://github.com/Tyrrrz/DiscordChatExporter
- rhyssullivan1 2y agoEither https://github.com/Tyrrrz/DiscordChatExporter https://github.com/Tyrrrz/DiscordChatExporter or https://www.answeroverflow.com/about https://www.answeroverflow.com/about (I develop the second one)
- lambdaba 2y agoI always wonder why people write such projects with Go, I understand the performance benefits but I don't see it in this use case, and it's such a verbose language.
- JasonSage 2y agoThere’s a ton of acceptable reasons for it, and many of them have nothing to do with the relative fitness of Go to the task. A couple easy-to-reach-for examples are: the author could write this faster in Go than another language, because of their familiarity; or the author deliberately wrote it in a language to learn something new or try something.
- lambdaba 2y agoI understand, it's just that I often see projects that are a natural fit for a scripting language written in Go, specifically, it's rarer with Rust even. I wonder why that is.
- grogenaut 2y agoTo me go is a scripting language. Bash doesnt have great concurrency or type checking. When I was pulling some discord and slack it got real slow with curl and unmanageable with bash. Few hours later i was done with it in go and it was super fast I often have to do similar at work where you could just bulk process say ALB access logs with bash into some simple stats, And it would work but in the time it took for bash to complete which was about 7 days per days of logs on the services that I was working on I was able to write go code that did it in a under 30 minutes for a day of logs. I was also able to easily make it where it output to parquet instead and then started pulling the data up in Jupiter notebooks and being able to get every stat I ever wanted as opposed to chucking away 99% of the data and bash. That was also able to keep my computer mostly active and maximizing bandwidth and CPU. And if it's in go it's entirely portable cross-platform and I can build a compiler binary I can just hand the people to do the same thing. Scripting languages require a lot of environment set up and libraries and specifics that are not always true on other people's machines. And finally as the other person said I'm actually just good at go so why would I learn bash or another scripting language that's actually not as good for this solution space
- bartekpacia 2y agoWill it work when a server is free and the messages older than a few months are “hidden”? We have a free Slack server with 3k members, and buying some better license that’d let us export old messages is like $25k
- JasonSage 2y agoUp until recently at least, you could still download all messages on a free trial of a paid plan.
- noman-land 2y agoThe default export will download the text of all the messages, but it won't download any attached images (it will just have links to them). This tool doesn't export the whole history but it does export the attachments.
- paxys 2y agoIt's going to be a bit of a pain but what you can do is: 1. Disable all the users except one 2. Buy a license for the one remaining user 3. Export all your messages 4. Downgrade back to the free plan 5. Enable all the users again
- xnx 2y agoAlmost this exact sequence worked for me.
- bartekpacia 2y agoWow, that's the exact kind of hack I expected from HN :) thanks!
- xnx 2y agoI think it might! Despite the Slack interface not showing messages older than 30 days, the official Slack export (even on the free tier) exports all messages. Slackdump might have similar access (didn't try).
- codetrotter 2y agoWell. I can’t use this at work. But what I really need is not even to export the messages themselves. I just want to save a list of all my channels, and the categories I’ve put them in. Anyone know a way to do that, using either just Slack itself, or some specific tool that is only about managing followed channels and the categories you’ve grouped them into?
- paxys 2y agoShould be simple enough to find the data by opening the browser debugger and reloading Slack.
- codetrotter 2y agoHm yeah true. I use the desktop app and sometimes I forget that it’s all Electron and that they also have a web version you can use in the browser as well. Thanks, that should be doable :)
- noman-land 2y agoThe web version is amazing for scripting stuff. I used it to download all the emojis one time, just from the console. So easy to automate just from in there.
- xnx 2y agoSlackdump also has a mode that exports a list of channels. Not sure about category groupings. You could also screenshot/OCR or copy and paste from the browser?
- ndr_ 2y agoSome paid Slack plans allow exports from their platform. Inside the ZIP, there will be an XML file that lists the channels - channels.xml, if I am not mistaken. However, I don‘t know about „categories“ - this could be some client configuration that actually is not part of the export. If it‘s not, I would perhaps take screenshots (overlapping is OK), and feed it to some LLM/VLM for extraction. I am confident that GPT-4o or Claude 3.5 Sonnet will work, but Gemini 1.5 Pro should also work.
- Metacelsus 2y agoWhat a coincidence, I was just looking for a tool to do this.
- robertlagrant 2y ago> On Windows and macOS you may be presented with "Unknown developer" window, this is fine This is fine, or you have installed something bad and are about to give it your Slack credentials, and it's definitely not fine.
- vanous 2y agoYou have full source code available to inspect and modify. Are you from Slack?
- deknos 2y agodid anyone do a quick check, that this does not create data leakage? :D