Initial commit (secrets isolated)

This commit is contained in:
2026-09-25 20:39:33 +10:00
commit c900c80afb
74 changed files with 3094 additions and 0 deletions

20
lib/esp32cam-rtsp/minify.py Executable file
View File

@@ -0,0 +1,20 @@
#!/usr/bin/python3
import sys
import minify_html
if (len(sys.argv) <= 2):
print('Usage: minify.py input.html output.html')
sys.exit(1)
input_file = open(sys.argv[1], 'r')
output_file = open(sys.argv[2], 'w')
html = input_file.read()
input_file.close()
html_minified = minify_html.minify(html, minify_css=True)
output_file.write(html_minified)
output_file.close()
print('Done.')