Giter Club home page Giter Club logo

slack-backup's Introduction

slack-backup

Slack is great, it would be better if you can easily back-up all Slack chat history into your secured host automatically and help browsing history easily .

Preinstall Requiments:

  • python 2.7
  • virtualenv

If you want to test locally, you should install all modules in requirements.txt into your virtualenv.

You can use a free hosted service here:

http://slackbk.herokuapp.com

Installation in Heroku

Clone the source code into your local machine

git clone [email protected]:suoinguon/slack-backup.git

Install heroku toolbelt

https://toolbelt.heroku.com

Create an heroku app

cd slack-backup

heroku create    

Push source code into heroku

git push heroku master    

Create database schema

heroku run python manage.py migrate

Get your Slack client_id and client_secret

https://api.slack.com/applications

Set heroku environment variables with your client_id & client_secret

heroku config:set SLACK_CLIENT_ID=[your_client_id]    

heroku config:set SLACK_CLIENT_SECRET=[your_client_secret]    

Add Heroku Sendgrid and Scheduler

heroku addons:add sendgrid:starter    

heroku addons:add scheduler    

Set cron job for to automatically back-up your slack history

Open the scheduler

heroku addons:open scheduler

https://scheduler.heroku.com/dashboard

Add follow in command into your heroku schedule, set frequency to "Every 10 minutes"

python manage.py parse_channels    

Open and start using it

heroku open    

Don't know heroku & don't have time? I can help you to deploy.

hong (at) vietnamdevelopers.com    

slack-backup's People

Contributors

harrypotterismyname avatar simonv3 avatar

Watchers

Juan Salcedo 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.