Crates.io | gfas-api |
lib.rs | gfas-api |
version | 0.8.12 |
source | src |
created_at | 2024-08-23 10:37:09.092119 |
updated_at | 2024-11-11 00:42:23.072195 |
description | Sync GitHub followings to followers |
homepage | https://github.com/Resonaa/gfas |
repository | https://github.com/Resonaa/gfas |
max_upload_size | |
id | 1349015 |
size | 7,323 |
gfas (GitHub Following Auto Synchronization) manipulates your GitHub following list to match your followers, enabling you to follow back and unfollow back automatically. It runs on CLI and can be scheduled with GitHub Actions.
user:follow
permission.TOKEN
in the repository containing the token value.Archives of precompiled binaries for gfas are available for Windows, macOS and Linux. Linux and Windows binaries are static executables. Users of platforms not explicitly mentioned below are advised to download one of these archives.
If you're a Rust programmer, gfas can be installed with cargo
.
Note that the minimum supported version of Rust for gfas is 1.77.0,
although gfas may work with older versions.
$ cargo install gfas
Alternatively, one can use cargo binstall
to install a gfas
binary directly from GitHub:
$ cargo binstall gfas
After installation, run gfas --help
for all commands and options.
The gfas-api crate exports some GitHub API bindings which can be used to build your application.
$ cargo add gfas-api
use gfas_api::GitHub;
let github = GitHub::new(String::from("<TOKEN>"))?;
github.explore("<USER-TO-EXPLORE>", true).await?;
gfas is written in Rust, so you'll need to grab a Rust installation in order to compile it. gfas compiles with Rust 1.77.0 (stable) or newer. In general, gfas tracks the latest stable release of the Rust compiler.
To build gfas:
$ git clone https://github.com/Resonaa/gfas
$ cd gfas
$ cargo build --release
$ ./target/release/gfas --help
gfas is relatively well-tested, including both unit tests and integration tests. To run the full test suite, use:
$ cargo test
from the repository root.
See CONTRIBUTING.md.
This project is licensed under the Unlicense.