Settings

Theme

Spin up a GitHub clone locally with one command

jeremy.magland.org

2 points by jmagland · 1 comment

Reader

1 thread
jmaglandOP

Spin up your own local GitHub clone locally using one command:

npx @magland/mochi serve path/to/vault

You can also deploy to the cloud (fly.io) with one command:

npx @magland/mochi deploy fly vault5 (after logging in to fly CLI)

It doesn't scale to a ton of users, but it's great for hosting a bunch of personal projects without needing to litter GitHub. And you have complete control of your data. It's just in a directory with bare git repos (no database).

Check out my personal mochi vault:

https://vault1.magland.org/

It supports pull requests, issues, etc.

And importantly... gh-style workflows! Including deploying to sites (like gh pages).

Here's the source: https://github.com/magland/mochiforge

How's it different from other recent efforts? I'm not trying to make a scalable solution for thousands of users, as explained here:

https://jeremy.magland.org/posts/2026-09-30-embracing-the-no...

I hope it's useful. Enjoy!

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection