Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit

* fix(deps): update rust crate webbrowser to 0.8.7

* chore(deps): update dependency vitest to ^0.28.0


Co-authored-by: renovate[bot] <29139614+renovate[bot]>
5672fa5 4

Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Lagon logo

Deploy Serverless Functions at the Edge

Open Source • TypeScript • Web APIs
Cron triggers • Instant deployments
Interactive Playground



Lagon is an open-source runtime and platform that allows developers to run TypeScript and JavaScript Functions at the Edge, using V8 Isolates. It's also self-hostable.

Warning: Lagon is still in heavy development. Do not use for production usages.

Current status:

  • Dev: In heavy development, features are being added and APIs have breaking changes
  • Alpha: Missing features and bugs to fix, not ready for production usage
  • Beta: Stable APIs, last bugs are being fixed and last features are being added
  • General Availability: Cloud and self-hosted versions available for production usage


  • cli CLI to manage Functions
  • dashboard Dashboard and API
  • docs Documentation website
  • js-runtime JavaScript code for the Runtime, containing the Web APIs
  • runtime Rust JavaScript Runtime, using V8 Isolates
  • serverless HTTP entrypoint for Functions, using the Runtime and exporting metrics
  • ui Design system
  • wpt-runner Run web-platform-tests on Lagon
  • www Public website


  • JavaScript Runtime written in Rust using V8 Isolates
  • Native Web APIs like Request, Response...
  • 100% open-source
  • Deploy APIs, SSR(ed) websites, Webhooks endpoints, Cron jobs...
  • CLI to manage Functions and develop locally
  • Deploy at the Edge using the Cloud version, or self-host it


Lagon is a fairly recent project. It is still in heavy development, so expect breaking changes and buggy features.

See the roadmap on GitHub


The roadmap is accessible to anyone on GitHub. Feel free to open an issue to discuss new features that you would like to see implemented.

See the roadmap on GitHub

How it works

Lagon uses V8 Isolates, which are sandboxed environments used to run plain JavaScript. That means each Function's memory is isolated from each others, and you can run a lot of them at the same time with very few resources. Node.js, Electron, Deno (and Deno Deploy), Cloudflare Workers are also using V8 Isolates to execute JavaScript.

Starting an Isolate is a lot faster than starting a whole Node.js process, which allows for almost free cold starts.