Skip to content

Kooper Server 1.0.0 — First Release

Latest

Choose a tag to compare

@github-actions github-actions released this 05 Dec 16:41

Kooper Server 1.0.0 — First Release (2026-12-05)

The first public release of Kooper Server (ks).

Browse, then serve

  • Browse folders anywhere on disk; browsing never changes what is served.
  • s serves the folder you're in; enter on a file serves its folder and opens the file.
  • x stops serving; b opens the served site; o opens what's under the cursor.
  • A folder's URL serves its index.html or index.htm, or else lists its files.

Live reload

  • Save a file the page loaded and the page reloads.
  • Save a stylesheet and it's swapped in place, keeping your scroll position.
  • Only the files the browser loaded are checked, so big folders cost nothing.
  • --no-reload sends pages exactly as they are on disk.

Requests

  • Failed requests stay on the status line until you press a key, and the title counts them.
  • L shows the last 500 requests, newest first; f shows only failures.
  • --serve serves without the UI and logs each request to stdout.

Sharing

  • --host 0.0.0.0 shares the site on your network and shows its address there.
  • y copies the URL under the cursor; Y copies its network address.
  • --allow-host lets tunnels such as ngrok through the host-name check.

Safe by default

  • Listens on 127.0.0.1 only, and serves nothing until you choose a folder.
  • Blocks DNS rebinding: answers only to localhost, *.localhost and IP addresses.
  • Hidden files aren't listed or served, and symlinks can't lead out of the folder.
  • Serving your home folder or the top of a disk takes the key pressed twice.

Also

  • / filters the list by name; ~ goes home; a shows hidden files.
  • --spa serves the index page for any page URL without a file, for single-page apps.
  • Two themes: blue, and bw with no colours, readable on any terminal colour scheme.
  • c switches theme; --theme or $KS_THEME chooses the one to start with.
  • Runs on macOS, Linux, Windows and FreeBSD.
  • w shows these notes, ? shows help and the version; ks --version on the command line.