One Webpage, Under God, with "liberty" and JS for none
Find a file
2025-01-04 18:38:51 -06:00
.gitignore secret commit 2025-01-04 17:54:19 -06:00
owug.py clean up code 2025-01-04 18:13:48 -06:00
README.md fix readme 2025-01-04 18:38:51 -06:00
requirements.txt switch to faster base64 implementation 2025-01-04 17:33:16 -06:00
secret-js.patch secret commit 2025-01-04 17:54:19 -06:00

One Webpage, Under God

With "liberty" and JS for none.


This makes any page a portable, single file with no external dependencies - with, of course, "liberty" (no options) and JS for none (it doesn't do JS).

Currently it supports hardcoding:

  • favicons
  • images
  • CSS

And also fixes any relative links to be absolute.

Usage

Install dependencies first of course

pip install -r requirements.txt

Then run it:

python3 owug.py 'https://example.com' 'out.html'

License

OWUG is licensed under GPL-3.0-only.

TODO

  • Add font support

There's definitely not a secret patch to add JS support here.