Currently an idea. Based on WebUI
Planning to:
- Use it as a lib
- Communication between the C and the page (Through Websocket)
Why:
- 4.5kb hello world exe (3.5kb with upx)
- Small, clean, readable and hackable code
- No dependencies besides a browser
Compatibility
- OS: Windows, Linux and Mac (Mac untested)
- Browser: Chrome, Chromium, Edge, Vivaldi and Brave (Only Chromium tested)
tcc -lAdvapi32 -Wall -Wl,-subsystem=windows -Os -s -o test.exe src.c
Screenshots of example program (on ungoogled-chromium)
Ram usage
No other browser instances were running. If the "app" is run in a browser that is already running, this tab of "app" will add less than 20mb of ram usage. (these numbers must vary a lot between browsers and, mainly, the content of the page)