Fura is CLI tool for analysing git repositories.
- Portable ๐ฃ: Fura is a perfect cross-platform tool. Single binary, no dependencies. Just run and it works
- Perfect for experiments ๐ฌ: Perfect match with other languages. Integrate Fura to your script or notebook. Use it to create something great.
- Rich data ๐: Application scans all available branches and resulting data has information about all renames, merges, binary files.
Just download binary for your OS and put it in folder with repo or other place from which you will start it. Binaries are available for MacOC 64 bit , Windows 64bit , Linux 64bit
To use the binary file you must launch terminal and launch it by writing ./fura
(for macos or linux) or fura
(for Windows). In Windows it can be launched without entering the terminal. You can either put binary file to the folder with repository either pass the -r
param with path of repo.
After finishing running data will be saved to json with the name of repository.
You can pass -output
param to change the output file name.
For more info about params look wiki page
The resulting data is in json format. Check our wiki for more info about the data format. After this you can use jupyter notebook and write your code for writing different statistics.
For example you can use code from examples directory to calculate total number of commits,added and removed lines for repo. For example using this basic script on react repo you will get result
You can get this jupither notebook file here
You can build days disctibution charts
Example of this jupither notebook you can find here
Progress window can lag if you change size of terminal after start of the scan. Do not hesitate to report any bugs that you could find.