Skip to content

DATA-DOG/file-monster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

file-monster

Slack bot for cleaning up old files. This is great for free slack teams, where storage is an issue.

By setting up this bot, users will be able to remove their shared files without any manual clicking.

Server requirements

MySQL database (for storing access tokens)

Setup

  1. Create slack app
  2. Create slack incoming webhook
  3. Copy config.yml.dist to config.yml and fill in required fields
  4. Compile project: go build
  5. Run app: ./file-monster config.yml
  6. Create slash command and point it to server, with port defined in config file

Usage

Type your command in slack, e.g. /flushme to clean old (1 month or older) files

note: first time each user will have to follow auth instuctions

or

add extra parameter (/flushme all) to clean all public files, which are 1 month or older

About

Slack bot for cleaning up old files, written in GO

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages