.config
.gitea/workflows
.gitignore.gitmodules.ssh
Cargo.tomlDockerfileMakefile.tomlREADME.mdcompose.ymldocs
icon
k8s
src
ascii.rsbot.rsdata.rsdescribe.rsfollow.rsfollowers.rsfollows.rsimg.rsimg_reply.rsimg_upload.rslike.rsmain.rsmention.rsnotify.rsnotify_read.rsopenai.rspost.rspost_link.rsprofile.rsrefresh.rsreply.rsreply_link.rsreply_og.rsrepost.rssession.rstimeline_author.rstoken.rs
test
39
test/ai.zsh
Executable file
39
test/ai.zsh
Executable file
@ -0,0 +1,39 @@
|
||||
#!/bin/zsh
|
||||
|
||||
# https://www.docs.bsky.app/docs/get-started
|
||||
|
||||
case $OSTYPE in
|
||||
darwin*)
|
||||
alias date="/opt/homebrew/bin/gdate"
|
||||
;;
|
||||
esac
|
||||
d=${0:a:h}
|
||||
|
||||
source $d/env.zsh
|
||||
source $d/refresh.zsh
|
||||
source $d/token.zsh
|
||||
source $d/reply.zsh
|
||||
source $d/notify.zsh
|
||||
source $d/notify_cid.zsh
|
||||
source $d/cron.zsh
|
||||
|
||||
case $1 in
|
||||
refresh|r)
|
||||
refresh
|
||||
;;
|
||||
token|t)
|
||||
token
|
||||
;;
|
||||
reply|rep)
|
||||
reply
|
||||
;;
|
||||
notify|n)
|
||||
notify
|
||||
;;
|
||||
cron|c)
|
||||
cron
|
||||
;;
|
||||
cid)
|
||||
cid
|
||||
;;
|
||||
esac
|
Reference in New Issue
Block a user