FakeHub is a fake Git/GitHub history generator powered by libgit2 and written entirely in Rust🦀. It creates a repository (fakehub_repo by default) and fills it with a completely artificial commit history.
⚠ This project is made as a joke! Use it at your own risk. 😆
cargo install --path .Prebuilt binaries for Windows and Linux are available on the Releases Page.
- Download the latest
.zipfile from the Releases Page. - Extract the contents.
- Run
fakehub.exefrom the extracted folder.
- Download the latest
.tar.gzfile from the Releases Page. - Extract the archive:
tar -xvzf fakehub-x86_64-unknown-linux-gnu.tar.gz
- Navigate to the extracted folder and run:
./fakehub
FakeHub provides multiple options to customize commit generation.
fakehub [OPTIONS]-
-d, --dir <DIRECTORY>
Specifies the directory where the fake Git repository will be created. -
-s, --start <START_DATE>
Defines the start date for commit generation. Must be in the formatDD-MM-YYYY. -
-e, --end <END_DATE>
Specifies the end date for commit generation, also inDD-MM-YYYYformat. -
-b, --back <DAYS_BACK>
Instead of setting explicit start and end dates, this option generates commits for a specified number of days back from the current date. -
-r, --range-start <COMMIT_RANGE_START>
Sets the minimum number of commits to generate per day (default:5). -
-x, --range-end <COMMIT_RANGE_END>
Sets the maximum number of commits per day (default:10). -
-q, --fixed-number <FIXED_NUMBER>
Generates a fixed number of commits per day, overriding--range-startand--range-end(default:5). -
-h, --help
Displays help information. -
-V, --version
Prints the current version of FakeHub.
-
Generate commits from a fixed date range:
fakehub --start 01-01-2023 --end 31-12-2023
-
Generate commits for the last 90 days with a variable range of 3-8 commits per day:
fakehub --back 90 --range-start 3 --range-end 8
-
Generate exactly 10 commits per day for the past 30 days:
fakehub --back 30 --fixed-number 10
This project is released under the MIT License. See the LICENSE file for details.
- If you like this project, star the repo! ⭐
- Open an issue if you find bugs or have suggestions.
Enjoy your fake Git history! 😉