3 ms·
I worked at a company that acquired expage.com, which was a late 90s/early 00s homepage builder. The entire site was a single C source file littered with embed
by tomnipotent 5y ago
I worked at a company that acquired expage.com, which was a late 90s/early 00s homepage builder.
The entire site was a single C source file littered with embedded HTML, a few separate HTML files for things like an FAQ, and a directory of compressed user page data in some proprietary format (including images) that was decompressed on-the-fly. Served over Apache with some CGI magic.
https://web.archive.org/web/20000302105807/http://www.expage.com/ https://web.archive.org/web/20000302105807/http://www.expage...
- selcuka 5y ago> [...] a directory of compressed user page data in some proprietary format (including images) that was decompressed on-the-fly. Served over Apache with some CGI magic. This is pretty neat. I believe that was done to save on server storage, and before client side gunzip was a thing?
- jamal-kumar 5y agoCan you believe some of us crazy people still do this? https://git.zx2c4.com/cgit/ https://git.zx2c4.com/cgit/ cgit is the git repo frontend for projects like wireguard https://undleadly.org https://undleadly.org has its source code in the sidebar for you to check out in C as well https://learnbchs.org/ https://learnbchs.org/ key is OpenBSD or other OS's (less easy to use) sandboxing if you're going to do this remotely safely - check this for more https://learnbchs.org/pledge.html https://learnbchs.org/pledge.html
- badsectoracula 5y agoWhile not a single C file, Fossil SCM also uses C with HTML inside it (it uses a custom preprocessor[0] for it), e.g. check the chat.c file[1]. The entire program ends up in a single binary file too. [0] https://fossil-scm.org/home/file?name=tools/translate.c&ci=trunk https://fossil-scm.org/home/file?name=tools/translate.c&ci=t... [1] https://fossil-scm.org/home/file?name=src/chat.c&ci=trunk https://fossil-scm.org/home/file?name=src/chat.c&ci=trunk
- jamal-kumar 5y agoIf your entire C app is in one file you must be really into pasta cause that's spaghetti
- arthurcolle 5y agolook at antirez' kilo repo sometime. single file stuff is pretty great, not necessarily bucatini
- 0des 5y agoWoah I used to use this site a lot! I always wondered how things worked out for them
- HeckFeck 5y ago> The entire site was a single C source file littered with embedded HTML, a few separate HTML files for things like an FAQ, and a directory of compressed user page data in some proprietary format (including images) that was decompressed on-the-fly. Served over Apache with some CGI magic. I know that it is a very slender hope but it would be cool to see the source of this.