/awesome-cosmopolitan

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

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

  • actually portable awk - The One True [Portable] Awk
  • apelife.com - tui for conway's game of life with xterm mouse integration
  • blinkenlights - Command line debugger that focuses on visualizing how software changes memory
  • bob - A peer-to-peer file-transfer tool in OCaml with Cosmopolitan
  • braille dump - drop in replacement for hexdump -C that uses unicode braille characters to display hex code
  • memzoom.com - view/monitor the raw memory of processes/files in your UTF-8 terminal
  • nesemu1.com - nes emulator in a terminal
  • printimage.com - png/jpg/gif in terminals
  • printvideo.com - mpeg in terminals

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
  • microwindows - The Nano-X Window System (demo)

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.

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.