Deploy Serverless Functions at the Edge
💻 Join the Discord
✉️ Get email updates
Open Source • TypeScript • Web APIs
Cron triggers • Instant deployments
Interactive playground
Lagon is a free Open Source Runtime and SaaS that make it easy to deploy TypeScript and JavaScript Serverless Functions at the Edge, using V8 Isolates. You will be able to self-host it.
Warning: Lagon is still in heavy development. Do not use for production usages.
Current status:
- Dev
AlphaBetaGeneral Availability
- cli CLI to deploy functions
- common Functions and constants used in multiple packages
- prisma Prisma Client schema and migrations
- runtime Runtime used to run functions inside V8 Isolates
- serverless Entrypoint for all functions, using the runtime and exporting metrics
- types Types of the runtime used when creating functions
- website Dashboard and API
- www Public website
- JavaScript Runtime based on V8 Isolates with Web APIs
- Deploy APIs, SSR(ed) websites, Webhooks endpoints, Cron jobs...
- CLI to deploy/remove functions and run them locally
- Playground in the website
- Deploy at the Edge using the SaaS, or self-host it
Lagon is a fairly recent project. It is still in heavy development, so expect breaking changes and buggy features.
Lagon uses V8 Isolates, which are sandboxed environments used to run plain JavaScript. That means each Function memory is isolated from each other and from the host.
They start very quickly (faster than starting a Node.js process), and we can run multiple Isolates inside a single Node.js process.
Each Function is then deployed globally in 8 locations (expect more locations soon), close to users to reduce latency.