Code Monkey home page Code Monkey logo

fie's 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

fie's People

Contributors

doumanash avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

afidegnum icodein

fie's Issues

GUI

Would be nice to have GUI front-end

Possible front-ends:

  • GTK need to investigate how friendly it is with MSVC toolchain
  • rust-pushrod looks like a decent Rust only solution, but usability is unclear?

Gab.ai Image upload API broken

Seems like they changed something minor but lack of it breaks server so fie gets 500 :(
Needs investigation... stupid gab

Parler support

Points:

  • Authorization is via cookie
  • Posting can be done via POST with correct json (Sniff response formats via dev tools)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.