# lunatic-solutions/lunatic

Lunatic is an Erlang-inspired runtime for WebAssembly

Repository: https://github.com/lunatic-solutions/lunatic
Canonical: https://ross.abutalabs.com/products/lunatic
Homepage: https://lunatic.solutions
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: vm, webassembly, erlang, actors, rust, assemblyscript, runtime, wasm, lunatic
Last push: 2025-03-29T18:30:22+00:00

## Health v2 (maintenance only)
Score: 29/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 13, release rhythm 8, longevity 100
- inputs: {"age_days": 2198, "days_push": 522, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4884, forks 149 (observed 2026-08-28T04:09:01.861832+00:00)

## What it is
Lunatic is an Erlang-inspired runtime for WebAssembly that provides super lightweight, sandboxed processes for building fast, fault-tolerant, and scalable server-side applications. It can run code from any language that compiles to WebAssembly, with Rust and AssemblyScript libraries currently available.

## Use cases
- run webassembly modules on the server
- build massively concurrent backend services
- run untrusted code in a sandboxed environment
- create distributed clusters of nodes
- build fault-tolerant services with supervision trees
- handle many concurrent http or websocket connections
- run c code safely in isolation

## When to choose
- you need Erlang-style fault tolerance and massive concurrency with WebAssembly sandboxing
- you want to run untrusted or crash-prone code in isolated processes
- you want a portable compile-once runtime across architectures and operating systems
- you want to build distributed clusters with secure QUIC/mTLS connections

## When to avoid
- you need a mature production runtime with a large ecosystem like Erlang/OTP, Go, or Node.js
- your language does not compile to WebAssembly
- you need hot reloading, which is not yet supported
- you depend on libraries beyond the Rust and AssemblyScript bindings

## Facets
- artifact type: library
- maturity: active
- function: concurrency, wasm, http-server, websocket, security, networking, interpreter
- domain: web-development, backend, microservices, developer-tools, security, cross-platform
- platform: windows, rust, wasm, cli, cross-platform
- tags: webassembly-runtime, erlang-inspired, actor-model, green-threads, supervision-trees, sandboxing, quic, mtls, message-passing, fault-tolerance, linux, macos

## Member repositories
- lunatic-solutions/lunatic (main) score 29

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:01.861832+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:18:14.954544+00:00, confidence not recorded.
  - readme: https://github.com/lunatic-solutions/lunatic (fetched 2026-08-28T04:09:01.861832+00:00, sha af022afd2822)
  - homepage: https://lunatic.solutions (fetched 2026-08-29T09:00:37.862994+00:00, sha 94df3299a26f)
  - site_page: https://lunatic.solutions/docs (fetched 2026-08-29T09:00:37.867604+00:00, sha 41a1a4fce48c)
  - site_page: https://lunatic.solutions/faq (fetched 2026-08-29T09:00:37.869838+00:00, sha 980943776be6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
