Skip to content

cy1der/thelounge-plugin-janitor

Repository files navigation

The Lounge Janitor Plugin

NPM Version NPM Downloads

A plugin for The Lounge that cleans up old uploads

Installation

Via the thelounge command line:

thelounge install thelounge-plugin-janitor

Add a deleteUploadsAfter entry in the config.js of your instance representing how long uploads stay on the server before getting deleted in minutes:

"use strict";
module.exports = {
  deleteUploadsAfter: 1440, // 1 day in minutes
  // rest of config...

Restart The Lounge after installation

Usage

The plugin runs every minute in the background, users do not need to do anything.

License

This plugin is licensed under MIT

About

A plugin for The Lounge that cleans up old uploads

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors