2
COPYING
2
COPYING
@@ -1,6 +1,6 @@
|
||||
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
|
||||
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] Login
|
||||
* [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
|
||||
[ISC](COPYING)
|
||||
|
||||
@@ -14,7 +14,7 @@ tasks:
|
||||
build:
|
||||
desc: Build the client
|
||||
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:
|
||||
REVISION:
|
||||
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