yindle

Note: this project was renamed from presswork to yindle in November

  1. The rest of this document is the original 0.1.0 announcement, kept as published. See CHANGELOG for the rename note.

presswork 0.1.0: a memory-safe CUPS replacement in Rust

Today we are releasing presswork 0.1.0, a drop-in replacement for the CUPS print spooler and scheduler (cupsd) written entirely in Rust. It speaks the same IPP wire protocol, reads the same /etc/cups configuration files, uses the same /var/spool/cups layout, and honors the same filter/backend process contract - so the clients, queues, admin tools, and third-party drivers you already have keep working, unmodified.

Why rewrite the print spooler

Every byte the print stack handles - IPP attributes, HTTP, PPDs, MIME rules, driver files - crosses parser boundaries that have historically been C’s least safe territory. The September 2024 CUPS vulnerability chain (CVE-2024-47176 and friends) showed remote unauthenticated command injection through exactly those parsers. presswork replaces that surface with a strictly-typed, fuzzed codec: unsafe code is forbidden workspace-wide outside a single audited FFI crate.

What 0.1.0 proves

Try it in one command

curl -fsSL https://raw.githubusercontent.com/vindeckyy/yindle/main/install.sh | sh

Or grab the .deb or tarball from the v0.1.0 release, or evaluate in user space on port 8631 via brew install vindeckyy/tap/presswork.

Roadmap

Short term: crates.io publication for the library crates (ipp-codec is the reusable piece for other Rust printing stacks), distro packaging (nixpkgs submission is open, AUR package prepared), and the hardware-printer test matrix. Longer term: macOS support and a native web admin surface to replace the CGI layer.

presswork is Apache-2.0 OR MIT, independently implemented, and not affiliated with OpenPrinting. Bug reports and compatibility divergences are welcome on the issue tracker.