All Topics
All Topics
Technology
Technology
AI
AI
Business
Business
Entertainment
Entertainment
News
News
Programming
Programming
Security
Security
Science
Science
Design
Design
Environment
Environment
Finance
Finance
Crypto
Crypto
Politics
Politics
Sports
Sports
Education
Education
Gaming
Gaming
Art
Art
Music
Music
Health
Health
Books
Books
Food
Food
Travel
Travel
Personal
Personal
Bluesky
Twitter

Building objgit: A git server that stores repositories directly in Tigris object storage

By

Xe Iaso

7h ago· 17 min readenInsight

Summary

The article describes the author's experimental project of building a git server (objgit) that stores repositories directly in Tigris object storage, bypassing traditional disk storage, databases, and even the git binary itself. The author explains how they used the billy filesystem abstraction layer to make a Tigris bucket behave like a filesystem, enabling a shell interpreter and git operations to work seamlessly. The project evolved from porting agent sandboxes to Go, and the author discovered they were using billy far beyond its original intended use case (which was for go-git). The result is a single-binary git server that stores everything in object storage.

Source

Hacker NewsBuilding objgit: A git server that stores repositories directly in Tigris object storagetigrisdata.com

Key quotes

· 3 pulled
What happens if I just point a git server at an object storage bucket?
The whole trick of the project was teaching a Tigris bucket to act enough like a filesystem that a shell interpreter and its tools couldn't tell the difference.
objgit is a single-binary git server that stores repositories directly in Tigris — no disk, no git binary, no database. To my shock and horror, it worked.
Snippet from the RSS feed
objgit is a single-binary git server that stores repositories directly in Tigris — no disk, no git binary, no database. To my shock and horror, it worked.

You might also wanna read

Comments

Sign in to join the conversation.

No comments yet. Be the first.