FreakyWeb but written in FREAK
Unreleased
Web hosting done simple.
A lightweight website hosting tool that lets developers share a single layout across plain HTML websites.
FreakyWeb is a tool that runs a local HTTP server, automatically injecting a shared template.html into every page of your static website. Write your content in plain HTML files — FreakyWeb handles the wrapper so you never repeat your navigation, header, or footer again.
You're free to compile from source.
Your website folder must contain these five files:
my-site/
├── index.html ← Homepage content
├── template.html ← Shared layout/template
├── notFound.html ← A page to show for non-existant paths
├── accessDenied.html ← ***NOT IMPLEMENTED YET***
└── DeniedPaths.txt ← ***NOT IMPLEMENTED YET***
template.html holds everything that wraps every page: your <head> metadata (except <title>), navigation, footer, etc. Place the placeholder <!-- TEMPLATE --> wherever your per-page content should be injected:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<!-- shared styles, scripts, meta tags here -->
</head>
<body>
<nav><!-- your shared nav --></nav>
<!-- TEMPLATE --> <!-- page content is injected here [the template comment is replaced] -->
<footer><!-- your shared footer --></footer>
</body>
</html>Each page file only needs a <head> tag (for its own <title>) and its body content — no <html> or <body> wrappers needed:
<head>
<title>About - My Site</title>
</head>
<h1>About Us</h1>
<p>Welcome to my site!</p>Add file paths (one per line) to DeniedPaths.txt to block those paths from being served to visitors:
/DeniedPaths.txt
/admin/secret.html
/internal/config
Requests to a denied path are redirected to accessDenied.html.
- Run the program in the directory you want to serve.
- Set your desired port number.
- Server running!
FreakyWeb uses Akuma(Freak's HTTP server library) to handle incoming requests. For each .html request it:
- Reads
template.html - Reads the target page file
- Replaces
<!-- TEMPLATE -->in the layout with the page content - Serves the combined result
Non-HTML files (images, CSS, JS, etc.) are served as raw bytes. Missing pages fall back to a not found page with a 404 status code.
The full FREAK source is available in the repository. Contributions are open.
| Role | Credit |
|---|---|
| Code & Art/Media | Akumarin Kukino |
| Publisher | Freak Dev Team |
© 2026 Freak Dev Team — FreakyWeb · All code and art/media by Akumarin Kukino