| Crates.io | gfas |
| lib.rs | gfas |
| version | 2.0.2 |
| created_at | 2024-07-19 06:42:51.536616+00 |
| updated_at | 2024-08-21 15:52:19.855998+00 |
| description | Sync GitHub followings to followers |
| homepage | https://github.com/jwcub/gfas |
| repository | https://github.com/jwcub/gfas |
| max_upload_size | |
| id | 1308331 |
| size | 53,848 |
gfas synchronizes your GitHub followings to your followers. It runs on CLI and can be
scheduled automatically with GitHub Actions.
user:follow permission.TOKEN in the repository containing the token value..github/workflow/sync.yml. By default, it runs at 0 minutes past the hour every 6 hours.Sync workflow manually to see the effect.$ cargo install gfas
$ gfas --help
Sync GitHub followings to followers
Usage: gfas.exe [OPTIONS] --user <USER> --token <TOKEN>
Options:
-u, --user <USER> Current user
-t, --token <TOKEN> Access token
-v, --verbose... Increase logging verbosity
-q, --quiet... Decrease logging verbosity
-h, --help Print help
-V, --version Print version
This crate also exports some GitHub API bindings which can be used to build your application.
$ cargo add gfas
use gfas::GitHub;
let github = GitHub::with_token("<TOKEN>")?;
github.follow("<USER-TO-FOLLOW>").await?;
Refer to the Documentation for more information.
$ git clone https://github.com/jwcub/gfas.git
$ cd gfas
$ cargo build --release
$ ./target/release/gfas --help
Before pushing your commits, be sure to run through all the checks:
$ cargo clippy
$ cargo fmt
$ cargo build
$ cargo doc --no-deps --lib
This project is licensed under the Unlicense.