Overview
PocketWeb turns a folder into a website while it runs. There is no build step: change a file, reload the page, and the change is there.
This tab is the file 10 Overview.md.
Who is it for
Anyone who wants to publish a handful of pages without learning a content management system: a club, a family, a small business, a project's documentation.
Content files
Every ordinary file in a folder is a part of its page. Text, Markdown and HTML files become text; pictures, sound and video get a player or a caption; anything else becomes a download link.
File names
A name is read as number, date, indentation, title and extension, all optional; a name with no title gets no heading. 20 2026-01-05 -- Notes.md is item 20, dated 5 January 2026, a third-level heading titled "Notes".
Grouping
Files with the same name apart from the extension form one item: Trip.md and Trip.jpg show the text with its picture. The Split page is built that way.
Control files
Files whose names start with a dot are not shown. They control the page instead:
.header,.footerand.asidehold HTML around the content, and are inherited by the folders below..cssand.jsadd styles and scripts to the folder and the folders below..blogshows dated items newest first, a few at a time..reverseshows dated items without a number newest first, all on one page.- Most other dot-files, such as
.cards, become a class on the page. Names PocketWeb uses itself, such as.lang,.homeand.hidden, do not.
Layouts
The built-in layouts are accordion, tabs, cards, carousel, slider, split, gallery and collage, plus .hero for a banner and .autoplay for a slider or carousel that moves by itself. Each one has a page in the menu.
Without JavaScript
Every layout still reads as a plain document when scripting is off, and the accordion and tabs panels still open and close.
Running it
pocketweb -r demo
PocketWeb serves the folder over HTTP and HTTPS. Run pocketweb --help for the port, title, language, certificate and Let's Encrypt options.