Skip to content

trikko/websitino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Websitino

A lightweight static file server for local development. Perfect for testing static websites and serving files with minimal setup.

Inspired by aferust.

Features

  • Tiny footprint: Only ~1.5MB, no external dependencies
  • Zero installation: Single portable executable
  • Fast & efficient: Built for performance
  • Cross-platform: Works on Linux, macOS and Windows
  • Secure by default: Hidden files/directories not served unless explicitly enabled
  • Markdown rendering: Add ?format to any .md file URL to render it as HTML

Quick install

To download and install the latest release: curl https://trikko.github.io/websitino/install.sh | bash

Download & build

You can download pre-built binaries for your operating system directly from the download page.

Alternatively, if you have the D programming language compiler installed, you can build and run the project with: dub run websitino

Usage

Run websitino in your project directory to start serving files immediately.

To enable directory listing, use websitino --list-dirs. You can also use websitino --index to automatically serve index.html files when present in directories.

For a complete list of available options, run websitino --help.

Screenshot

When running websitino --list-dirs, directory contents will be displayed:

In browser: Directory listing in browser

In terminal (curl): Directory listing in terminal