Skip to content
@KarpelesLab

Karpelès Lab Inc.

Karpeles Lab Inc.

IT Development & R&D based in Tokyo, Japan

We develop and maintain a wide range of open-source tools and libraries, primarily in Go and increasingly in Rust, with a focus on cloud infrastructure, networking, cryptography, language runtimes, and system-level utilities — often with an emphasis on pure, dependency-free implementations (no CGO, no C, no FFI).

Website OxideAV portablesql


Featured Projects

Project Description Stars
goro PHP interpreter implemented in Go Stars
usdpython Apple's usdzconvert and USD-related tools Stars
teamclaude Multi-account Claude proxy with quota-based rotation Stars
reflink Reflink (copy-on-write) file copy in Go Stars
squashfs SquashFS read/write implementation in pure Go Stars
magictls Automatic PROXY, PROXYv2 and TLS support on TCP streams Stars
compcol 30+ compression codecs behind one streaming API, pure Rust Stars
cterm Terminal emulator optimized for AI coding tools Stars
graphitesql Pure, safe, no_std Rust re-implementation of SQLite Stars
OxideAV Pure-Rust media transcoding and streaming framework — 140+ codec, container and filter crates Stars
portablesql Portable SQL toolkit for Go — one codebase for MySQL, PostgreSQL and SQLite Stars

Repository Categories

Languages & Runtimes

Interpreters, shells, and runtime environments.

  • goro - PHP interpreter implemented in Go
  • goro-rs - PHP interpreter in Rust
  • rustygo - Go → Rust compiler with a Rust runtime (GC, scheduler, channels, reflect) — design stage
  • gsh - Go native shell replacement
  • nodejs - Node.js factory and pool for Go

AI & Developer Tools

Tooling built around AI-assisted development.

  • teamclaude - Multi-account Claude proxy with automatic quota-based rotation
  • cterm - Terminal emulator optimized for AI coding tools
  • mcprun - MCP server runner
  • manu - Multipurpose MCP server that gives AI agents hands
  • atelier - Minimal-TUI AI coding harness in Rust for OpenAI-compatible APIs
  • aipencil - Render structured JSON scene descriptions to deterministic SVG/PNG
  • nixvm - Portable sandbox running a real Linux userland by emulating syscalls, not hardware
  • bnpm - Sandboxed package manager using Linux namespaces

Pure Rust Ecosystem

A growing family of pure-Rust implementations — no C, no FFI, often no_std. See also OxideAV and graphitesql.

Applications & engines

  • argus - Web browser written in pure Rust (in-house engine, GUI + headless)
  • kataan - High-performance JavaScript engine in pure Rust (interpreter, bytecode VM, x86-64 JIT, WebAssembly)
  • z3rs - no_std port of the Z3 theorem prover, no GMP or native deps
  • mathesis - Mathematica-style computational notebook running entirely in the browser (live)
  • rsurl - Pure-Rust curl — HTTP/1-3, FTP, SFTP, WebSocket, and many more protocols
  • httpsd - HTTP/1.1, HTTP/2 and HTTP/3 server with a sans-I/O core and pluggable runtimes
  • puressh - SSH library and CLI suite (ssh/sftp/scp/sshd)
  • puregit - Git from scratch: object model, packfiles, smart protocol client + server over HTTP and SSH
  • fstool - Build, inspect, convert, and repack disk images and filesystems
  • origami - Experimental first-principles protein folder (all-atom MD, GPU-accelerated via wgpu)

Systems & toolchain

  • kintane - Modular OS kernel, from no-MMU microcontrollers to multi-socket SMP
  • purestd - A Rust std that never calls libc — direct kernel syscalls all the way down
  • rustlibc - Full libc in Rust with C bindings, a drop-in for glibc or musl
  • latticefoundry - Clean-room compiler back-end framework (SSA IR, codegen, object files, linker core)
  • qld - Fast parallel linker, drop-in for GNU ld / gold / lld / mold
  • rsasm - Multi-target assembler accepting real-world asm syntaxes
  • univdreams - Universal decompiler + compiler (ELF, PE, Mach-O round-trip)
  • rsemu - Multiplatform emulator built on a generic framework, machines described by config files
  • x11anywhere - Portable X11 server with native backends for Linux, macOS and Windows
  • fullrust - 100% Rust binaries

