A PHP router that turns folders into websites — and a core you can build upon. Drop files in a directory, and they become pages. No database, no build process.
No routing configuration. No frontmatter. No build step. Save a file, refresh the browser.
Since everything is just files and folders, you can mount your site via SFTP or WebDAV and edit content directly from your local machine — save a file, and the change is live.
## Mix Formats Freely
A single page can combine Markdown, HTML, and PHP. Use each format where it fits best — Markdown for prose, HTML for layout, PHP for dynamic output. Number prefixes control the order:
```
content/services/
├── 10-intro.md # Markdown prose
├── 20-features.html # Structured HTML section
└── 30-pricing.php # Dynamic server-side output
```
All three render as one page at `/services/`.
## Automatic Content Types
FolderWeb detects what kind of page to render based on your folder structure:
```
content/about/ # Only files → renders as a page
content/blog/ # Has subdirectories → renders as a list
```
Date prefixes in folder names are extracted automatically and stripped from URLs:
```
content/blog/2025-03-15-my-post/ → /blog/my-post/ (date: March 15, 2025)
```
Cover images (`cover.jpg`), metadata (`metadata.ini`), and navigation are all convention-based. Almost nothing needs explicit configuration.
## Customize Without Touching the Core
The `custom/` directory overrides `app/default/` for everything — templates, styles, config, languages, and plugins:
```
custom/
├── templates/ # Override any template
├── styles/ # Your CSS
├── plugins/ # Your plugins
├── languages/ # Translation overrides
└── config.ini # Configuration overrides
```
To update FolderWeb, pull the latest `app/`. Your customizations stay untouched.