Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Fmstrat/lpp
Lemmy Post Purger (LPP)
https://github.com/Fmstrat/lpp
Last synced: about 2 months ago
JSON representation
Lemmy Post Purger (LPP)
- Host: GitHub
- URL: https://github.com/Fmstrat/lpp
- Owner: Fmstrat
- Created: 2023-06-25T02:43:25.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-14T14:41:30.000Z (4 months ago)
- Last Synced: 2024-11-11T22:15:08.627Z (2 months ago)
- Language: JavaScript
- Size: 38.1 KB
- Stars: 20
- Watchers: 2
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-lemmy - lpp - activity/y/Fmstrat/lpp) (Projects / Tools)
- awesome-starred - Fmstrat/lpp - Lemmy Post Purger (LPP) (JavaScript)
- awesome-starred - Fmstrat/lpp - Lemmy Post Purger (LPP) (JavaScript)
README
# Lemmy Post Purger (LPP)
Instances can grow fast, and that can be a problem if you have limited disk space. If you don't mind losing history that your users have not interacted with, LPP can help. It will purge posts/media older than a specified time if they have not been posted, marked read, voted on, commented on, had comments voted on, or saved by users on your instance.
Pict-rs processing is optional. If there is concern that Lemmy is not purging from Pict-rs, or that Pict-rs is not removing files from the file system, then this extra processing will ensure that occurs. Supplying `PICTRS_RM_OLDER_THAN_DAYS` along with a URL and server admin token will run a purge command directly against Pict-rs for media that falls within the above criteria of no users on your instance interacting with them. In addition, supplying a `PICTRS_FOLDER` will also scan the folder for images that were not properly removed from the file system during the purge and force remove them.
## Documentation
Latest documentation available at: [https://nowsci.com/lemmy/lpp/](https://nowsci.com/lemmy/lpp/)