Repository navigation
Releases
Releases · colboycolinmeeks/kooperserver
Kooper Server 1.0.0 — First Release
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.
sserves the folder you're in;enteron a file serves its folder and opens the file.xstops serving;bopens the served site;oopens 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-reloadsends 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.
Lshows the last 500 requests, newest first;fshows only failures.--serveserves without the UI and logs each request to stdout.
Sharing
--host 0.0.0.0shares the site on your network and shows its address there.ycopies the URL under the cursor;Ycopies its network address.--allow-hostlets 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,*.localhostand 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;ashows hidden files.--spaserves the index page for any page URL without a file, for single-page apps.- Two themes:
blue, andbwwith no colours, readable on any terminal colour scheme. cswitches theme;--themeor $KS_THEME chooses the one to start with.- Runs on macOS, Linux, Windows and FreeBSD.
wshows these notes,?shows help and the version;ks --versionon the command line.