0

I am trying to find a domain to host .html files that are generated in a python project I have made. I am looking for a place where I can host an updated html file every 60 seconds (generated by my project) via an API. I have tried the following options:

1.Dropbox: Drop box offers a very simple hosting system where you can just edit files in a folder shared with dropbox, and the dropbox app will do the rest of the work for you! Surprisingly, this feature is not limited in the number of times you access it. Unfortunately though, displaying html files in dropbox is a bit slow.

2.Netlify Netlify will automatically host a given Github repository if it can be displayed as a webpage for free. Unfortunately, from my testing it seems Netlify only will check your github repository about once every hour

Jesse Reza Khorasanee
  • 3,140
  • 4
  • 36
  • 53
  • Does it need to be non-local? – Ari K Apr 30 '18 at 00:27
  • You could use Amazon S3 or any service like it. – tadman Apr 30 '18 at 00:27
  • @AriK Well it needs to be displayed for a few people to use. I have it running on AWS right now, so in theory I use django and host it there but thought I would try APIs first as they should be easier. – Jesse Reza Khorasanee Apr 30 '18 at 00:40
  • 1
    Thanks @tadman I will have a look at Amazon S3 now – Jesse Reza Khorasanee Apr 30 '18 at 00:40
  • Just updating this, I mentioned AWS in my comment but was naively referring to an Amazon Workspace. Running your python project as a backed on a server is definitely the most efficient way to run it. However for those who don't want to get into setting up servers, domains and SSL Netlify is a nice quick work around. – Jesse Reza Khorasanee Jan 07 '19 at 22:07

1 Answers1

0

Netlify can be used to build files from a github repository into a website. If automatic build is turned on, the site can be updated with a push any location, including the Github Python API.

See this question for an example of how to commit and push to a Github repository with the python API, thus updating a website from python.

Jesse Reza Khorasanee
  • 3,140
  • 4
  • 36
  • 53