one-webpage-under-god/README.md
2025-01-04 18:38:51 -06:00

663 B

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.