// = http server examples - So you need to easily share something with someone in the same network :id: 85fd1f19-752f-4e28-a3b6-ce72f258b2fc :author: Andrei Clinciu :website: https://andreiclinciu.net/ :publish_at: 2015-12-16 15:10:00Z :heading_image: \N :description: \N :type: article :tags: :keywords: :toc: left :imagesdir: ../assets/
image::{heading_image}[] So, you need to simply share something with someone on the same network without going through facebook or anyother chat application.
Use a simple HTTP server! The examples below are meant for Linux users, I’m sure you can use them on Windows aswell.
== For python you can use
python -m SimpleHTTPServer 8000
=== If you have PHP installed
php -S localhost:8000
=== A node.js server
sudo npm install http-server -g + http-server
For TCL you can use tanzer, tclhttp but I haven’t been able to find a oneliner so I’ll exclude this untill later.