GyudonMastodon client for CLI.

联合创作 · 2023-09-30 07:18

Gyudon

Mastodon client for CLI.

Setup

Require composer.
Clone or download repository, then run composer install.

$ git clone https://github.com/TomckySan/Gyudon.git
$ cd ./Gyudon
$ composer install

Add the path to environment variable.

Authorization

Login to mastodon instance, and approve this app.

$ gyudon auth

Input mastodon instance url, email and password for login.

Usage

timeline

Retrieving recent posts from timeline:

$ gyudon timeline

You can specify the number of posts to get.

$ gyudon timeline 10

toot

Posting new status:

$ gyudon toot "I want to eat Gyudon."

bt

Reblogging a status:

$ gyudon bt 12345

The number is status id.

fav

Favouriting a status:

$ gyudon fav 12345

The number is status id.

TODO

License

MIT

浏览 5
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报