A lightweight, self-hosted Git server with a clean web interface, built with Go.
Are you tired of big companies playing with your repositories, by removing them or trading with your data? Want to provide a small and free Git hosting for your community, friends or company? Then Librebucket (/ˈliːbrə ˈbʌkɪt/) for you, we promise that Librebucket will be "independent Free/Libre Software forever"!
- Go 1.22 or later
- Git 2.20 or later
- A operating system (Linux, macOS, Windows, even Raspberry/Orange Pi!)
TODO: add instructions for installation
-
Use the API to create a new repository:
curl -X POST http://localhost:3000/api/v1/git/create \ -H "Content-Type: application/json" \ -d '{"username":"yourusername", "reponame":"yourrepo"}'
-
Clone your new repository:
git clone http://localhost:3000/yourusername/yourrepo.git cd yourrepo
-
Make some changes and push:
echo "# My Project" > README.md git add . git commit -m "Initial commit" git push -u origin main
Access the web interface at http://localhost:3000
to browse repositories, view code, and manage your projects.
TODO: do the configuration
go build -o librebucket cmd/librebucket/main.go
go test ./...
This project follows the Google Go Style Guide.
- All repository access is private by default
- HTTPS is recommended for secure communication
- Authentication and authorization features coming soon
Contributions are welcome! Please read our contributing guidelines before submitting pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.