My PhD supervisor always told me that we write papers "for the ages". The publication system being what it is, we cannot go back and update any links, so we should not cite or reference a source that may be gone in five years.
With that in mind, I'm looking for a place to host a small open-source web-application, consisting only of static assets (HTML, CSS, JavaScript), and I would like to link to it from my paper. GitHub being as big as it is, I suppose I will trust them for storage, but they do not offer hosting. Ideally, someone reading the paper should be able to go right to a URL and run the app.
Any thoughts?