Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I have tried using a GitHub repo to host photos that I displayed on a different website. IIRC it didn't work great. I would try to access the photos over the raw GitHub URLs and I'm pretty sure they would often 404. Was I holding it wrong? Are there any great guides on this topic? I also remember that "uploading" photos over Git was a pain. Basically could only upload one at a time.


I meant using GitHub to host your whole site through gh-pages, not hotlinking to assets from some other unrelated server. You can even use your own domain.


I think they meant using github to host the page (with photos), not using github as a host for photos (iirc it isn't possible)


Hotlinking tends to be rough because people abuse github for free hosting. If the images are linked in a github page it usualkly works fine.


I just paste a screenshot into a GitHub issue and use the link it gives me.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: