Home
Self-hosted FaaS platform, high performance, easy to learn, fast to code
Documentation: https://fastfn.dev/en/
Source Code: https://github.com/misaelzapata/fastfn
FastFN is a CLI-friendly, self-hosted FaaS server for building file-routed APIs, shipping SPA + API stacks, and keeping the whole project easy to run locally or on a VM.
A weekend project that got out of hand.
The key features are:
- Fast to code: Drop a file, get an endpoint, and keep the route tree close to the code that serves it.
- Automatic Docs: Interactive API documentation (Swagger UI) generated automatically from your code.
- Polyglot Power: Use the best tool for the job. Python, Node, PHP, Lua, Rust, or Go in one project.
- SPA + API: Mount a configurable
public/ordist/folder at/and keep simple API handlers beside it.
English Quick Start • SPA + API • Linux Service • English Docs • Docs en Español
Start in 60 seconds¶
1. Drop a file, get an endpoint¶
Create a file named hello.js (or .py, .php, .rs):
2. Run the server¶
3. Call your API¶
No serverless.yml. No framework boilerplate. File routes are discovered automatically.
Where to go next¶
-
Documentation
Start learning FastFN step-by-step.
-
New Article
See the Cloudflare-style public assets model and the three runnable demos.
-
SPA + API
Serve a browser app and a small API from the same FastFN project.
-
Linux Service
Run FastFN behind systemd with simple TLS guidance in front.