How to create a GitHub Profile README
Tags: github, githunt, markdown, tutorial
Published: 2021-07-13 06:56:22

We launched GitHub Profile READMEs last year and developers have been loving this feature.

When we launched the Profile README, we put out a short clip letting you know how to create yours.

{% youtube -otyb0ngsa4 %}

Since then, I'm constantly getting asked on [my live streams](https://twitch.tv/MishManners) for templates, tutorials, and ideas on setting up your profile. So I thought I'd write down some ideas, as well as snippets of code you can use.

## Step 1. Creating your Profile README

Before we jump into the steps on how to create a Profile README, check out mine for inspiration:

{% github mishmanners/mishmanners %}

I'll be sharing ideas and code snippets from my profile.

To setup your profile, you'll first need to create a special README repo:

1. Log into GitHub and go to your profile
2. Click on "Repositories"
3. Click "New"
4. Make your repositories name the same as your username
5. Ensure your repo is set to "Public"
6. Check the box that says "Add a README file"
7. Click "Create Repository"

![SpecialRepoCreate](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hdloksytmons6vygoewr.JPG)

You should have a cool green box that says that repo "is a special repository".

![Special Repo](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pficx3cye8awx4hndxji.JPG) 

Now it's time to customise and personalise your Profile README.

## Step 2. Customising your Profile

Firstly, you'll want to think about the types of things you want in your profile. Do you want gifs or images? What kind of information do you want to showcase? Do you want to talk about yourself, your projects, or your work?

It's often a good idea to map out a bit of a plan before you jump into creating your profile - even if that plan is only in your head! :smirk:

### Adding images and gifs

Images and gifs are a great way to embed some flair into your profile. They are also super easy to add. You can now drag and drop a gif or image directly into markdown.

If you'd like a little more control over your image however, use this snippet of code:

` <a href="URL_REDIRECT" target="blank"><img align="center" src="URL_TO_YOUR_IMAGE" height="100" /></a> `

Here's what each of the elements do:
- `a href` allows you to link to any URL. If you don't want to link to anything, you can remove the `href` if you like, or just leave the URL blank and you can come back to it later.
- `target="blank"` means the URL you linked to above will open in a new tab.
- `img align="center"` will make your image justified to the center. You can use "left" or "right" too.
- `src` is the URL where your image can be found. You can make this a public URL, but I highly recommend uploading your image to GitHub as you can guarantee your image will always live at that URL.
- `height` is the height of your image. You can also use "width". The height or width is useful for ensuring all your images have the same dimensions.

Copy and paste the code snippet above and add in the URL to your image or gif. Now you have some cool images on your profile.

### Where to find social icons

Speaking of cool images. You might have noticed a lot of people have some pretty slick looking social icons on their profile. Mine for example has a bunch of sleek social media and gaming icons.

![Social icons](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ysm42nzsojh6241g34cu.JPG)
 
Where can you find these? There are a couple of places to look:

- [Simple Icons](https://simpleicons.org/) are a really good place to start. They have hundreds of free vector icons and they are always updating them. Plus it's all open source!
- [Flaticon](https://www.flaticon.com/) has a lot more coloured icons to choose from. There are various artists here so you'll find that not everything has the same style or is 'official'. Since these are made by artists, you'll need to credit the creator of the icon, unless you pay a premium.
- [Icons8](https://icons8.com/) is similar to Flaticon. Again, if you are using artist created icons, you'll need to credit the designer.
- [Wikimedia Commons](https://commons.wikimedia.org/) is great if you're looking for the official icons, free of charge. They have thousands of free, official logos that are part of creative commons. For example [this is the search result for "Xbox logo"](https://commons.wikimedia.org/w/index.php?search=xbox+logo&title=Special:MediaSearch&go=Go&type=image).

### Adding GitHub stats

Okay so you have some awesome pictures, links, and social media icons. But what about all those cool GitHub charts you might have seen floating around?

![Stats](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x83v7m9069k4ze4pf22m.JPG)

These are really easy to setup thanks to the open source people who created them. Firstly, there's the [GitHub README Stats](https://github.com/anuraghazra/github-readme-stats) by [Anurag Hazra](https://twitter.com/anuraghazru).

{% github anuraghazra/github-readme-stats %}

The README contains lots of information on setting up the stats, how to display them, and what themes are available. You can choose to use GitHub stats, pins, top languages, and daily stats. For mine, I added in the `src` to control the width of the image:

`<img src="https://github-readme-stats.vercel.app/api?username=YOUR_USERNAME&show_icons=true&theme=ADD_THEME_HERE" width="400">`

If you want to add the GitHub streak to your profile, then head on over to [GitHub README Streak Stats](https://github-readme-streak-stats.herokuapp.com/demo/).

![Streak](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/26f1j5sirsq4mdccegh2.JPG) 

You can put your username directly into this website and you'll receive the code snippet to add to your profile. Go and check out the repo for more info on how to customise this one.

{% github denvercoder1/github-readme-streak-stats %}

## Adding your GitHub Skyline

Lots of people have seen this on my GitHub profile and have asked how to get it:

{% twitter 1362181990473109505 %}

Head over to the [GitHub Skyline page](https://skyline.github.com/), and enter your username and select the year. If you like, turn off the UI by hitting the eye in the bottom right corner: ![eyes](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qg4fpe8grpk4dmxwhux9.JPG?display=inline-block)

Then use your favourite gif recorder to grab a short screen capture of your GitHub Skyline. If you don't have a favourite, check out my article on using ScreenToGif:

{% link https://dev.to/mishmanners/the-best-easiest-quickest-way-to-create-screen-capture-gifs-2754 %}

### Other elements

There are a lot of really cool tutorials out there on customising profiles. [This one from Supritha](https://dev.to/supritha/how-to-have-an-awesome-github-profile-1969) has a lot of fun ideas in it. You can search around for more awesome ideas. You'll find posts here on DEV, YouTube, Twitter, and more.

Another really cool way to find what to use on your profile is simply by browsing GitHub. Look around at other people's profiles. If you see something you like, check out their README file and see how they created it. There are so many creative things you can do, you just need to get started. Then you can continue adding amazing elements once you find them.

If you liked this article, don't forget to read up on last week's tutorial. I did a short write up on how to add Actions to your profile.

{% link https://dev.to/mishmanners/how-to-enable-github-actions-on-your-profile-readme-for-a-contribution-graph-4l66 %}

You also might like to brush up on some of the GitHub-Flavoured Markdown changes I dove into a few weeks back:

{% link https://dev.to/github/updates-to-github-markdown-making-it-easier-for-you-to-build-amazing-things-49fj %}