P

StreamNest

Self-hosted video streaming

A Go server that shares a folder of videos over HTTP, with seeking and subtitle discovery.

StreamNest streams the videos on your own machine to any browser or player on your network. Point it at a folder and it serves a browsable library and the files themselves. This is the Phase 1 scaffold: the Go server works today, and the client, auth and remote access are planned in order.

What it does

  • HTTP range-request serving through http.ServeContent, so seeking works straight away in a browser <video> tag or VLC.
  • A /library endpoint that walks the shared folder and returns it as a JSON tree.
  • Subtitle files are discovered automatically and attached to their matching video, not listed as separate entries.
  • Shared root set with one environment variable, STREAMNEST_ROOT.
  • Code split into internal packages for the folder walker and the streaming handler.
  • Planned next: a React client, SQLite for users and folder permissions, JWT auth, then a WireGuard/tsnet spike for remote access.

How it works

The entrypoint wires up two routes. /library walks the shared folder, pairs subtitles with their videos and returns a JSON tree. /stream/<path> serves the file with Range header support, so playback can start and seek without downloading the whole video. There is no auth yet, so it is meant for local testing on a LAN.