7 ms·
Show HN: I wrote a ~2KB executable file HTTP file downloader without Libc
- indigodaddy 6mo agoDoes this do anything curl can’t or are we just enthralled with the tininess?
- DenisDolya 6mo agoActually hfile has nothing new, So the basic philosophy here is a small binary.
- Retr0id 6mo agoI did a <4KB one that supports DNS+TLS (albeit insecurely) https://github.com/DavidBuchanan314/kurl/ https://github.com/DavidBuchanan314/kurl/
- DenisDolya 6mo agoThis is of course great, and very creative, but why not use an HTTP proxy if this TLS is still unprotected? Did I misunderstand something?
- Retr0id 6mo agoMany servers support TLS only, so implementing the client side of TLS was a matter of compatibility, not security. If external dependencies are allowed then why not just use libcurl?
- goosethe 6mo agohttps://gist.github.com/seanwevans/3e9ba17431d5464092d0fb839442545b https://gist.github.com/seanwevans/3e9ba17431d5464092d0fb839... this compiles to 10kb on my machine with no golfing. it literally just supports grabbing whatever is at the url given (http 1.0)