awesome-cosmopolitan icon indicating copy to clipboard operation
awesome-cosmopolitan copied to clipboard

List of Cosmopolitan Libc related resources and projects

Awesome Cosmopolitan

This is a list of Cosmopolitan projects and resources. If you notice anything missing, please open a pull request or simply make a suggestion.


Table of contents

  • Cosmopolitan
    • Programs
    • Ports
    • Blog Posts
  • Redbean
    • Projects
    • Blog Posts
  • Fullmoon

Cosmopolitan

Cosmopolitan Libc makes C a build-once run-anywhere language, like Java, except it doesn't need an interpreter or virtual machine. Instead, it reconfigures stock GCC and Clang to output a POSIX-approved polyglot format that runs natively on Linux + Mac + Windows + FreeBSD + OpenBSD + NetBSD + BIOS with the best possible performance and the tiniest footprint imaginable.

image operating systems

Programs

Projects

  • cosmo-include - Set of very empty header files that can be used when building apps with Cosmopolitan
  • cosmosocks - Socks server written in Cosmopolitan libc

Tilting at Windmills

Here are our most ambitious community projects, which would require perishing the greatest demons, but if it could be done, would yield some great rewards.

  • cosmogfx - Build-once run-anywhere OpenGL application

Ports

Note: Some ports are experimental. The most battle-tested code is in the Cosmopolitan repo. Ports are often a stepping stone for what we put in the monorepo.

Programming

Blog Posts

Redbean

redbean is an open source webserver in a zip executable that runs on six operating systems. The basic idea is if you want to build a web app that runs anywhere, then you download the redbean.com file, put your .html and .lua files inside it using the zip command, and then you've got a hermetic app you can deploy and share.

Projects

Blog Posts

Fullmoon

Fullmoon is a fast and minimalistic web framework based on Redbean -- a portable, single-file distributable web server.