file-monster

command module
v0.0.0-...-e417fa8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2017 License: MIT Imports: 13 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL