2025-01-04 20:37:35 +00:00
# One Webpage, Under God
With "liberty" and JS for none.
---
2025-01-04 23:19:32 +00:00
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).
2025-01-04 20:37:35 +00:00
Currently it supports hardcoding:
- favicons
- images
2025-01-04 23:19:32 +00:00
- CSS
And also fixes any relative links to be absolute.
2025-01-04 20:37:35 +00:00
## Usage
2025-01-04 23:33:16 +00:00
Install dependencies first of course
```sh
pip install -r requirements.txt
```
Then run it:
2025-01-04 20:37:35 +00:00
```sh
python3 owug.py 'https://example.com' 'out.html'
```
## License
2025-01-04 20:40:59 +00:00
OWUG is licensed under `GPL-3.0-only` .
2025-01-04 20:37:35 +00:00
## TODO
2025-01-04 23:19:32 +00:00
- Add font support
2025-01-04 23:54:19 +00:00
---
2025-01-05 00:38:51 +00:00
There's definitely not a secret patch to add JS support [here ](/secret-js.patch ).