This commit is contained in:
2025-01-19 04:38:24 +00:00
commit 566badd3da
5 changed files with 732 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
# Twitch Screenshot Organizer
FFZ gives you an option to take screenshots that is saves in downloads. This basically organises them into a folders with subfolders based on the channel.
## Usage
- TO build -> `cargo build --release`
- `twitch-screenshot-organizer <path to downloads>`
- `--watch` to keep it running and watch for new screenshots ( prob set this up as systemd service )
## Systemd Service
- Create this file in `/etc/systemd/system/twitch-screenshot-organizer.service`
```
[Unit]
Description=Daemon to run twitch-screenshot-organizer
[Service]
User=<USERNAME>
Group=<USERNAME>
ExecStart=<PATH TO BINARY> <PATH TO DOWNLOADS> --watch
ExecReload=/bin/kill -s HUP $MAINPID
RestartSec=5
[Install]
WantedBy=multi-user.target
```
- `sudo systemctl enable twitch-screenshot-organizer`
- `sudo systemctl start twitch-screenshot-organizer`
> LULE ik its an overkill for a simple task but this was a quick project so...