Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
2026-01-03 17:11:32 -03:00
parent 613576f438
commit 375c3e9cb5
4 changed files with 15 additions and 3 deletions

9
mikuru-timeline Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/sh
# That will have to do for now
! [ command -v curl ] && exit 1
! [ command -v jq ] && exit 1
curl -H "Accept: application/json" -H "Content-Type: application/json" \
-H "User-Agent: mikuru/timeline.sh" -H "Token: $(sed 's/token = //' ~/.config/mikuru.ini | tail -n1)" \
-d '{"page": 1}' $(sed -e 's/host = //' -e "/mikuru/d" -e "/token/d" ~/.config/mikuru.ini)/api/v1/timeline | jq | less