TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Hosting a Javascript website on github in Seconds for free

47 pointsby sravfeynabout 13 years ago

7 comments

catshirtabout 13 years ago
this is github pages. it is neither new nor unknown. move along please.<p>first four paragraphs are a personal anecdote, and the last 2 are a regurgitation of the official github pages documentation, which the author links to.
miseabout 13 years ago
Is it sustainable for GitHub to host (static) sites for free?
评论 #3648176 未加载
clarleabout 13 years ago
This will effectively limit you to making requests to services that provide an API that supports JSONP. If you're going to do something like this, why not just use Heroku or something similar? Unless you're relying solely on external APIs, you're going to need some server space sooner or later.<p>Github is good for static pages, like blogs, but I don't think a web application will work that well.
评论 #3648190 未加载
zackzackzackabout 13 years ago
I have a side project where I want to figure out how to host a database on github. If there was a javascript API for doing git business on github, then could just update the database to and fro. It would be messy of course but it wouldn't matter. Because you would have a dynamic app up on github for free (or 7/month if you wanted your secret sauce to stay secret).
评论 #3649516 未加载
评论 #3648595 未加载
评论 #3648819 未加载
krondorabout 13 years ago
I moved my blog to it some time ago and it's been excellent so far. I do kind of think this is out of scope for GitHub, and will probably move to S3 at some point.<p>I did switch from Jekyll to Octopress though (Octopress is a nice framework around Jekyll that automates the annoying manual bits involved with Jekyll). So far it's been great though!
miseabout 13 years ago
If you have written a JavaScript library and it's hosted on GitHub, I wonder if you can somehow include the `master` branch in your `gh-pages` branch as a submodule. Do you get me? If the core repo is clean JS, but where your demo site might want to include that JS, plus some extra pages.
评论 #3648186 未加载
sundar22inabout 13 years ago
You cannot access any arbitary website from Javascript. <a href="http://en.wikipedia.org/wiki/Same_origin_policy" rel="nofollow">http://en.wikipedia.org/wiki/Same_origin_policy</a>
评论 #3648269 未加载
评论 #3648252 未加载