Creating GitHub Profile README
A few months ago, GitHub launched a feature that allows its users to use a specific README file to improve the way they interact with the community. I liked it a lot since it offers a great way to show your personality and what you're up to.
If you just want to know how to do it, jump to the GitHub Profile README section, if you want to understand a bit about what I'm talking about, keep on reading. :)
The README file
README files are commonly included in software releases. They may have variant names like ReadMe, READ.ME and its translations, like LEAME (es) and LEIAME (pt). The name is usually written in capital letters to make it stand in the highest level possible inside the directory it is contained.
The objective of the README file is to contain information about what is being delivered. Common topics are:
- Configuration, installation and operation instructions
- Copyright and Licensing information
- Troubleshooting
- Credits
- Changelog
Adding a README to repositories is a common practice. Usually, there's a brief explanation about the project, how to use and any other info the developer believes it's important, like being open for contributions, if it's still being maintained, etc.
These files are traditionally created in plain text (.txt mostly, but sometimes with no file extension at all), but for repositories on the internet, Markdown (.md or .markdown file extension) is preferred as it's easy to use and the result is great!
Markdown vs GitHub Markdown
Markdown is a markup language, just like HTML, but it's way more legible when not rendered, and provides a certain pattern and clean look when rendered. Unfortunately, unlike HTML, Markdown does not have a worldwide pattern, the closest to that is CommonMark. There's the basic implementation, and after that, many companies created and implemented their styles and functionalities. GitHub is one of them, creating the GitHub Flavored Markdown (GFM), which accepts much of the CommonMark implementation but has some tweaks.
GitHub Profile README
The Profile README is meant to be used to describe a little more about yourself, your account or anything you believe it's interesting to be presented to the person visiting your GitHub profile, much like a software README.
The difference
The print below shows a profile without the Profile README...
... and this is how it looks after I added the file:
To use this feature, we need to:
- Create a new repository with the same username of your account
- Make the repository public
- Create a file named README.md
Complicated? Not at all!
When creating a new repository inside GitHub, we're presented the following page, where we can do almost everything we need.
As you can see, GitHub already tells us that this repository is "✨ special ✨". Just mark it as public and initialize with a README, and we're good to go!
After that, we can click on the README file, click on the edit button, and we can edit the file without even downloading it! Nice isn't it? We can change it anywhere, any time, all we need is a browser and internet connection. :)
Writing stuff down
Ok, we created our Profile README. Now what?
Now we write anything we want! As I said, we can change it anytime we want, and the effect is immediate, we're free to use our imagination! With Markdown we can use links, images, tables, and with GFM we have access to some unique features, like syntax highlighting, username mentions, task list and emojis!
In my profile, I wanted to write a bit about myself, my nicknames, my professional status and what I'm working on. There are also links to my main social media, blog and resume.
This awesome repository has a lot of templates where we can get ideas to build our awesome profile README.
Feel free to contact me to show what you've created! I would love to see it!