Publish and share your own website for free with GitHub

Struggle with complex and pricey web hosting no-mo!

Scott Vinkle

--

Photo by Matthew Henry on Burst

GitHub is not only a great place to store and share your code with others but they also offer free web hosting of your HTML, CSS, and JavaScript projects!

In this article I’ll show you how to get setup in order to publish and share your own static HTML website on GitHub using the GitHub Desktop app! 🚀

1. Create a GitHub account

First thing’s first: get yourself a GitHub account! You won’t have access to the free hosting or any other awesome features GitHub has to offer without one.

The GitHub homepage with signup form to the right of the screen. Along the top is the main navigation area. To the left of the screen text reads, “Built for developers” with a description of what GitHub is all about.

With a GitHub account you’ll also be able to chat with other web developers, such as yourself, through Issues, and contribute to other open source projects!

2. Download and install the GitHub Desktop app

This is the app that we’ll use to get our code up on GitHub. It’s easy to use so don’t fret; the user interface is easy to learn!

The GitHub Desktop homepage with a “Download for macOS” link, along with a Windows link. Along the top is the main navigation area. In the middle of the screen text reads, “The new native” with a description of what GitHub Desktop is all about.

(If these links don’t work, explore the GitHub Desktop homepage.)

Open the downloaded application file and continue through the installation process as required with your computer’s operating system.

Next, we’ll be creating a new GutHub project!

3. Create a new GitHub project

Before we upload our code to GitHub we first need to make GitHub Desktop aware of our project files. We do this by creating a new Repository folder, then copy our website files to this new folder.

3.1 — Open up the GitHub Desktop app and click the “Create New Repository” button.

--

--

Scott Vinkle

Accessibility Specialist at Shopify • Speaker, writer, workshop instructor • IAAP CPWA • ScottVinkle.me