Can I use GH pages as my portfolio?

Won’t it be commercial use if I will use github pages as portfolio to apply? Or prohibited commercial purposes in terms mean e.g. e-commerce web-site?

Using it for your portfolio is perfectly fine and not a violation of the terms of service. You can find a summary of the prohibited use cases on the About GitHub Pages help article:

GitHub Pages is not intended for or allowed to be used as a free web hosting service to run your online business, e-commerce site, or any other website that is primarily directed at either facilitating commercial transactions or providing commercial software as a service (SaaS).

Additionally, GitHub Pages sites must refrain from:

  • Content or activity that is illegal or otherwise prohibited by our Terms of Service or Community Guidelines
  • Violent or threatening content or activity
  • Excessive automated bulk activity (for example, spamming)
  • Activity that compromises GitHub users or GitHub services
  • Get-rich-quick schemes
  • Sexually obscene content
  • Content that misrepresents your identity or site purpose

(Copied from on 2020-08-24 14:49 UTC)

Additional reference: Can I use GitHub pages to host HTML5 games that will be used in social networking service?


To build on this question, what about portfolios for an organisation or company? To showcase clients and give information about the services but are not actually using the website to sell a product - is this within the pages guidelines?

Hey @rachael-fox-ctc,

I am not a lawyer (IANAL) so take that into account, but as far as I can tell using GitHub Pages to promote your business is acceptable. However, you cannot sell anything (products, services, or other goods, whether digital or physical) via GitHub Pages.

If you are very careful about how you construct your site, you should be OK. But you have to careful because you’re likely going to end up in some gray area of the terms of service. In the end, if you’re unsure if you’re violating the terms, pay for a commercial hosting solution somewhere else, e.g. DigitalOcean, Netlify, etc. Most of these providers offer hosting services starting at around $5 USD per month.

1 Like