A SillyTavern extension for automatic chat data retention management.
This extension automatically deletes chats and optionally backups older than a specified number of days, helping you manage storage and maintain data retention policies.
This extension PERMANENTLY deletes expired chats and backups. There is no recovery option once data is deleted. Always maintain external backups of important conversations before enabling this extension.
Software bugs in this extension could potentially delete more data than intended. While care has been taken to prevent this, no software is completely bug-free. Keep external backups of all important data.
- Open SillyTavern
- Navigate to Extensions > Click "Install extension"
- Use the following URL:
https://github.com/Christoph-D/expire-chats
- Navigate to Extensions > Open "Expire chats"
- Set the expiration time in days
- Configure optional settings:
- Expire backups: Also delete expired chat backups
- Auto-expire: Automatically run on page load
Click the "Expire now" button in the extension settings to immediately expire old chats/backups. A preview dialog will show which chats/backups will be deleted, giving you a chance to cancel before any data is removed.
Enable "Auto-expire" in the settings to automatically expire chats/backups on every page load.
- Expires chats after a configurable number of days since their last message
- Supports both character chat and group chat deletion
- Optional backup deletion
- Optionally runs in the background without user interaction
- The currently open chat is never deleted
This extension is licensed under the AGPL-3.0 license.