• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

DoumanAsh/fie: Small and cute social media CLI.

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

DoumanAsh/fie

开源软件地址(OpenSource Url):

https://github.com/DoumanAsh/fie

开源编程语言(OpenSource Language):

Rust 100.0%

开源软件介绍(OpenSource Introduction):

Fie

Build status Build Status Crates.io Dependency status

Small and cute social media CLI.

Icon

Installation

Download links

Cargo

In order to install CLI utility you need to enable feature cli In addition to that following environment variables are used optionally:

  • Twitter Consumer Token (requires both to present for it to be used):
    • FIE_TWITTER_CONSUMER_KEY - Builtin Consumer key for twitter API;
    • FIE_TWITTER_CONSUMER_SECRET - Builtin Consumer secret for twitter API;

Supported social platforms:

  • Twitter. Using official API.
  • Gab. Using official mastodon like API (Note that it is not clear if their fork will change API or not).
  • Mastodon. Using official API.
  • Minds. Using semi-official API.

Configuration

Configuration file is placed in the same directory as executable.

See documentation on how to setup social medias

Use example as reference.

Usage

Small and cute social media utility.

USAGE:
    fie.exe [FLAGS] <SUBCOMMAND>

FLAGS:
    -g, --gab         Use gab.ai. By default all social medias are used unless flag is specified.
    -h, --help        Prints help information
    -m, --mastodon    Use mastodon. By default all social medias are used unless flag is specified.
        --minds       Use minds. By default all social medias are used unless flag is specified.
    -t, --twitter     Use twitter. By default all social medias are used unless flag is specified.
    -V, --version     Prints version information

SUBCOMMANDS:
    auth     Allows to perform authorization with social media.
    batch    Load CLI arguments from file and runs it.
    env      Prints information about app environment.
    help     Prints this message or the help of the given subcommand(s)
    post     Creates new post.

post

Uses to post content on social platforms. Using -t you can specify hashtags which will be appended as last line of content.

Creates new post.

USAGE:
    fie.exe post [FLAGS] [OPTIONS] <message>

FLAGS:
    -h, --help    Prints help information
    -n, --nsfw    Whether post is NSFW or not.

OPTIONS:
    -i, --image <images>...    Adds image to post. Normally up to 4.
    -t, --tag <tags>...        Adds hashtag at the last line of post.

ARGS:
    <message>    Message content

batch

Load CLI arguments from file and runs it.

USAGE:
    fie.exe batch <file>

FLAGS:
    -h, --help    Prints help information

ARGS:
    <file>    TOML file that describes CLI arguments.

File examples:

env

Prints information about app's environment.

USAGE:
    fie.exe env <SUBCOMMAND>

FLAGS:
    -h, --help    Prints help information

SUBCOMMANDS:
    config    Prints path to config file.
    help      Prints this message or the help of the given subcommand(s)

auth

Allows to perform user authorization using social media API. Currently available authorizations:

  • Twitter PIN based auth. Interactive dialogue will prompt you to follow link and authorize fie.
USAGE:
    fie.exe auth <SUBCOMMAND>

FLAGS:
    -h, --help    Prints help information

SUBCOMMANDS:
    help       Prints this message or the help of the given subcommand(s)
    twitter    Performs authorization with twitter



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap