This is a Go application that clones a list of repositories provided by the user and then crawls the commits of those repositories without using the GitHub APIs.
- Clone multiple GitHub repositories using SSH.
- Crawl through the commit history of each repository.
- Crawl till specific date in the past.
- Perform these actions in a secure manner using your personal SSH keys.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Go installed on your local machine.
- SSH keys setup on your GitHub account - Instructions.
- Clone the repository:
git clone [email protected]:KaranJagtiani/go-git-cloner.git
- Modify the
config.yaml
file:
- author_email - Provide the email for the author whose commits you want to crawl.
- crawl_x_days_in_past - How many days in the past do you want to crawl.
- repositories - List of repositories that you want to crawl.
- Build the project
go build -o out/go-git-cloner
- Run the project
./out/go-git-cloner
We welcome contributions from the community! If you wish to contribute, please follow these steps:
- Fork the project
- Create your feature branch (git checkout -b feature/AmazingFeature)
- Commit your changes (git commit -m 'Add some AmazingFeature')
- Push to the branch (git push origin feature/AmazingFeature)
- Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.