Skip to content
stellartux edited this page Sep 6, 2023 · 43 revisions

Welcome to the cosmopolitan wiki!

Tools

Games

Languages

Compilers

  • o//third_party/chibicc/chibicc.com: rui314's small C compiler, built alongside a book on compiler development
  • o//third_party/quickjs/qjsc.com: quickjs JavaScript compiler
  • o//third_party/python/pyobj.com: Python compiler/objectifier
  • o//third_party/lua/luac.com: Lua compiler

Security

Build Tools

  • o//tool/build/apelink.com
  • o//tool/build/ar.com
  • o//tool/build/assimilate.com
  • o//tool/build/compile.com
  • o//tool/build/mkdeps.com
  • o//tool/build/pecheck.com
  • o//third_party/ctags/ctags.com
  • o//tool/build/zipobj.com
  • o//tool/build/zipcopy.com
  • o//tool/build/runit.com
  • o//tool/build/runitd.com
  • o//tool/build/fixupobj.com
  • o//tool/build/package.com
  • o//tool/build/march-native.com
  • o//tool/build/elf2pe.com
  • o//tool/build/freebsd2sysv.com
  • o//tool/build/objbincopy.com
  • o//tool/build/rollup.com

Terminal

Editors

  • o//examples/kilo.com: tiny, nano-esque editor

Shells

  • o//tool/build/cocmd.com: extremely small Bash command executor, good for linking into exec-heavy programs
  • o//examples/cosh.com: shell powered by cocmd.com. Runs on Unix and Windows, includes Readline-style shortcuts
  • o//examples/picol.com: a tiny Tcl shell
  • o//examples/unbourne.com (no windows yet): a Unix shell based off the Debian Almquist Shell (dash)

Network

IPv4.Games

  • o//net/turfwar/turfwar.com: make HTTP requests to claim land
  • o//net/turfwar/turfbean.com
  • o//net/turfwar/blackholed.com: ip-tables firewall open to ban requests from unpriviledged apps. blackholed.com -h for more info
  • o//net/turfwar/blackhole.com

Machine Learning

  • o//third_party/ggml/llama.com: port of ggml's excellent llama.cpp
  • o//third_party/ggml/quantize.com: quantize LLM models
  • o//third_party/ggml/perplexity.com: analyze perplexity of LLM models
  • o//third_party/radpajama/radpajama.com: port of ggml to the open source RedPajama LLM. Original repo
  • o//third_party/radpajama/radpajama-chat.com
  • o//third_party/radpajama/radpajama-copy.com
  • o//third_party/radpajama/radpajama-quantize.com

Graphics

  • o//tool/viz/printimage.com: print images to the terminal
  • o//tool/viz/printvideo.com: print videos to the terminal
  • o//tool/viz/derasterize.com: TODO
  • o//tool/viz/printansi.com: print images to the terminal without Unicode
  • o//examples/img.com: quickly generate HTML img tags for a given image

Shell Scripting

  • o//third_party/tr/tr.com
  • o//examples/seq.com
  • o//tool/build/chmod.com
  • o//tool/build/touch.com
  • o//tool/build/mv.com
  • o//tool/build/cp.com
  • o//tool/build/pwd.com
  • o//tool/build/rm.com
  • o//tool/build/dd.com
  • o//tool/build/echo.com
  • o//tool/build/false.com
  • o//tool/build/summy.com
  • o//tool/build/mkdir.com
  • o//tool/build/printf.com
  • o//examples/nanosleep.com
  • o//tool/decode/base64.com

Binary Analysis

  • o//tool/viz/memzoom.com
  • o//tool/decode/ent.com
  • o//tool/decode/elf.com
  • o//tool/decode/pe2.com
  • o//tool/decode/macho.com
  • o//tool/decode/ar.com
  • o//tool/decode/zip.com
  • o//tool/viz/bf.com
  • o//tool/viz/bing.com
  • o//tool/viz/fold.com
  • o//tool/decode/x86opinfo.com
  • o//tool/viz/unbing.com

Informational Tools

  • o//examples/printargs.com
  • o//examples/stackexplorer.com
  • o//tool/viz/cpuid.com (x86 only)
  • o//tool/viz/printpeb.com (windows only)
  • o//tool/viz/virtualquery.com (windows only)
  • o//examples/rlimit.com
  • o//examples/rusage.com: inspect runtime and memory use of a command
  • o//examples/getcpucount.com
  • o//examples/loadavg.com
  • o//examples/date.com
  • o//tool/viz/maxmind.com
  • o//examples/stat.com
  • o//examples/statfs.com
  • o//examples/sysconf.com
  • o//examples/sysinfo.com
  • o//examples/uname.com

System Tools

  • o//examples/reboot.com
  • o//examples/shutdown.com
  • o//tool/build/dropcache.com

Compression Tools

  • o//third_party/zstd/zstd.com
  • o//tool/build/gzip.com
  • o//third_party/zip/zip.com
  • o//third_party/unzip/unzip.com
  • o//third_party/zip/zipnote.com
  • o//third_party/zip/zipcloak.com
  • o//third_party/zip/zipsplit.com
  • o//third_party/bzip2/bzip2.com
  • o//third_party/bzip2/bzip2recover.com
  • o//third_party/lz4cli/lz4cli.com
  • o//third_party/smallz4/smallz4.com
  • o//third_party/smallz4/smallz4cat.com
  • o//third_party/xxhash/xxhsum.com
  • o//examples/compress.com
  • o//examples/decompress.com

Unclassified

  • o//examples/time.com
  • o//examples/tls.com
  • o//examples/ucontext-sigfpe-recovery.com
  • o//examples/vga.com
  • o//examples/vga2.com
  • o//examples/vqsort.com
  • o//examples/walk.com
  • o//third_party/python/Parser/asdl_c.com
  • o//third_party/python/freeze.com
  • o//third_party/python/hello.com
  • o//third_party/python/pycomp.com
  • o//third_party/python/pystone.com
  • o//third_party/python/repl.com
  • o//third_party/quickjs/unicode_gen.com
  • o//tool/build/bigmul.com
  • o//tool/build/deltaify.com
  • o//tool/build/fastdiff.com
  • o//tool/build/helpop.com
  • o//tool/build/lz4toasm.com
  • o//tool/build/symtab.com
  • o//tool/build/unbuffer.com
  • o//tool/build/unbundle.com
  • o//tool/build/x86combos.com
  • o//tool/decode/hex.com
  • o//tool/decode/mkcombos.com
  • o//tool/decode/mkwides.com
  • o//tool/decode/unhex.com
  • o//tool/decode/word.com
  • o//tool/lambda/asc2bin.com
  • o//tool/lambda/blcdump.com
  • o//tool/lambda/bru2bin.com
  • o//tool/lambda/lam2bin.com
  • o//tool/lambda/lambda.com
  • o//tool/net/wb.com
  • o//tool/viz/ascii2utf8.com
  • o//tool/viz/basicidea.com
  • o//tool/viz/bd.com
  • o//tool/viz/bin2asm.com
  • o//tool/viz/comma.com
  • o//tool/viz/double2int.com
  • o//tool/viz/dumphexc.com
  • o//tool/viz/echoctl.com
  • o//tool/viz/fixconsole.com
  • o//tool/viz/fliphex.com
  • o//tool/viz/fontspace.com
  • o//tool/viz/generatetortureimage.com
  • o//tool/viz/getglyph.com
  • o//tool/viz/od16.com
  • o//tool/viz/printdos2errno.com
  • o//tool/viz/tailf.com
Clone this wiki locally