Weighthouse: a self-hosted library for managing Hugging Face models

Hey folks, I wanted to share a project I’ve been working on called Weighthouse.

A while back I started to hit my mental limit when it came to managing my local model collection by hand. I found and started using HuggingHack to manage them. I liked it, but my setup had grown beyond a single storage location, and I wanted it to do more than download and archive models.

I wanted it to answer questions like: which revision did I actually download? Are all the files still there? What changed upstream since I downloaded my copy? How do I move a model between storage locations without managing everything by hand?

So I forked HuggingHack, started extending it for my own environment, and eventually renamed the project Weighthouse.

Weighthouse is a self-hosted model library. It manages Hugging Face repositories on storage you control, with a web interface for people and an MCP server and API for agents.

A few of the things it does:

  • Managed downloads: Download complete repositories or select individual files, including specific GGUF quants. Background workers retry transient failures and preserve completed files across restarts. Xet is available as an option.
  • Revision tracking: Record pinned revisions and selected files in manifests, check local copies for missing files or unexpected size changes, and review upstream differences before choosing what to update.
  • Storage management: Index models already on disk, manage multiple local or mounted network storage locations, and move managed models between them. There’s also an optional S3-compatible backend.
  • Agent access: Issue scoped keys so agents can search Hugging Face, inspect the library, queue downloads, verify copies, and move models through MCP or the API. Requests are logged.

Updates aren’t automatic, and files removed upstream aren’t silently deleted from local storage.

The default installation runs in one container with SQLite, with PostgreSQL available if you prefer an external database. It’s MIT licensed.

I’ve been using it to manage my own collection, but I’d be interested in how other people handle model revisions and storage across multiple machines or storage pools. I’m particularly interested in workflows I’ve missed.

Project: https://weighthouse.ai

Source: https://github.com/weighthouse/weighthouse

And a big thanks to tyedalwaves for releasing HuggingHack in the first place. This project wouldn’t exist without that starting point. (And my apologies for not linking directly to HuggingHack or tyedalwaves, as a new user here I’m limited to 2 links in a post).

Thanks for sharing this. The revision tracking part stood out to me, because that is the part I usually lose track of first: it is easy to remember which model was downloaded, and much harder to remember which revision and which files were actually kept.

One question from the workflow you described: when models are already on disk from earlier downloads, does indexing them create a manifest from what is present, or does it need the files to be re-downloaded through Weighthouse to record the pinned revision? That distinction matters when storage is tight or when a model was fetched a while ago and the upstream files have since changed.

The choice not to delete files silently when they disappear upstream also seems sensible for a local library. It would be helpful to know how a verification run reports that case, so a user can decide whether to keep an older file deliberately or replace it. Thanks again for putting this together and for crediting the earlier project it builds on.

That’s a good question, about how Weighthouse deals with models already on disk. Right now, it indexes them into the library, but it doesn’t build a manifest for them. As you suspected, you’d need to re-download the file through Weighthouse in order to build the manifest and pin revisions.

Not having a manifest means Weighthouse doesn’t watch it for upstream changes; Weighthouse doesn’t really “know” what model it is when it’s imported this way.

Now, that being said, I’m working on ideas for the next rev to index and “manage” existing model files. I have about 2TB of existing files myself from my pre-Weighthouse days of model hoarding that I want to have under management, so I’m definitely motivated to find a good answer that minimizes redownloading.

You may not need the re-download to build that first manifest: for files already on disk, hash each one locally and compare those hashes and sizes against the file metadata Hugging Face serves for each candidate revision — the metadata is tiny, and a file whose hash matches a revision’s entry can be pinned to that revision with real confidence, while anything unmatched stays honestly marked unknown rather than assumed. Start with your own 2TB as the test: report what share of files pin cleanly to a single revision, what share match several, and what share match none — those three numbers tell you whether reconstruction is the main path or just a helpful first pass, before any weights move.