Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

FDUCSLG/slack-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slack-backend

Backup Slack channel messages and save as json.

How to use

  1. install an app to your workspace and get the token
  2. give the app enough OAuth scope (see https://api.slack.com)
  • channels:join: required by conversations.join
  1. invite the app to all channels (/invite @yourappname)
  2. use the cli of this program
Examples
yarn cli -t xoxb-1316038385333-1913162831956-h26hXK6WJ7g3UuXuTF2GVIqp -s

Explanation: You may use the cli directly by node cli.js or use npm npm run cli .... -t means token for the app, -s means start. Then the program will start to get data and save them to the data folder

TODOS

  • write cli program
  • install the app by admin
  • fix message ts issue (how to calculate)
  • pagination and timed backup for data
  • filter data for frontend

Usage

When creating a slack app, those scopes are needed: channels:join and all history scope.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published