awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
jart avatar

jart/cosmopolitan

0
View on GitHub↗
20,562 stars·735 forks·C·isc·19 views

Cosmopolitan

Cosmopolitan is a cross-platform C runtime library and build framework that enables the creation of single-file, self-contained executables. By providing a unified set of system headers and a specialized compiler toolchain, it allows developers to write low-level systems code that executes natively across multiple operating systems without requiring recompilation for each target environment.

The project utilizes a polyglot binary format and a system call shimming layer to intercept and translate kernel requests, effectively bypassing standard library dependencies. This approach consolidates all necessary runtime code and library dependencies directly into the executable, resulting in binaries that function immediately on target machines without external configuration or pre-installed runtimes.

This framework supports the distribution of portable software that maintains compatibility across diverse environments, including legacy systems. The project is distributed as a development toolkit, providing the necessary infrastructure to build and deploy zero-dependency applications from a single source build.

Features

  • Single-File Executables - Enables the creation of single-file, self-contained executables that run natively across multiple operating systems without recompilation.
  • Cross-Platform Abstractions - Implements a standard library that abstracts operating system differences to enable native execution of binaries on multiple platforms.
  • Static Compilation Toolchains - Provides a build system that produces self-contained executables without external dependencies or the need for recompilation on different target operating systems.
  • Cross-Platform Build Tools - Provides the infrastructure to write low-level systems code that executes natively across multiple operating systems from a single source build.
  • Single-Binary Distributions - Packages software into a single executable file that runs across multiple operating systems without requiring recompilation or external dependencies.
  • Polyglot Binaries - Utilizes a custom executable file structure that embeds multiple platform-specific headers to allow the same binary to execute on different operating systems.
  • Windows Environments - Listed in the “Windows Environments” section of the Awesome C awesome list.
  • Zero-Dependency Build Systems - Distributes applications that function immediately on any target machine without needing to install runtimes, libraries, or specific system configurations.
  • System Calls - Implements a translation layer that intercepts low-level kernel requests and maps them to the appropriate native interface for each supported operating system.
  • Compatibility Layers - Supports running modern software applications on older or restricted operating systems by bypassing standard library dependencies.
  • Dependency-Free Runtimes - Provides a minimal execution environment embedded within the binary that handles process initialization without relying on standard system libraries.
  • Static Dependency Bundlers - Bundles all necessary library code and runtime dependencies directly into the executable to eliminate external runtime requirements.

Star history

Star history chart for jart/cosmopolitanStar history chart for jart/cosmopolitan

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Cosmopolitan

These projects share indexed features with Cosmopolitan. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • dotnet/coredotnet avatar

    dotnet/core

    21,897View on GitHub↗

    This project is a cross-platform development framework and managed runtime environment designed for building high-performance applications. It provides a comprehensive toolkit for constructing web services, cloud-native microservices, and desktop applications, utilizing a unified runtime that handles memory management and execution across diverse operating systems. The framework distinguishes itself through a native ahead-of-time compilation toolchain that transforms source code into optimized, self-contained machine code binaries. This capability enables fast startup times and reduced memory

    PowerShelldotnetdotnet-core
    View on GitHub↗21,897
  • just-js/justjust-js avatar

    just-js/just

    3,803View on GitHub↗

    Just is a JavaScript runtime environment designed for system-level programming and high-performance execution. It provides a direct interface to kernel functions and hardware resources, allowing developers to interact with operating system features that are typically inaccessible through standard high-level programming environments. The runtime distinguishes itself by offering a streamlined execution model that minimizes startup latency and provides the ability to compile scripts into standalone, dependency-free binaries. By leveraging the V8 engine and a specialized module loading system, it

    JavaScriptjavascriptlinuxruntime
    View on GitHub↗3,803
  • shirou/gopsutilshirou avatar

    shirou/gopsutil

    11,866View on GitHub↗

    This library provides a cross-platform toolkit for retrieving system metrics and managing processes. It functions as a unified interface for accessing low-level hardware and operating system data, allowing developers to monitor CPU, memory, disk, and network usage across diverse computing architectures without requiring external dependencies. The project distinguishes itself through its ability to maintain consistent data structures across different operating systems by parsing native system headers and wrapping low-level system calls. It includes specialized support for containerized environ

    Gogogolangsystem-information
    View on GitHub↗11,866
  • dotnet/runtimedotnet avatar

    dotnet/runtime

    17,966View on GitHub↗

    This project is a cross-platform managed execution environment and general-purpose application framework designed for building high-performance software. It provides a unified runtime that handles memory management, type safety, and code execution across diverse operating systems. By integrating a native code compilation toolchain, the platform enables developers to convert managed code into optimized machine instructions, significantly improving startup performance and reducing runtime dependencies for production environments. The framework distinguishes itself through a comprehensive toolch

    C#dotnethacktoberfesthelp-wanted
    View on GitHub↗17,966
Compare all 30 related projects→

Frequently asked questions

What does jart/cosmopolitan do?

Cosmopolitan is a cross-platform C runtime library and build framework that enables the creation of single-file, self-contained executables. By providing a unified set of system headers and a specialized compiler toolchain, it allows developers to write low-level systems code that executes natively across multiple operating systems without requiring recompilation for each target environment.

What are the main features of jart/cosmopolitan?

The main features of jart/cosmopolitan are: Single-File Executables, Cross-Platform Abstractions, Static Compilation Toolchains, Cross-Platform Build Tools, Single-Binary Distributions, Polyglot Binaries, Windows Environments, Zero-Dependency Build Systems.

Which projects share features with jart/cosmopolitan?

Projects with overlapping indexed features include: dotnet/core — This project is a cross-platform development framework and managed runtime environment designed for building… just-js/just — Just is a JavaScript runtime environment designed for system-level programming and high-performance execution. It… shirou/gopsutil — This library provides a cross-platform toolkit for retrieving system metrics and managing processes. It functions as a… dotnet/runtime — This project is a cross-platform managed execution environment and general-purpose application framework designed for… rxi/microui — microui is a minimal immediate-mode graphical user interface library written in C, designed for resource-constrained… nothings/stb — This project is a collection of portable, header-only C functions designed for integration into software projects…