# MLstate/opalang

The Opa Language for Web Application Development

Repository: https://github.com/MLstate/opalang
Canonical: https://ross.abutalabs.com/products/opalang
Homepage: http://opalang.org
Language: OCaml
License: NOASSERTION
License Family: other
Last push: 2020-09-30T14:26:10+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5647, "days_push": 2163, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1264, forks 127 (observed 2026-08-28T04:04:10.833062+00:00)

## What it is
Opa is a functional programming language for web development that compiles to JavaScript, letting developers write frontend and backend code in one language. It ships a compiler plus a runtime JavaScript library, with built-in database query support for PostgreSQL, MongoDB, and CouchDB and a Node.js-based server runtime.

## Use cases
- build full-stack web apps in a single language
- write client and server code without manual AJAX calls
- compile a functional language to JavaScript
- query SQL and NoSQL databases from application code
- develop web applications with a strong static typechecker

## When to choose
- you want one language for both frontend and backend web code
- you value strong static typing with type inference in web development
- you want database queries integrated into the language

## When to avoid
- you need a mainstream ecosystem with active community and hiring pool
- you require frequent updates or modern tooling support
- you want to avoid AGPL-licensed compiler toolchains in a hosted platform

## Facets
- artifact type: framework
- maturity: maintenance
- function: compiler, web-framework, orm, type-system, serialization
- domain: web-development, programming-languages, compilers, backend, frontend
- platform: cross-platform
- tags: opa-language, functional-programming, fullstack, compiles-to-javascript, mongodb, postgresql, couchdb, agpl, nodejs, linux, macos

## Member repositories
- MLstate/opalang (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:10.833062+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-30T05:04:01.826087+00:00, confidence not recorded.
  - readme: https://github.com/MLstate/opalang (fetched 2026-08-28T04:04:10.833062+00:00, sha e8814c201ad6)
  - homepage: http://opalang.org (fetched 2026-08-29T12:15:58.161542+00:00, sha 681589991afc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
