Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lepisma/sweep

Sweep personal messages from Slack DMs (including deactivated), groups, and channels
https://github.com/lepisma/sweep

deletor slack

Last synced: 14 days ago
JSON representation

Sweep personal messages from Slack DMs (including deactivated), groups, and channels

Awesome Lists containing this project

README

        

#+TITLE: sweep

[[https://img.shields.io/github/v/tag/lepisma/sweep.svg]] [[https://img.shields.io/github/actions/workflow/status/lepisma/sweep/rust.yml.svg]]

/Sweep/ personal messages from Slack DMs (including deactivated), groups, and
channels. I am using this repository to learn Rust so the code will be in a bad
state.

To use, you will need to create a Slack app with the following permissions on a
/user key/:

- ~channels:history~
- ~groups:history~
- ~im:history~
- ~mpim:history~
- ~chat:write~
- ~chat:write:user~
- ~chat:write:bot~

Then do the following:

#+begin_src shell
# User ID is to filter your messages. Conversation ID is the ID of the DM,
# group, or channel to clean up.
sweep
#+end_src

As of now Slack's API have time based rate limits of a form where concurrent
requests don't help, so sweep does sequential deletions.