Skip to content

Deploy Serverless Functions at the Edge. Current status: Alpha

License

Notifications You must be signed in to change notification settings

lagossapp/lagoss

Repository files navigation

Lagoss logo

Lagoss

Deploy Serverless Functions at the Edge


Dashboard

About

Lagoss is a fork of Lagon an open-source runtime and platform that allows developers to run TypeScript and JavaScript Serverless Functions.

Note

The project was forked from Lagon with the intention to continue development. There is currently a public testing instance deployed at https://app.lagoss.com. However it should be used for basic testing only and data might be deleted at any point. If you want a proper setup, please deploy your own instance => Install my own instance.

Packages

  • 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 Lagoss

Features

  • 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

Contributing

See the contributing guide

How it works

Lagoss 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.

Installation

Learn how you can install your own Lagoss instance.

License

GNU AGPLv3