# CanadaHonk/porffor

An ahead-of-time JavaScript compiler

Repository: https://github.com/CanadaHonk/porffor
Canonical: https://ross.abutalabs.com/products/porffor
Homepage: https://porffor.dev
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2026-08-26T23:26:08+00:00

## Health v2 (maintenance only)
Score: 96/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 99, longevity 83
- inputs: {"age_days": 1165, "days_push": 7, "days_rel": 7, "gap_med": 0.0, "n_releases_24m": 21}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5050, forks 129 (observed 2026-08-28T04:09:08.939441+00:00)

## What it is
Porffor is an ahead-of-time JavaScript/TypeScript compiler that compiles JS source through an IR into C, producing native executables or Wasm with no interpreter or JIT. It aims to be far lighter in memory and binary size than traditional JS runtimes like Node or Bun.

## Use cases
- compile a javascript file into a standalone native binary
- run server-side javascript without shipping a js runtime
- build memory-efficient serverless-style js apps on constrained hosts
- compile typescript directly without a separate transform step
- compile a fetch handler into a small http server binary
- target wasm from javascript source

## When to choose
- you want small, fast-starting native executables from JS/TS source
- memory footprint per app matters more than peak JIT performance
- you want to avoid bundling a ~90MB JS runtime with your app

## When to avoid
- you need full Node.js API and ecosystem compatibility today
- you need maximum runtime performance matching V8's JIT
- you need native Windows output (currently WSL-only)

## Facets
- artifact type: cli-tool
- maturity: experimental
- function: compiler, programming-language, developer-tools
- domain: programming-languages, compilers, developer-tools, web-development
- platform: cli, cross-platform, wasm
- tags: javascript, typescript, ahead-of-time, aot, js-engine, native-binaries, c-codegen, runtime, compiler, linux, macos

## Member repositories
- CanadaHonk/porffor (main) score 96

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:08.939441+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-30T08:31:23.424290+00:00, confidence not recorded.
  - readme: https://github.com/CanadaHonk/porffor (fetched 2026-08-28T04:09:08.939441+00:00, sha b91e16e64c27)
  - homepage: https://porffor.dev (fetched 2026-08-29T08:58:06.493043+00:00, sha d55d65321060)
  - site_page: https://porffor.dev/docs (fetched 2026-08-29T08:58:06.496023+00:00, sha 9570779b615e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
