@gedankenstuecke@scholar.social

Very interesting.

May I ask a couple of questions about your python scripts? #RTFM is a valid response, but I'm not at pc now...

1) is it possible to keep track of maps' updates?
2) what the difference between #OpenStreetMaps' maps, the ones from #CoMaps and the one from #OrganicMaps (I didn't know there was a dedicated organic maps server, I thought all maps were from open street maps!)
3) I see the server.py "just" wraps an #HTTPServer: is it possible to publish the downloaded maps on a public (static) shared hosting to be shared with friends?

Given how cheap is shared web hosting these days, this feature might turn #CoMaps to one of the best #privacy preserving tools for people and small communities!

@cnx@awkward.place

Using `python3 -m http.server` for testing, coding or troubleshooting on a machine with a public IP (server, e.g.) is unsafe because by default it binds to `http://0.0.0.0:8000/` (not `127.0.0.1`) which means the directory it serves will be exposed to the whole Internet full of scanners.

P.S. Don't blindly trust me: never tested it in practice.

#Python #Security #HttpServer

Because we moved for some months to the ⛰️ #mountain house to have some family time with my parents, the toy must work as well without access to our home's (local-only) #homeassistant instance, so I enabled the internal #httpserver and bookmarked the (static) ip address in my and wife's phones. Now we can control it also via the mountain house's wifi 🛜
🧵
Welcome! - The Apache HTTP Server Project

Welcome! - The Apache HTTP Server Project

Welcome! - The Apache HTTP Server Project

Welcome! - The Apache HTTP Server Project

#
python -m SimpleHTTPServer [port]
#
python -m http.server [port]
#

#Linux #freeBSD #openBSD #POSIX #python #SimpleHTTPServer #httpServer

Welcome! - The Apache HTTP Server Project