2
COPYING
2
COPYING
@@ -1,6 +1,6 @@
|
|||||||
ISC License (ISCL)
|
ISC License (ISCL)
|
||||||
|
|
||||||
Copyright (C) 2025 Shin'ya Minazuki <shinyoukai@laidback.moe>
|
Copyright (C) 2025-2026 Shin'ya Minazuki <shinyoukai@laidback.moe>
|
||||||
|
|
||||||
Permission to use, copy, modify, and/or distribute this software for any
|
Permission to use, copy, modify, and/or distribute this software for any
|
||||||
purpose with or without fee is hereby granted, provided that the above
|
purpose with or without fee is hereby granted, provided that the above
|
||||||
|
|||||||
@@ -5,7 +5,10 @@ A [yarn.social](https://yarn.social) client from the future
|
|||||||
* [X] Follow/Unfollow
|
* [X] Follow/Unfollow
|
||||||
* [X] Login
|
* [X] Login
|
||||||
* [X] Posting
|
* [X] Posting
|
||||||
* [ ] Timeline
|
* [ ] Timeline (there's only [this shell script](mikuru-timeline) at the moment)
|
||||||
|
|
||||||
|
## Homepage
|
||||||
|
* [mikuru@projects.laidback.moe](https://projects.laidback.moe/mikuru/)
|
||||||
|
|
||||||
## License
|
## License
|
||||||
[ISC](COPYING)
|
[ISC](COPYING)
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ tasks:
|
|||||||
build:
|
build:
|
||||||
desc: Build the client
|
desc: Build the client
|
||||||
cmds:
|
cmds:
|
||||||
- $GO build -ldflags='-s -w -X "{{.IMPORT}}.Version={{.VERSION}}" -X "{{.IMPORT}}.Revision={{.REVISION}}"' -v
|
- $GO build -ldflags='-s -w -X "{{.IMPORT}}.Version={{.VERSION}}" -X "{{.IMPORT}}.Revision={{.REVISION}}"' -buildvcs=false -buildmode=exe -v
|
||||||
vars:
|
vars:
|
||||||
REVISION:
|
REVISION:
|
||||||
sh: git rev-list --all | wc -l | tr -d ' '
|
sh: git rev-list --all | wc -l | tr -d ' '
|
||||||
|
|||||||
9
mikuru-timeline
Executable file
9
mikuru-timeline
Executable 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
|
||||||
|
|
||||||
Reference in New Issue
Block a user