
Description
Showing a folder to a colleague or another device usually means a USB stick or waiting on a cloud upload. Spin up python -m http.server instead and you get a bare list of file names: no Markdown rendering, and you don't know what an image is until you click it.
Peekd is a lightweight web file server written in Go. Run peekd in the folder you want to share and any device on your network can browse it in a browser, with files previewed right in the page: Markdown renders as a formatted document (Mermaid diagrams included), and code, CSV, images, audio, video and PDF open directly, while ZIP and TAR archives list their contents.
It's a single binary with automatic dark mode. If the port is taken it moves to the next one, and two environment variables add password protection. Free and open source (MIT).
Rich previews: Markdown, HTML, XML, code, text, CSV/TSV, images, audio, video and PDF in the browser, with an adjustable preview size limit.
Archive listings: see what's inside ZIP, TAR and TAR.GZ files without extracting them.
Folder download: click "↓ ZIP" on any directory to download it as an archive built on the fly, keeping structure and permissions.
Resumable downloads: HTTP range requests and sendfile, so interrupted large downloads pick up where they left off.
Password protection: set PEEKD_AUTH_USER and PEEKD_AUTH_PASSWORD to enable HTTP Basic Auth.
Quick filtering: directory pages have a filter box and a copy-path button for finding files fast.
Peekd is a lightweight web file server written in Go. Run peekd in the folder you want to share and any device on your network can browse it in a browser, with files previewed right in the page: Markdown renders as a formatted document (Mermaid diagrams included), and code, CSV, images, audio, video and PDF open directly, while ZIP and TAR archives list their contents.
It's a single binary with automatic dark mode. If the port is taken it moves to the next one, and two environment variables add password protection. Free and open source (MIT).
Features
Rich previews: Markdown, HTML, XML, code, text, CSV/TSV, images, audio, video and PDF in the browser, with an adjustable preview size limit.
Archive listings: see what's inside ZIP, TAR and TAR.GZ files without extracting them.
Folder download: click "↓ ZIP" on any directory to download it as an archive built on the fly, keeping structure and permissions.
Resumable downloads: HTTP range requests and sendfile, so interrupted large downloads pick up where they left off.
Password protection: set PEEKD_AUTH_USER and PEEKD_AUTH_PASSWORD to enable HTTP Basic Auth.
Quick filtering: directory pages have a filter box and a copy-path button for finding files fast.

