Hello everyone! I just wrote an extremely simply single-page tool using just HTML and Flask to convert google maps links to Osmand.net links, and I would like to host it somewhere.

I don’t need any fancy bells and whistles, as long as it supports Flask as a backend.

Im no web developer, so I haven’t actually hosted my own page anywhere before. As such, simplicity of use and setup is quite important. For example if it allows me to also buy the domain in the same platform thats good.

While I use Flask, there is no data being stored. All the flask app does is take the link given by the user, convert it to the osmand.net format, and return it. Super simple!

I looked on buy-european.net and found Infomaniak Web Hosting. I quite like the fact that they use 100% renewable energy to power their servers according to the page above, but I’m not sure if it would be the best option given how inexperienced with all this I am.

Would love to hear your suggestions! Thanks

Edit: Ended up going with hetzner. Site is pretty much set up right now.

gmaps2osm.de

It has some screen-reader support (still need to get it tested by visually impaired people), and is also set up so that you can install it as a PWA on your mobile device (add to home screen).

Here is the github repo: https://github.com/promitheas17j/gmaps2osm

I would really appreciate any feedback from experienced and not so experienced web developers alike :D

  • promitheas@programming.devOP
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    3 days ago

    Thanks. Hetzer seems like its got a good deal (1.76 euro / month max for the lowest tier which should be way more than enough for what I want to do) but when I looked at the scaleway price page I was greeted with several sections like bare metal and compute. Which one should I be looking for to just host a simple webpage? Also, having done a little more research into hosting, I guess I will be going with nginx and gunicorn (correct me please if this is overkill) so I guess having ssh access to the server is necessary. I’ve got linux experience so thats not a learning curve for me at all.

    Edit: Also for hetzer, looking at their most basic tier in more detail, they have this following feature listed:

    Symantec Basic SSL Certificate, duration 1 year
    You can equip yourself with a free basic SSL certificate simply by going to the "SSL Manager" menu tab in your account on the konsoleH user interface.
    
    The offer only stands if Symantec can supply a free certificate for the domain.
    

    Even though I’m not actually reading any sensitive user data or storing anything, I think having https will inspire confidence and is just generally better to have than not, so how can I make sure that my domain is elligible for the free certificate?

    • dangercake@feddit.uk
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      2 days ago

      Everyone should give you a free cert these days - if they dont its easy to get a free one from letsencrypt, buypass, zerossl (probably more). There’s no excuse not to use https really, there’s more to it than “i have nothing to hide” - this is old but still good: https://www.troyhunt.com/heres-why-your-static-website-needs-https/

      Are you running something dynamic (ie with software generating the html)? If its just some html/css/js etc. you could run a static website for free, with everything you need and some quite nice cms-like functionality, on github pages. A lot of other places will host small static sites for free too - you get the bonus of skipping a lot of vulnerabilities. edit - saw you updated the question, this wont work for flask :)

    • Nope@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      4
      ·
      3 days ago

      I maintain several Hetzner VPS (virtual cloud servers). Basic Ubuntu servers with whatever service stack I need. You can easily protect your virtual hardware with the free Hetzner firewall from the cloud admin panel - which will make sure to only let in traffic through the ports you define.

      Really competitive pricing and work well. Can not complain.

      You don’t need to pay for your certificate. Nowadays Letsencrypt is almost the standard for web certificates, as they are trusted and readily available for free. Really widespread all over the internet.