Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. C/C++
  3. txiki.js

txiki.js

MITCv26.6.0

A tiny JavaScript runtime built on QuickJS-ng and libuv, targeting modern ECMAScript and WinterTC compliance.

Visit WebsiteGitHubGitHub
3.1k stars221 forks0 contributors

What is txiki.js?

txiki.js is a tiny JavaScript runtime built on the QuickJS-ng engine and libuv platform layer. It provides a lightweight environment for running JavaScript code with support for modern ECMAScript standards, Web Platform APIs, and system-level operations like networking and file I/O. It aims to be WinterTC compliant and can compile scripts into standalone executables.

Target Audience

Developers needing a minimal, embeddable JavaScript runtime for scripting, tooling, or lightweight server applications, especially those prioritizing small footprint and modern JavaScript features.

Value Proposition

It offers a compact alternative to larger runtimes like Node.js, with a focus on performance, standards compliance, and the ability to create standalone binaries, making it ideal for resource-constrained or specialized use cases.

Overview

A tiny JavaScript runtime

Use Cases

Best For

  • Embedding JavaScript in applications or tools as a scripting engine
  • Building lightweight CLI tools or utilities with JavaScript
  • Creating small HTTP servers or network services with WebSocket support
  • Developing standalone executables from JavaScript scripts for distribution
  • Experimenting with modern ECMAScript features in a minimal runtime
  • System scripting tasks requiring file I/O, child processes, or signal handling

Not Ideal For

  • Applications heavily dependent on the npm ecosystem for third-party libraries
  • Large-scale web services requiring built-in clustering, load balancing, or advanced server features
  • Teams needing out-of-the-box TypeScript compilation or extensive debugging tooling
  • Projects that rely on Node.js-specific APIs or legacy modules without alternatives

Pros & Cons

Pros

Modern ECMAScript Compliance

Built on QuickJS-ng, it supports state-of-the-art JavaScript features and aims for WinterTC compliance, as stated in the README, ensuring up-to-date language support.

Lightweight and Minimal

Described as 'tiny' and 'small', it offers a compact runtime with reduced memory footprint and faster startup times compared to larger alternatives like Node.js.

System Integration Capabilities

Includes file I/O, child processes, signal handling, and low-level networking (TCP, UDP, Unix sockets), enabling robust system scripting and integration tasks.

Standalone Executable Generation

The `tjs compile` command allows compiling JavaScript scripts into standalone binaries, simplifying deployment and distribution without external runtime dependencies.

Web Platform APIs

Provides fetch, WebSocket, Console, and other web APIs, facilitating web-like development in a minimal environment, as highlighted in the features list.

Cons

Limited Module Ecosystem

Unlike Node.js, it lacks a vast npm library, restricting access to third-party modules and potentially increasing development time for complex functionality.

Manual Build Process

Getting started requires cloning and compiling from source using make, which is more involved than installing pre-packaged binaries from package managers.

Smaller Community Support

As a niche project, it has fewer contributors and resources, leading to slower issue resolution and limited tutorials or community-driven help.

Performance Trade-offs

While efficient for I/O via libuv, QuickJS-ng may not match V8's performance in compute-heavy tasks, given its focus on minimalism over raw speed.

Frequently Asked Questions

Quick Stats

Stars3,110
Forks221
Contributors0
Open Issues13
Last commit20 hours ago
CreatedSince 2019

Tags

#ecmascript#javascript-runtime#wasm#javascript#quickjs#cross-platform#system-integration#libuv#standalone-executable#networking

Built With

l
libuv

Links & Resources

Website

Included in

C/C++70.6k
Auto-fetched 18 hours ago

Related Projects

pybind11pybind11

Seamless operability between C++11 and Python

Stars17,971
Forks2,312
Last commit1 day ago
cythoncython

The most widely used Python to C compiler

Stars10,805
Forks1,616
Last commit22 hours ago
ChakraCoreChakraCore

ChakraCore is an open source Javascript engine with a C API.

Stars9,260
Forks1,227
Last commit5 months ago
JerryScriptJerryScript

Ultra-lightweight JavaScript engine for the Internet of Things.

Stars7,407
Forks691
Last commit9 months ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub