DEV TOOLS Signal 125
Sorcery rebuilds git repos as static HTML, rendering history client-side
Illustration only Photo by Zach Reiner on Unsplash
A new tool called sorcery serves git repositories as static HTML, with client-side rendering for history views, to resist scraper load on small servers.
For engineers running personal git forges on small machines, sorcery offers a way to avoid the resource exhaustion of full-featured forges like Forgejo. By pre-rendering HTML and serving the .git directory directly, it reduces server compute per request. However, it sacrifices static historical views and requires a JavaScript client for rich history browsing.
Written by elseif from the cluster below · every claim links back to a sourceThe three things worth knowing
Sorcery rebuilds on-disk HTML for repo overview, directory tree, and syntax-highlighted source files on each update.
It serves the .git directory directly and uses a read-only git client in JavaScript to render history client-side.
It provides a server-side route to fetch specific git objects by ID to reduce roundtrips and bandwidth.
THE CLUSTER