Libraries

  • purecrypto - Crypto toolkit: classical & post-quantum, X.509, TLS/DTLS/QUIC
  • purecrypto-tpm - TPM 2.0 stack speaking the wire protocol directly, no tpm2-tss
  • puremp - Arbitrary-precision arithmetic: integers, rationals, MPFR-class floats, polynomials, matrices
  • compcol - 30+ compression/decompression codecs behind one uniform streaming API
  • minlz-rs - S2 compression, binary-compatible with Go's klauspost/compress/s2
  • anydcode - Encode/decode 50+ 1D/2D barcode symbologies (QR, Data Matrix, PDF417, Aztec, App Clip Codes…)
  • charcode - WHATWG Encoding Standard character conversion, zero deps, no unsafe
  • tomlproc - Complete TOML 1.1.0 parser and serializer, zero deps, no_std
  • noroi - Rich curses-style terminal UI with zero external crates
  • stipple - Self-drawn, themeable cross-platform UI toolkit (desktop, mobile, web)
  • ldtray - Cross-platform tray icons with no compile-time GUI linkage
  • rsupd - Signed release distribution and in-place auto-updates (successor to goupd)
  • cacrt - no_std curated CA root certificates by OpenSSL subject hash
  • psl2 - Fast no_std Public Suffix List with built-in IDNA

Databases & SQL

Database toolkits and storage engines.

  • portablesql - Portable SQL toolkit for Go: write database code once, run it on MySQL / MariaDB, PostgreSQL / CockroachDB and SQLite
  • graphitesql - Pure-Rust, no_std re-implementation of SQLite, file-format compatible, targets WebAssembly
  • pebbledb - Rust port of CockroachDB's Pebble LSM key-value storage engine

Cloud & Infrastructure

Building blocks for cloud-native applications and distributed systems.

  • fleet - Fleet cloud system
  • clouddb - Decentralized indexed database using LevelDB
  • cloudhttp - Easy SSL HTTP server for AWS, GCP, etc.
  • cloudinfo - Fetch info on current cloud environment
  • lambda - Lambda utilities

Networking & Protocols

Low-level networking tools and protocol implementations.

  • magictls - Auto PROXY/PROXYv2/TLS detection on TCP streams
  • dns - Modular DNS tools
  • pktkit / pktkit-rs - Zero-copy packet toolkit for virtual network topologies — switches, NAT, virtual TCP/IP, WireGuard (Go / Rust)
  • slirp - SLiRP networking stack in Go
  • pppoeproxy - Simple PPPoE client/server proxy
  • spotlib / spotlib-rs - Spot end-to-end encrypted messaging protocol client (Go / Rust)
  • smartremote - Transparent partial HTTP file access with caching and resume

Cryptography & Security

Secure implementations for authentication, HSM, and post-quantum cryptography.

  • hsm - Go support for Hardware Security Modules
  • jwt - JWT tokens without external dependencies
  • jwttool - Command-line JWT generation tool
  • mldsa / slhdsa - Post-quantum signature schemes
  • authenticode - Pure-Go Authenticode signing for Windows PE files (no CGO)
  • gosigner - Remote Authenticode signing with a USB token over the Spot network
  • lnp22 - Lattice-based NIZK proof framework (LNP22, CRYPTO 2022)
  • anyhash - 60 hash algorithms selected by name, with cloneable state
  • tmpsecfile - Anonymous, encrypted-at-rest temporary files for Go
  • tpmlib - TPM (Trusted Platform Module) support
  • vncpasswd - VNC password encryption/decryption

Blockchain & Wallets

Multi-chain wallet infrastructure, signing, and cryptographic primitives.

File Systems & Storage

Pure Go implementations for various file system and archive formats.

  • squashfs - SquashFS read/write implementation
  • iso9660 - ISO9660 image reading and creation
  • vfs - Virtual filesystem abstraction
  • reflink - Copy-on-write file copy
  • gobzip2 - Pure Go bzip2 compression/decompression with parallel support
  • gzscan - Scanner for gzip files in disk images

Media & Audio

