ELSEIF
Your brief EB
409 stories from 200 feeds 1259 clusters Refreshed 51 minutes ago next pull 20:47

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.

WHY IT MATTERS

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 source

The three things worth knowing

01

Sorcery rebuilds on-disk HTML for repo overview, directory tree, and syntax-highlighted source files on each update.

02

It serves the .git directory directly and uses a read-only git client in JavaScript to render history client-side.

03

It provides a server-side route to fetch specific git objects by ID to reduce roundtrips and bandwidth.

THE CLUSTER

Same story, 1 feed.

ORDERED BY FIRST SEEN
char.lt via Lobsters what if my git host were a static site generator? Open ↗