{"id":179,"date":"2026-04-19T10:32:07","date_gmt":"2026-04-19T09:32:07","guid":{"rendered":"https:\/\/vpp.dk\/?linux_trick=run-a-local-http-server-instantly"},"modified":"2026-04-19T10:32:07","modified_gmt":"2026-04-19T09:32:07","slug":"run-a-local-http-server-instantly","status":"publish","type":"linux_trick","link":"https:\/\/vpp.dk\/?linux_trick=run-a-local-http-server-instantly","title":{"rendered":"Run a local HTTP server instantly"},"content":{"rendered":"<p>Serve the current directory over HTTP for quick file sharing on the LAN \u2014 requires only Python 3.<\/p>\n","protected":false},"template":"","meta":{"_trick_code":"python3 -m http.server 8080\n\n# On a specific interface:\npython3 -m http.server 8080 --bind 0.0.0.0\n\n# Then access from another machine:\ncurl http:\/\/<your-ip>:8080\/","_trick_uploader":"quickserve"},"trick_category":[17,22],"class_list":["post-179","linux_trick","type-linux_trick","status-publish","hentry","trick_category-networking","trick_category-scripting"],"_links":{"self":[{"href":"https:\/\/vpp.dk\/index.php?rest_route=\/wp\/v2\/linux_trick\/179","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpp.dk\/index.php?rest_route=\/wp\/v2\/linux_trick"}],"about":[{"href":"https:\/\/vpp.dk\/index.php?rest_route=\/wp\/v2\/types\/linux_trick"}],"wp:attachment":[{"href":"https:\/\/vpp.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=179"}],"wp:term":[{"taxonomy":"trick_category","embeddable":true,"href":"https:\/\/vpp.dk\/index.php?rest_route=%2Fwp%2Fv2%2Ftrick_category&post=179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}