npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@campfirecreativellc/paperdrive

v1.0.0

Published

Ultra-Dense Physical Hardcopy Archival Storage with 24-bit Color Matrices & Galois Field Reed-Solomon Error Correction

Readme

PaperDrive: Ultra-Dense Physical Hardcopy Archival Storage

Ultra-Dense Physical Hardcopy Archival Storage with 24-bit Color Matrices & Galois Field Reed-Solomon Error Correction

Overview

PaperDrive converts digital payloads into physical optical storage sheets formatted to ISO/IEC 7810 ID-1 card dimensions. The system features multi-channel $GF(2^8)$ Reed-Solomon Forward Error Correction (FEC), capable of recovering from scratches, ink smudges, tears, and environmental wear up to 30% damaged surface area.

Architecture

  • src/error_correction.py:
    • GaloisField: Complete $GF(2^8)$ finite field arithmetic with precomputed log/exp lookup tables (primitive polynomial $x^8 + x^4 + x^3 + x^2 + 1 = 0x11D$, generator base $\alpha = 2$).
    • ReedSolomonCodec: Systematic Reed-Solomon encoder and decoder implementing Berlekamp-Massey locator polynomial synthesis, Chien root search, and Forney syndrome evaluation for combined error and erasure decoding.
    • Supports configurable parity redundancy (standard RS(255, 223) with 32 parity bytes, or archival RS(255, 175) with 80 parity bytes for ~30% physical damage recovery).
  • src/paperdrive_engine.py:
    • PaperDriveEngine: Container framing (b"PDRV" magic header and 4-byte payload length prefix), Reed-Solomon stream protection, 24-bit RGB pixel cell mapping, and SHA-256 cryptographic payload integrity verification.
  • web/: Public-facing Sovereign Archival Web Studio:
    • web/index.html: Interactive ID-1 Optical Card Generator, simulated physical surface damage tool, real-time Reed-Solomon recovery demo, printable card layout, and archival pricing matrix.
    • web/app.js: Client-side JavaScript Galois Field & Reed-Solomon engine.
    • web/styles.css: Archival parchment typography and print-to-laser stylesheets.
    • web/tests/web_rs.test.mjs: Automated Node.js test suite for Galois Field math and card roundtrips.

Installation & Tests

Python Backend Suite

python3 -m unittest discover -s tests -v

Web Archival & Reed-Solomon Suite

node --test web/tests/web_rs.test.mjs

Running Local Archival Studio

npm start
# Serves PaperDrive Archival Studio at http://localhost:11100