So next up, we're going to talk about GitHub pages, a pretty fun fun is the wrong term.
I guess a useful feature of GitHub is that we can actually host Web pages out of GitHub, repositories
for free very easily with basically a single click of a button.
Once our code is up on GitHub, we can host a website.
Now, there are some restrictions.
This is not a full fledged hosting service.
You can't do anything except static Web pages.
So that means no server side languages like Python, Ruby or Noad, your purely HTML, CSC and JavaScript.
That's what you're limited to, client side static pages.
But you can still create really amazing portfolio websites or documentation websites for your repositories.
You can host, you know, if you build a JavaScript game, you can use GitHub pages to host that, but
you don't want to use GitHub pages for any like high capacity website where you're expecting a lot of
traffic.
It's it's not really meant for that, but it's a really nice feature.
And again, it's free and it's built into GitHub.
So it makes hosting very, very easy for certain situations.
So I'm going to show you some examples.
Here's the GitHub pages homepage where they explain how it works.
There's a video you can watch.
Then they have the instructions.
But if we go to a project like Fakher, which is a JavaScript library, this is the actual project on
GitHub, right?
It's open source.
This is the entire repository, all the collaborators or contributors, rather.
If I scroll down, though, there's a link right here to view the documentation.
So it's not the most beautiful website, but it is documentation, it has to do with the library.
Facher It's OK if you have no idea what it is, but this is Ducks' for this project.
And if you notice this, YORO, it has a GitHub in the you are GitHub Io.
So all GitHub pages are going to use that domain, GitHub Io, you can change that, you can actually
customize it and set it up to use your own URL, but I'm not going to go into that.
But that tells us this is actually hosted thanks to GitHub pages.
And here's another example.
This is a repository.
I'm on the wrong page.
Here we are.
This repository is a fork.
If that 2048 game where somebody, this person here evolve, evolve, created a solver and a solver
for the popular game 2048.
So we can see the code here.
But also thanks to GitHub pages, there's a tutorial I can go to to view the website.
And I don't know if you can see this.
I'll zoom in.
Hopefully it's evolved.
GitHub Daddio slash 2048 API.
So it has GitHub in there again, GitHub Io.
So this is another example where there's the actual repository, there's a read me, there's information
about the project, but then there's a corresponding website and it happens to be hosted by GitHub.
Same thing that we saw with Facher.
Here is the project, the repository and GitHub.
And here's a website that goes along with that project.
It pertains to that project and it has GitHub and that URL as well.
So there are two types, two flavors of GitHub pages.
There are user sites and project sites.
So I'm going to focus on project sites for every single GitHub repository you creates.
You can have a corresponding hosted website.
So that is.
Yeah, every single reffo you make, every project you can have your own corresponding website and the
default URLs are going to follow this pattern, whatever your username is.
So I'm called it's my username called GitHub Daddio Slash and then whatever my repo name is, you know,
Portfolio or 2048 Klown or something like that.
So that's one per project.
Then there's also user sites.
You are limited to one of those one per GitHub account.
And this is a different application.
It's actually set up differently as well.
I'm not going to spend as much time on it, but this is where you could host something like a personal
website, a portfolio, anything that you want to be based upon your username, GitHub, Iyo, so Colts',
GitHub, Io, Samantha Jones, GitHub, Daddio, where it's not a project, it's not a particular repository.
Instead, it's about you or your or your group, your organization.
You are allowed one per GitHub account.
But we're going to focus on project sites like the two that I showed you.
We have a repo here and then a corresponding documentation website and then we have another repo here
and then just a diploid version of this project that we can interact with.
So in the next video, I'm going to show you how to set this up.
It is very simple.
Now, you will need to know a little bit of HTML just to make websites, but the actual mechanism to
turn it on with GitHub pages is very easy.
So that's coming up.