You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, the easiest way to set up a mirror is using Mach's Wrench. This works pretty well, but is written in Go and is part of a larger project. It'd be nice to have a more minimal solution.
So, we should make one! It should expose an HTTP server locally, take requests for files, and cache them in a given directory, with some reasonable eviction policy. SSL is out of scope for this project; a local web server can be used to rproxy to the mirror software instead.
I reckon this should be pretty easily doable in a couple of hundred lines of Zig.
The text was updated successfully, but these errors were encountered:
Right now, the easiest way to set up a mirror is using Mach's Wrench. This works pretty well, but is written in Go and is part of a larger project. It'd be nice to have a more minimal solution.
So, we should make one! It should expose an HTTP server locally, take requests for files, and cache them in a given directory, with some reasonable eviction policy. SSL is out of scope for this project; a local web server can be used to rproxy to the mirror software instead.
I reckon this should be pretty easily doable in a couple of hundred lines of Zig.
The text was updated successfully, but these errors were encountered: