konsoletyper/teavm
Compiles Java bytecode to JavaScript, WebAssembly and C observed · 2026-08-28
Health v2 · maintenance only
91/100
- Activity 99
- Release rhythm 76
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 68
- age_days: 4727
- days_rel: 80
- days_push: 7
- n_releases_24m: 8
Adoption not part of the score
3098 stars · 333 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
TeaVM is an ahead-of-time compiler that translates Java bytecode (from Java, Kotlin, or Scala) into JavaScript, WebAssembly, or C. It ships with Maven/Gradle plugins and its own Apache-licensed reimplementation of the Java class library for building fast browser-based web apps without a JavaScript toolchain.
Use cases
- compile java to javascript for the browser
- build web apps in java without npm and webpack
- compile kotlin or scala to webassembly
- reuse java backend code in the frontend
- aot compile jvm bytecode to c
- gwt alternative that works from class files
When to choose
- you are a JVM developer writing a web front-end from scratch
- you want to share Java backend logic with browser code
- you need small, fast JavaScript/Wasm output without a JS build stack
- your code avoids heavy reflection, class loaders, and JNI
When to avoid
- you want to port a large existing Java codebase to the browser unmodified
- your app relies heavily on reflection, resources, class loaders, or JNI
- you need to run Swing desktop apps in the browser (consider CheerpJ instead)
- you need stable embedding APIs for custom build tools
Facets
library · maturity active
compiler build-tool wasm compilers web-development programming-languages frontend jvm browser wasm cli aot-compilation java-to-javascript java-to-webassembly gwt-alternative kotlin scala maven-plugin gradle-plugin web-server
3 sources
- readme: https://github.com/konsoletyper/teavm · fetched 2026-08-28 · 5207db0e782b
- homepage: https://teavm.org · fetched 2026-08-29 · 6a5ed0a7a5e2
- site_page: https://teavm.org/docs/intro/overview.html · fetched 2026-08-29 · 6c5657f5d8a5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| konsoletyper/teavm | main | 91 |
For agents
markdown · JSON · MCP: product_card(name="konsoletyper/teavm")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem