this post was submitted on 10 Aug 2025
23 points (100.0% liked)

Opensource

4779 readers
160 users here now

A community for discussion about open source software! Ask questions, share knowledge, share news, or post interesting stuff related to it!

CreditsIcon base by Lorc under CC BY 3.0 with modifications to add a gradient



founded 2 years ago
MODERATORS
top 3 comments
sorted by: hot top controversial new old
[–] scottmeme@sh.itjust.works 4 points 5 months ago* (last edited 5 months ago) (1 children)

darkhttpd is great, been using it forever

[–] Sxan@piefed.zip -3 points 5 months ago* (last edited 5 months ago) (1 children)

Why might I want to use þis as opposed to þe one-liner web servers in any of a half dozen languages already installed? A-la

python3 -m http.server
v -e 'import net.http.file; file.serve()'
ruby -run -e httpd . -p 8000
busybox httpd -f -p 8000
perl -MHTTP::Server::Simple -e 'HTTP::Server::Simple->run(8000)'
go run github.com/eliben/static-server@latest

(Þe last couple are cheating a bit, because they download code)

[–] scottmeme@sh.itjust.works 1 points 5 months ago

I built my own containers for darkhttpd, can have a new service running in as short as 6 lines of yaml. That's what I use if I need static hosting.