gfas
GitHub Following Auto Synchronization
Overview
gfas synchronizes your GitHub followings to your followers. It runs on CLI and can be
scheduled automatically with GitHub Actions.
Usage
GitHub Actions
- Fork this repository.
- Create a personal access token with the
user:followpermission. - Create an secret named
TOKENin the repository containing the token value. - You are ready to follow back automatically!
- (Optional) Modify the scheduled time in
.github/workflow/sync.yml. By default, it runs at 0 minutes past the hour every 6 hours. - (Optional) Maybe you want to trigger the
Syncworkflow manually to see the effect.
CLI
API
The gfas-api crate exports some GitHub API bindings which can be used to build your application.
use GitHub;
let github = with_token?;
github.follow.await?;
Development
Building from Source
Pre-commit Hooks
Use pre-commit to manage Git pre-commit hooks:
Coverage
Use cargo-tarpaulin to generate coverage results:
License
This project is licensed under the Unlicense.