Giter Site home page Giter Site logo

slack-otr's Introduction

Slack OTR

Slack OTR is designed to allow a community to use a free Slack, while also destroying most or all of its message history after a certain point.

This tool will delete all messages and threads in public channels. It will show up as a bot that auto-joins all public channels.

Setup

Slack OTR requires Python 3.7 or higher. The author recommends using pyenv for Python version management.

Install dependencies:

pip install -r requirements.txt

Next, you'll need to create two Slack apps, and generate two tokens:

  1. One workspace token (for reading all public channels/messages).
  2. One user token, tied to an admin (for deleting public messages).

(Documentation for this to-be-written.)

Usage

Once dependences are set up and your tokens are generated, run it with:

./slack-otr

NOTE: For your safety, Slack OTR's code currently will, by default, only sweep a test channel named #otr-bot-testing.

To tell Slack OTR to sweep all channels, comment that line out and uncomment the line above that lists all public channels.

(This is obviously a hack, and will be improved with proper command line flags.)

Attribution

Slack OTR is developed by Eric Mill.

Open source license and contributions

Slack OTR is open source, under the BSD-3 license.

By contributing code to this open source project, you are agreeing to license your contributions under the same BSD-3 license.

slack-otr's People

Contributors

konklone avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.