Skip to content

Ecosystem

Kaappi has a growing ecosystem of libraries. All are installed with thottam, the Kaappi package manager.

Web & Networking

Package Description
kaappi-net TCP client/server and TLS client
kaappi-http HTTP/HTTPS client and HTTP server
kaappi-web Web framework (routing, middleware, JSON helpers)
kaappi-template Text and HTML template engine (auto-escaping)
kaappi-email SMTP email client (plain and TLS)

Data Formats

Package Description
kaappi-json JSON parser and serializer
kaappi-toml TOML parser and serializer
kaappi-yaml YAML parser and writer
kaappi-csv CSV parser and writer (RFC 4180)

Databases

Package Description
kaappi-pg PostgreSQL client with DB-API 2.0 style cursors
kaappi-sqlite SQLite client with cursors
kaappi-redis Redis client (strings, lists, hashes, pub/sub)

Math

Package Description
kaappi-math Scalar helpers, vector operations, statistics (Zig FFI extension)
kaappi-mpl Symbolic math / computer algebra: simplify, expand, differentiate

Developer Tools

Package Description
kaappi-test Test framework (assertions, groups, reporting)
kaappi-bdd BDD test framework (describe/it, matchers, hooks)
kaappi-log Structured logging (text and JSON formats)
kaappi-crypto Hashing (SHA-256/512, MD5) and HMAC
kaappi-cli CLI argument parsing, subcommands, help generation

Example Applications

The kaappi-examples repo has complete working apps: REST API (PostgreSQL + Redis + HTTP), task queue, CRUD app, and file server.

Getting started

# thottam is included when you install Kaappi:
# curl -fsSL https://kaappi-lang.org/install.sh | bash

# Install a library:
thottam install kaappi-web

# That's it. Now use it:
kaappi my-app.scm

No --lib-path flags, no DYLD_LIBRARY_PATH — thottam handles everything.

Dependency graph

kaappi-web ──→ kaappi-http ──→ kaappi-net (TCP/TLS)
           └─→ kaappi-json

kaappi-email ──→ kaappi-net
kaappi-redis ──→ kaappi-net

kaappi-pg (standalone, links libpq)
kaappi-sqlite (standalone, links libsqlite3)
kaappi-crypto (standalone, links OpenSSL)
kaappi-math (standalone, Zig-compiled shared library)

kaappi-toml, kaappi-yaml, kaappi-csv, kaappi-template, kaappi-test,
kaappi-bdd, kaappi-log, kaappi-cli, kaappi-mpl (pure Scheme, no dependencies)

When you install a package, thottam automatically installs its dependencies.