Skip to content

lanstash

A game download cache for your LAN. Download a game once; every other PC on the network gets it at LAN speed, from your own storage. Steam, Battle.net, Epic Games and Riot.

Get started See the guide

The overview: what lanstash served today, from its stash instead of the internet

What it does

  • Caches game downloads


    PCs reach lanstash through your DNS, which points the platforms' download hosts at it. What one PC downloads, the next gets from the stash.

  • Built for network storage


    Small chunks are packed into large segment files, large archives go to sparse files, and stored bodies are sent with sendfile. Every stored byte carries a checksum.

  • Prefills ahead of time


    Put a game's current build into the stash before anyone plays it, keep held games up to date on their own, and fetch another platform's or language's install when a Mac or another locale joins the LAN.

  • Knows every build


    For each game, whether the stash holds its current build, how much of it, and which old files no current build needs any more.

  • Shows what happens


    Throughput, downloads, requests, storage and connections, live and over time; who downloaded what; a history of every update.

  • Accounts and privacy


    Admins, viewers and players; invite links; hidden games, and players' private games that others see only as "A hidden game".

A look around

Battle.net's games in the stash, each with its build and size

World of Warcraft's page: its builds and the other products of its directory

Steam's prefill: the last job, what waits, and the past prefills

Battle.net's library: games not in the stash yet, ready to prefill

The palette: any game or page, by typing

The web UI follows the system's light or dark theme

In one minute

sha256sum -c lanstash-<version>-linux-x86_64.tar.gz.sha256
tar -xzf lanstash-<version>-linux-x86_64.tar.gz && cd lanstash-<version>-linux-x86_64
sudo ./lanstash install --config lanstash.conf --web web
sudo lanstash user add admin --admin
lanstash doctor

Then point your DNS at it (DNS) and open the web UI on its admin port. The known limits say what it does not do yet.