1
0
hugo/content/app/mstdn.md
2024-04-23 22:21:26 +09:00

906 B

+++ date = "2019-12-01" title = "mstdn.zsh" description = "| zshで書かれたmastodon client" +++

mstdn.zshは、zshで書かれたコマンドツールです。mastodon apiをサポートします。

Download

curljq, pecoなどが必要になる場合があります。

使い方は、json/user.jsonにアプリ認証情報を置いて、$ mstdn.zsh aコマンドを実行します。

$ git clone https://github.com/syui/mstdn.zsh
$ cd mstdn.zsh
$ chmod +x mstdn.zsh
$ ./mstdn.zsh a
{
	"host" : "xxxx",
	"app" : "xxxx",
	"select_command" : "fzf"
}
# 投稿
$ mstdn.zsh p -f "test."

# タイムライン
$ mstdn.zsh t

# ユーザー情報
$ mstdn.zsh s