Multimedia processing libraries — pure Rust and pure Go, no C dependencies where possible.

  • OxideAV - Pure-Rust media transcoding and streaming — no C libraries, no FFI, every format implemented clean-room from the spec
    • 140+ crates: video (H.264/H.265/H.266, AV1, VP8/VP9, ProRes…), audio (AAC, Opus, FLAC, MP3, AC-3, DTS…), images (PNG, WebP, JPEG XL, AVIF, HEIF…), containers (MP4, Matroska, Ogg…) and subtitles
    • The oxideav CLI and oxideplay player ship from oxideav-workspace; use crates individually or all at once via oxideav-meta
  • avgo - AV library in Go
  • ffprobe - FFprobe tools in Go
  • hlsmaker - HLS stream creation
  • goavif - AVIF codec in pure Go (no CGO)
  • gowebp - Pure-Go WebP encoder (no CGO)
  • static-opus - Statically linked libopus for Go
  • static-portaudio - PortAudio static for Go
  • gogd - PHP gd image operations in native Go (no cgo, no libgd)
  • mblur - ImageMagick's motionBlur ported to Go

Data Formats & Parsing

Parsers and serializers for various data formats.

  • pjson - Enhanced JSON with contexts and group resolution
  • graphql - GraphQL query parser
  • gopcre2 - Pure Go PCRE2 (Perl-compatible regex), no CGO
  • gomailparse - Streaming MIME email parser for Go
  • ini - Simple INI file handling
  • csscolor - CSS color parser
  • tpl - Template engine for Go

Internationalization & Localization

Tools for building multilingual applications.

Hardware Integration

Libraries for interacting with hardware devices.

  • streamdeck - Elgato StreamDeck API
  • hid - Pure Go HID driver (no CGO)
  • pixoo64 - Pixoo64 LED display library
  • usbmagic - Library and CLI for programmable USB test instruments (Cynthion), with FPGA gateware
  • selecard - Reverse-engineered protocol and tool for the SeleCard III 426 MHz garage remote
  • intel-dcapd - Intel DCAP daemon

Frontend & Web

JavaScript/TypeScript libraries for web development.

3D & Apple USD

Tools for 3D content and Apple's Universal Scene Description format.

  • usdpython - Apple's usdzconvert and USD tools (our most starred Python repo!)

Go Utilities

General-purpose Go libraries and tools.

  • goupd - Auto updater for Go applications
  • uhash - Multi-algorithm hashing tool
  • xuid / xuid-rs - Type-prefixed, base32-encoded UUIDs (Go / Rust)
  • unison - Coalescing duplicate function calls with generics and caching
  • bitmap - Bitmap manipulation
  • ringbuf - Ring buffer with readers
  • weak - Weak reference map (Go 1.18+)
  • textutil - Text processing (word wrapping, etc.)
  • typutil - Type conversion utilities
  • rndstr - Random string generation

Technology Focus

Our 240+ repositories are predominantly written in:

  • Go - Cloud infrastructure, networking, crypto, language runtimes, and utilities, including portablesql
  • Rust - A fast-growing pure-Rust ecosystem (browser, JS engine, SQLite, kernel, toolchain, crypto, networking), including the OxideAV media stack
  • JavaScript/TypeScript - Frontend frameworks and React/Vue components
  • C/C++ - Static library bindings and low-level tools
  • Python - USD tools and analysis utilities

Contributing

We welcome contributions! Each repository has its own contribution guidelines. Feel free to open issues or submit pull requests.


Tokyo, Japan

Popular repositories Loading

  1. goro goro Public

    PHP in Go

    PHP 695 33

  2. teamclaude teamclaude Public

    Multi-account proxy for Claude Code and Codex: pools Claude Max, ChatGPT/Codex, API-key and third-party backend accounts, and rotates on quota

    JavaScript 334 110

  3. usdpython usdpython Public

    Apple's usdzconvert and other USD-related tools

    Python 72 13

  4. reflink reflink Public

    Reflink file copy in Go

    Go 40 9

  5. squashfs squashfs Public

    SquashFS implementation in pure Go (read/write)

    Go 20

  6. magictls magictls Public

    Automatic support of PROXY PROXYv2 and TLS support on TCP streams

    Go 13

Repositories

Showing 10 of 243 repositories

Top languages

Loading…

Most used topics

Loading…