vercel-labs

    vercel-labs/scriptc

    #158 this week

    TypeScript-to-Native Compiler

    web
    TypeScript
    Apache-2.0
    6.5K stars
    210 forks
    6.5K GitHub watchers
    Updated Nov 5, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    Ranks #19 among Web repositories ranked this week, and #37 over the last 30 days; #158 of 182 repositories with measured growth this week (top 87%).

    This week's +78 stars is below its 30-day pace of about +130 per week.

    5 releases in the last 90 days, the latest 1 day ago, with 8 contributors on GitHub.

    The biggest single-day gain in the last year, +283 stars on Sep 28, coincided with release v0.1.7.

    Use Cases & Benefits

    • Compiles TypeScript and JavaScript code into native executables and WebAssembly using TypeScript's type information.
    • Enables static builds that run without Node.js or a JavaScript engine, improving performance and deployment simplicity.
    • Use for creating standalone native CLI tools from TypeScript without runtime dependencies.
    • Use for building lightweight HTTP servers with native Node.js API support compiled to native code.
    • Use for embedding npm packages dynamically into native executables to bundle dependencies without node_modules at runtime.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Apache 2.0

    Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.

    Community files

    • README: present
    • Contributing guide: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    scriptc compiles TypeScript and JavaScript to native executables and WebAssembly. It uses TypeScript's type information to compile supported code to native instructions. Static builds run without Node.js or a JavaScript engine.

    For npm dependencies and any-typed code, enable --dynamic to include the embedded quickjs-ng engine. Dependency JavaScript is included at build time.

    scriptc is experimental and supports a subset of JavaScript, TypeScript, and Node.js APIs. See the limitations and Node.js compatibility reference before using it for an existing project.

    Install with Node.js 24 or later and npm:

    The installed compiler runs natively on supported macOS, Linux, and Windows hosts. Native compilation and execution do not require Node.js. Standalone compiler archives are also available from GitHub Releases.

    Executable builds require a platform linker and SDK/sysroot. See the quickstart for prerequisites and platform support for host requirements, cross-compilation, and WebAssembly.

    These examples use POSIX shell syntax. On Windows, build hello.exe and run it with .\hello.exe.

    Use scriptc coverage hello.ts to check which operations compile statically, require dynamic execution, or are unsupported. See coverage reports for details.

    Excerpt from the vercel-labs/scriptc README on GitHub (Apache-2.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Sep 27: +184Sep 28: +283Oct 2: +17Oct 3: +6Oct 4: +7Oct 5: +9

    +1,367 stars over 40 days across 12 snapshot days; best day +283 on Sep 28.

    Forks

    210+78

    Open issues

    119+54

    Compared with peers in Web

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    vercel-labs/scriptc compared with Web repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    pingdotgg/t3code48.4K+16.6K40today
    pbakaus/impeccable104.0K+8.7K5410 days ago
    HunYiSage/dsh-purge19.2K+6.2K13today
    Renhuai123/ziwei-doushu16.2K+6.1K4421 days ago
    paperclipai/paperclip111.5K+2.8K5913 days ago
    vercel-labs/scriptc6.5K+78601 day ago
    Category median48.4K+6.2K44—

    Also by vercel-labs

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description