add autoaupdater, update readme

autoupdater using systemd timer and service.
This commit is contained in:
2026-04-23 23:28:27 -04:00
parent 5956c624e5
commit 1b01af8649
6 changed files with 85 additions and 16 deletions

View File

@@ -1,11 +1,11 @@
# **Kasane Teto in Your Terminal!**
## **Find songs nobody knows exist!**
A small wrapper and custom list for fortune/misfortune that picks a random Teto song of the day from any of almost 28,000 original, finished songs with videos on VocaDB.
A small wrapper and custom list for fortune/misfortune that picks a random Teto song of the day from any of almost 28,000 original, finished songs with videos on VocaDB. Your original fortune command will remain untouched, tetosong just tells it to use a custom directory.
Now with optional Teto speaking in your terminal via ffplay! Just SV2, for now ;)
https://github.com/user-attachments/assets/bc2a9909-d24a-43fa-882a-5e785cda3020
<img src="tetosong.png" width="500">
## **Now With Optional Automatic Updates!**
Disabled by default, opt-in during setup to enable a systemd user service and timer to update the script and song list every Sunday at 5AM UTC. I check for new songs and push new tetofortunes from my server every Sunday at 3AM UTC
## **Dependencies**
@@ -14,7 +14,6 @@ fortune/fortune-mod or misfortune
ffmpeg -optional for speaking Teto
### makefortune.sh
fortune/fortune-mod (for strfile)
@@ -33,9 +32,7 @@ You can get your Teto song of the day by running:
```bash
tetosong
```
You can update the script and fortunes from github using:
You can manually update the script and fortunes from github using:
```bash
tetosong -u
```
Your original fortune command will remain untouched, tetosong just tells it to use a custom directory.