A lightweight, self-hosted Git server with a clean web interface, built with Go.
Still work in progress forge!
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 ./...