Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/doumanash/fie
Small and cute social media CLI.
https://github.com/doumanash/fie
gab mastodon minds twitter
Last synced: 2 months ago
JSON representation
Small and cute social media CLI.
- Host: GitHub
- URL: https://github.com/doumanash/fie
- Owner: DoumanAsh
- License: other
- Created: 2017-10-16T07:45:00.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-08-05T07:59:00.000Z (over 4 years ago)
- Last Synced: 2024-05-02T00:10:02.139Z (8 months ago)
- Topics: gab, mastodon, minds, twitter
- Language: Rust
- Homepage:
- Size: 237 KB
- Stars: 25
- Watchers: 4
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fie
[![Build status](https://ci.appveyor.com/api/projects/status/oc937oppd38x1y4y/branch/master?svg=true)](https://ci.appveyor.com/project/DoumanAsh/fie/branch/master)
[![Build Status](https://travis-ci.org/DoumanAsh/fie.svg?branch=master)](https://travis-ci.org/DoumanAsh/fie)
[![Crates.io](https://img.shields.io/crates/v/fie.svg)](https://crates.io/crates/fie)
[![Dependency status](https://deps.rs/crate/fie/0.16.3/status.svg)](https://deps.rs/crate/fie)Small and cute social media CLI.
![Icon](icon.jpg)
## Installation
### Download links
* Windows [64bit](https://github.com/DoumanAsh/fie/releases/download/0.16.3/fie-0.16.3-x86_64-pc-windows-msvc.zip)
* Linux [64bit](https://github.com/DoumanAsh/fie/releases/download/0.16.3/fie-0.16.3-x86_64-unknown-linux-gnu.zip)
* OSX [64bit](https://github.com/DoumanAsh/fie/releases/download/0.16.3/fie-0.16.3-x86_64-apple-darwin.zip)### 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](docs/configuration.md) on how to setup social medias
Use [example](fie.toml) as reference.
## Usage
```
Small and cute social media utility.USAGE:
fie.exe [FLAGS]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 informationSUBCOMMANDS:
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]FLAGS:
-h, --help Prints help information
-n, --nsfw Whether post is NSFW or not.OPTIONS:
-i, --image ... Adds image to post. Normally up to 4.
-t, --tag ... Adds hashtag at the last line of post.ARGS:
Message content
```### batch
Load CLI arguments from file and runs it.
```
USAGE:
fie.exe batchFLAGS:
-h, --help Prints help informationARGS:
TOML file that describes CLI arguments.
```File examples:
* [Post](fie_post.toml)### env
Prints information about app's environment.
```
USAGE:
fie.exe envFLAGS:
-h, --help Prints help informationSUBCOMMANDS:
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 authFLAGS:
-h, --help Prints help informationSUBCOMMANDS:
help Prints this message or the help of the given subcommand(s)
twitter Performs authorization with twitter
```