LazyOwnInfiniteStorage

Production-grade tool for encoding any file into a video and decoding it back with full data recovery, even after video resolution changes.

Inspired by the concept of DvorakDwarf’s Infinite-Storage-Glitch, this implementation provides a hardened, tested, and self-contained Python utility with CLI, optional GUI, and optional web interfaces.

Architecture

The project follows a strict single-file-per-contract pattern:

Features

Requirements

Install core dependencies:

pip install numpy opencv-python-headless

Install optional dependencies:

pip install flask werkzeug pyqt5 gunicorn

Usage

Command Line

Encode a file using the secure protocol:

python lazyown_infinitestorage.py --mode encode --input file.zip --output video.mp4 --frame_size 640 480 --fps 30 --block_size 4 --protocol secure

Decode a file from a video:

python lazyown_infinitestorage.py --mode decode --input video_640x480.mp4 --output recovered.zip --block_size 4 --protocol secure

Run the built-in test suite:

python lazyown_infinitestorage.py --mode test

Launch the GUI (does not require –mode):

python lazyown_infinitestorage.py --gui

Launch the web server (does not require –mode):

python lazyown_infinitestorage.py --serve --host 0.0.0.0 --port 5000

Web Server (Production)

For production deployment with gunicorn:

gunicorn wsgi_app:app

Protocols

Legacy v1

Secure v2

Security

Testing

Run the full test suite with pytest:

pytest tests/ -v

The test suite covers:

Deployment

The project includes a render.yaml for Render.com deployment:

services:
  - type: web
    name: lazyowninfinitestorage
    env: python
    plan: free
    buildCommand: "pip install -r requirements.txt"
    startCommand: "gunicorn wsgi_app:app"

License

GNU General Public License v3.0

Acknowledgments

Inspired by DvorakDwarf’s Infinite-Storage-Glitch concept. Credited in the code and documentation as the original idea source.

Contributing

See CONTRIBUTING.md for guidelines.

Knowledge Base

This project has been analyzed by ReadMenator, a zero-token polyglot static analysis tool. Regenerate with pip install readmenator && readmenator . --rebuild. Analysis outputs:

Cache (.readmenator_cache/), packaged agent skills (.claude/skills/), and the GitHub wiki mirror are also produced on run/--rebuild.

AI agents: Read readmenator-wiki/index.md first for the big picture, then readmenator-agent/INDEX.md for grep-friendly lookup. Developers: Read KNOWLEDGE_BASE.md for full architecture reference, open readmenator-maps/index.html for the visual gallery.


Deployed with deploynator