Tools/vercel-labs/scriptc

scriptc

TypeScript-to-Native Compiler

2.7k+2.1k/wkemergingTypeScriptApache License 2.0new this week

The Lens

By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.

Updated Aug 2026

scriptc compiles TypeScript straight to a native binary, with no Node or V8 along for the ride. It runs your source through the real tsc type checker, lowers it to a typed intermediate representation, emits C, and lets clang produce a small native executable, around 200KB, that starts cold with none of a JS engine's overhead. It's a genuine Vercel Labs project, confirmed by its Hacker News debut and press coverage, not a name-squat.

The numbers are the hook: in Vercel's own demo, startup drops from roughly 47ms on Node to about 2.4ms, in a static binary a fraction of the size. For CLIs and small tools, that's a meaningful difference.

Free under Apache 2.0, install it from npm, bring clang.

The catch is that it's very early, v0.0.x with no stable release. macOS arm64 is the primary target, with Linux and Windows via cross-compile, and realistically only a subset of TypeScript compiles today. It competes with Bun and Deno's compile commands, Node's single executable apps, and honestly with just reaching for Go or Rust on a small CLI. Fascinating and worth watching, but this is an experiment to play with, not a build step to depend on yet.

Free vs Self-Hosted vs Paid

fully free

Free and open source under Apache 2.0, released by Vercel Labs. No paid tier. Install from npm; you'll need clang on your machine to produce binaries. The real cost is maturity: at v0.0.x it targets macOS arm64 first and compiles only a subset of TypeScript, so it's not production-ready.

Free and open source, from Vercel Labs. Very early, but a striking demo.

Self-hosting ops:trivial

Get tools like this every Wednesday

One featured tool, three on the radar. No fluff.

Score
75/100 · B+
Adoption16/30
Maintenance25/25
Community9/20
License15/15
Analysis10/10

A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores

Trust Signals

Organization account (333 public repos)Notable author: 8,148 followers

License: Apache License 2.0

Use freely. Patent grant included.

Commercial use: ✓ Yes

About

Owner
Vercel Labs (Organization)
Stars
2,737
Forks
59

Explore Further

More tools in the directory