Madhurima Mindscape

Modules, Materials, Moments, Memories, and More

🏡 Home 📑 Saved 📂 Blogs

GitHub README to GitHub Pages Website

November 30, 2026

Calculating reading time...

Have you ever wanted to create your own professional portfolio website without spending hours writing HTML, CSS, and JavaScript? What if you could simply use the content you have already written in your GitHub README and turn it into a live website?

With GitHub Pages and Jekyll, you can do exactly that! GitHub Pages provides free static website hosting, while Jekyll converts Markdown files into a fully functional website.

You can write your portfolio content using simple Markdown, organize your projects and professional information, select a Jekyll theme, configure your repository, and publish your website directly through GitHub Pages.

The best part? You do not need to build the entire website from scratch. You can start with your existing README content, use it as your website homepage, and customize the appearance using one of the available Jekyll themes.

My tip: If you already maintain a GitHub profile or repository README, you have a great starting point for building your personal portfolio website.

💎 1. Understanding GitHub Pages and Jekyll

Before getting started, let's understand the two technologies that make this possible.

🌐 GitHub Pages

GitHub Pages is a free static website hosting service provided by GitHub. It allows you to publish websites directly from a GitHub repository.

You can use it to host personal portfolios, project documentation, blogs, landing pages, and other static websites.

💎 Jekyll

Jekyll is a powerful static site generator built with Ruby. It transforms plain-text content, such as Markdown files, into static websites and blogs using templates, layouts, and themes.

It supports layouts, themes, configuration files, collections, and other features that help you organize and publish website content.

💡 Useful Feature: You can use your repository's README content as your GitHub Pages homepage with Jekyll. This lets you maintain your portfolio content in one Markdown file.

🚀 2. Create a GitHub Repository for Your Portfolio

First, create a new repository on GitHub where you will store your portfolio content and website files.

Step 1: Create a Repository

  1. Sign in to your GitHub account.
  2. Click the New repository option.
  3. Enter a repository name, such as My-Portfolio.
  4. Choose whether the repository should be public or private, keeping in mind that public repositories are suitable for publicly accessible portfolio source files.
  5. Initialize it with a README file if you want.
  6. Click Create repository.

You can use any suitable repository name for a project site. If you want a personal user website at https://YOUR-USERNAME.github.io/, create a repository named YOUR-USERNAME.github.io.

Step 2: Prepare Your Portfolio Content

Your portfolio can include the following sections:

  • About Me: Your name, introduction, and professional summary.
  • Skills: Programming languages, frameworks, and tools.
  • Projects: Project descriptions, technologies, and GitHub links.
  • Experience: Work experience, internships, and contributions.
  • Education: Academic background and qualifications.
  • Certifications: Courses and professional certifications.
  • Research: Publications, papers, and research contributions.
  • Achievements: Awards, accomplishments, and milestones.
  • Contact: Email and professional social links.

📝 3. Convert Your GitHub README into Markdown Portfolio Content

This is the most important step. Instead of creating a portfolio website using HTML from scratch, you can write your portfolio content using Markdown.

Markdown is a lightweight markup language supported by GitHub. It makes it easy to add headings, paragraphs, images, links, lists, tables, and code blocks.

If you already have a well-organized GitHub README, you can use its content and convert it into a portfolio-style Markdown document.

Example: Portfolio Content in Markdown

Create a file named README.md in your repository. You can use the following structure as a starting point:

# Hi, I'm Your Name! 👋

### Developer | Technology Enthusiast | Lifelong Learner

Welcome to my personal portfolio!

I enjoy building useful applications, exploring new technologies,
and solving real-world problems through software development.

---

## 👩‍💻 About Me

I am a developer interested in software engineering,
web development, and emerging technologies.

I enjoy learning, experimenting, and working on
projects that help me grow professionally.

---

## 🛠️ Technical Skills

- Programming: Python, Java, JavaScript
- Web Development: HTML, CSS, React
- Database: MySQL, MongoDB
- Tools: Git, GitHub, VS Code

---

## 🚀 Projects

### Project One

A short description of the project, its purpose,
and the technologies used.

- Technologies: Python, Flask, MySQL
- GitHub: [View Repository](https://github.com/USERNAME/PROJECT)

### Project Two

A short description of another project.

- Technologies: HTML, CSS, JavaScript
- GitHub: [View Repository](https://github.com/USERNAME/PROJECT)

---

## 🎓 Education

| Qualification | Institution | Year |
|---|---|---|
| Degree | University Name | 20XX |
| Certification | Training Provider | 20XX |

---

## 📜 Certifications

- Certification One
- Certification Two
- Certification Three

---

## 🔗 Connect With Me

- [GitHub](https://github.com/USERNAME)
- [LinkedIn](https://www.linkedin.com/in/USERNAME)
- [Portfolio](https://USERNAME.github.io)

---

Thanks for visiting my portfolio! 😊

Remember to replace all placeholder content, including names, URLs, skills, project descriptions, and other sample information, with your own details to make the portfolio reflect your experience and work.

What Can You Add Using Markdown?

  • Headings: Use #, ##, and ### to organize sections.
  • Bold text: Use **text** to highlight important information.
  • Links: Use [Link Text](URL) to add project and social links.
  • Images: Use ![Description](image-path) to add photographs or project images.
  • Lists: Use - or numbered items to organize information.
  • Tables: Use Markdown tables to present education, experience, and other structured information.
Important: You can use README.md as the main file for your portfolio. When your GitHub Pages site is configured to publish from the repository root, GitHub Pages can use the root README.md as the website's homepage. You do not need to create a separate index.md or index.html file.

Use README.md as Your Portfolio Homepage

Keep your portfolio content directly in the root README.md file. You can write your introduction, skills, projects, experience, contact information, and other portfolio sections using Markdown. This keeps your content in one place without requiring duplicate files.

If you prefer to create a separate, customized homepage, you can optionally add an index.md or index.html file to your repository root. This is useful when you want more control over the website's layout or want to use a custom Jekyll layout. Otherwise, you can keep using README.md.

Jekyll will include the contents of README.md when generating your website homepage. You can continue editing just the README, and the website will display the updated content after the next successful deployment.

⚙️ 4. Configure Your Website Using _config.yml

Once your Markdown homepage is ready, you can configure Jekyll using a file named _config.yml in the root directory of your repository.

This file contains the website title, description, URL, theme selection, author details, and other configuration settings.

Example: _config.yml

# ==========================================
# Personal Portfolio Website
# ==========================================

title: "My Personal Portfolio"

description: >-
  My professional portfolio showcasing projects,
  technical skills, education, and experience.

# Website URL
url: "https://YOUR-USERNAME.github.io"

# Repository path for a project website.
# Use an empty string for a user/organization website.
baseurl: "/My-Portfolio"

# Author details
author:
  name: "Your Name"

# Jekyll theme
theme: jekyll-theme-minimal

# Markdown configuration
markdown: kramdown
highlighter: rouge

# Permalinks
permalink: pretty

# Exclude development files
exclude:
  - Gemfile
  - Gemfile.lock
  - node_modules
  - vendor

Important Configuration Values

  • title: Defines the website title.
  • description: Provides a short description of your portfolio.
  • url: Specifies your GitHub Pages website's base domain.
  • baseurl: Specifies the repository path for a project website. Use an empty string for a user or organization website.
  • author: Stores your author or portfolio owner information.
  • theme: Selects the Jekyll theme.
  • markdown: Specifies the Markdown processor.

You can change the theme by updating the theme value. For example:

theme: jekyll-theme-cayman

Make sure the theme is supported by your GitHub Pages publishing setup. For supported GitHub Pages themes, use the official documentation and theme repository instructions.

GitHub Pages: Setting up a Jekyll site

Note: A basic GitHub Pages site does not always require a custom _config.yml. You can start with a README file and add configuration when you need to customize Jekyll settings, select a theme, or manage other build options.

🎨 5. Explore Jekyll Themes with Live Previews

One of the biggest advantages of Jekyll is that you can change the appearance of your website without redesigning the entire page.

GitHub Pages supports a collection of official themes. Each theme provides a different visual style, layout, and presentation.

Below are some popular Jekyll themes. You can explore each live preview inside the article and decide which design best suits your portfolio.

1. Architect

A clean and structured theme with a professional project-documentation style. It works well for developer portfolios, technical projects, and documentation websites.

Theme configuration: theme: jekyll-theme-architect

2. Cayman

A modern, minimal theme with a prominent header and a clean content layout. It is suitable for personal portfolios, project pages, and simple landing pages.

Theme configuration: theme: jekyll-theme-cayman

3. Dinky

A compact and straightforward theme with a simple layout. It is a good option for lightweight personal websites and small project documentation pages.

Theme configuration: theme: jekyll-theme-dinky

4. Hacker

A dark, terminal-inspired theme with a distinctive developer aesthetic. It is particularly suitable for programming projects, open-source repositories, and technology-focused portfolios.

Theme configuration: theme: jekyll-theme-hacker

5. Leap Day

A visually distinctive theme with a decorative header and structured content presentation. It can be used for personal websites, project showcases, and documentation.

Theme configuration: theme: jekyll-theme-leap-day

6. Merlot

A stylish theme with a rich visual appearance and decorative design elements. It is useful for personal project pages and content-focused websites where you want a more distinctive look.

Theme configuration: theme: jekyll-theme-merlot

7. Midnight

A dark-themed design with a sleek, minimal appearance. It is a good choice for developers who prefer a dark interface for technical portfolios and project documentation.

Theme configuration: theme: jekyll-theme-midnight

8. Minima

A simple and elegant theme designed primarily for blogs and content-driven websites. It offers a clean reading experience and is suitable for portfolios that include articles, updates, and personal writing.

Theme configuration: theme: minima

9. Minimal

A clean and lightweight theme that keeps the focus on your content. It is a suitable choice for professional profiles, simple portfolios, and project documentation.

Theme configuration: theme: jekyll-theme-minimal

10. Modernist

A modern, minimal design with a distinctive layout. It works well for developers who want their project descriptions and technical content to remain the primary focus.

Theme configuration: theme: jekyll-theme-modernist

11. Slate

A bold, dark visual style with a clear content layout. It is suitable for project showcases and technical websites that benefit from a strong visual identity.

Theme configuration: theme: jekyll-theme-slate

12. Tactile

A distinctive theme with a tactile, polished appearance. It can be used for personal websites and project pages where you want a different style from a conventional documentation layout.

Theme configuration: theme: jekyll-theme-tactile

13. Time Machine

A visually expressive theme with a distinctive vintage-inspired appearance. It can help project pages and personal websites stand out from more conventional layouts.

Theme configuration: theme: jekyll-theme-time-machine

Explore all official GitHub Pages themes: GitHub Pages Themes.

Official Guide: Adding a theme to your GitHub Pages site using Jekyll.

To change your GitHub Pages theme, add the corresponding theme code to your _config.yml file. For example:

theme: jekyll-theme-midnight

📂 6. Organize Your Portfolio Repository

After preparing your Markdown content and selecting a theme, organize the files in your GitHub repository.

A simple project repository can look like this:

My-Portfolio/
│
├── README.md
├── _config.yml
│
├── assets/
│   ├── images/
│   │   └── profile.png
│   └── files/
│       └── resume.pdf
│
└── .gitignore

Purpose of Each File

  • README.md: Displays the project or portfolio description on your GitHub repository page. It can also be used as website content.
  • _config.yml: Stores Jekyll configuration and theme settings.
  • assets/images/: Stores your profile picture and project images.
  • assets/files/: Stores downloadable files such as your resume.

🚀 7. Publish Your Website Using GitHub Pages

Once your Markdown homepage and Jekyll configuration are ready, you can publish your portfolio using GitHub Pages. GitHub Pages can build and deploy your website directly from your repository.

⚙️ Step 1: Enable GitHub Pages

  1. Open your GitHub repository.
  2. Navigate to Settings.
  3. From the left sidebar, select Pages under the Code and automation section.
  4. Under Build and deployment, locate the Source option.
  5. Select Deploy from a branch.
  6. Under Branch, select:
    • Branch: main
    • Folder: / (root)
  7. Click Save.

GitHub will automatically start building and deploying your website. You can monitor the deployment progress from the repository's Actions tab.

After enabling GitHub Pages, your website may take a few minutes to build and become publicly available. You can monitor the build and deployment progress in the Actions tab of your GitHub repository. If the deployment fails, check the build logs for errors and fix them before trying again.

Important: For branch-based publishing from the repository root, make sure the publishing source contains a homepage file such as README.md.

Do You Need _config.yml?

You can publish a basic GitHub Pages website without creating a custom _config.yml file. However, the configuration file is useful when you want to customize the Jekyll website.

  • README.md: Stores your repository documentation and portfolio content. You can use its content in your website homepage.
  • _config.yml: Provides optional Jekyll configuration, including theme selection, site information, plugins, and other build settings.

For a straightforward portfolio, start with README.md and optionally _config.yml. You can add more advanced configuration as your website grows.

🌐 Step 2: Access Your GitHub Pages Website

After successful deployment, GitHub will generate a website URL for your repository.

For a project repository, the website URL generally follows this format:

https://YOUR-USERNAME.github.io/REPOSITORY-NAME/

If you created a user or organization site repository named YOUR-USERNAME.github.io, the website URL will be:

https://YOUR-USERNAME.github.io/

🌐 Example: Developer Resources Hub

For example, consider the Developer Resources Hub repository:

This example demonstrates how a GitHub repository can also have a publicly accessible website through GitHub Pages.

🔗 Step 3: Add Your Website Link to the Repository

Once your website is published, you can display its URL in the About section of your GitHub repository.

  1. Go to your repository's About section.
  2. Click the ⚙️ Gear icon.
  3. Enter your website URL in the Website field.
  4. If available, select the Use your GitHub Pages website checkbox to automatically add your GitHub Pages website URL.
  5. Click Save changes.

Your live website link will now appear in the repository's About section, making it easier for visitors to discover your portfolio.

✅ Step 4: Verify Your Website

  • Open the published website URL.
  • Check that the homepage content appears correctly.
  • Verify that images and links work.
  • Check that the selected theme is applied.
  • Test the website on mobile and desktop screens.

Whenever you update and push changes to the publishing branch, GitHub Pages can rebuild and publish the updated website.

Official documentation: GitHub Pages Documentation.

⚙️ 8. Advanced Jekyll Configuration Example

You can customize your GitHub Pages website using the _config.yml file. The following is an example configuration for a GitHub Pages project site using the Midnight theme.

Example: Developer Resources Hub _config.yml

# ==========================================
# Developer Resources Hub
# Jekyll + Midnight Theme
# ==========================================

# ------------------------------------------
# Site Information
# ------------------------------------------

title: "Developer Resources Hub"
tagline: "Curated collection of developer resources"

description: >-
  A comprehensive collection of valuable resources for developers,
  covering job preparation, programming, frontend, backend,
  AI, machine learning, IoT, databases, and much more.

# Website URL and repository path
url: "https://madhurimarawat.github.io"
baseurl: "/Developer-Resources-Hub"

# ------------------------------------------
# Author Information
# ------------------------------------------

author:
  name: "Madhurima Rawat"

# ------------------------------------------
# Repository Information
# ------------------------------------------

repository: madhurimarawat/Developer-Resources-Hub

# ------------------------------------------
# Language and Localization
# ------------------------------------------

lang: en-US
timezone: Asia/Kolkata

# ------------------------------------------
# Theme Configuration
# ------------------------------------------

theme: jekyll-theme-midnight

# Display the GitHub repository download links
show_downloads: true

# ------------------------------------------
# SEO and Social Sharing
# ------------------------------------------

image: "https://raw.githubusercontent.com/madhurimarawat/Developer-Resources-Hub/main/images/developers_resources_hub_illustration.PNG"

social:
  name: "Madhurima Rawat"
  links:
    - "https://github.com/madhurimarawat"

# ------------------------------------------
# Markdown and Code Highlighting
# ------------------------------------------

markdown: kramdown
highlighter: rouge

kramdown:
  input: GFM
  math_engine: mathjax
  syntax_highlighter: rouge

# ------------------------------------------
# Permalinks and Build Settings
# ------------------------------------------

permalink: pretty

# ------------------------------------------
# Files and Directories to Exclude
# ------------------------------------------

exclude:
  - Gemfile
  - Gemfile.lock
  - node_modules
  - vendor
  - .github
  - .gitignore
  - LICENSE
  - CONTRIBUTING.md

Understanding the Configuration

  • Site Information: Defines the website title, tagline, and description.
  • URL and baseurl: Specify the main GitHub Pages domain and repository path.
  • Author Information: Stores the website owner's details.
  • Repository Information: Identifies the GitHub repository associated with the website.
  • Language and Localization: Defines the website language and timezone.
  • Theme Configuration: Selects the Jekyll theme and controls theme-specific settings.
  • SEO and Social Sharing: Provides information that compatible plugins or templates can use for search and social metadata.
  • Markdown and Code Highlighting: Configures Markdown processing and code highlighting.
  • Exclude: Specifies files and directories that should not be copied into the generated website.
Note: Configuration keys such as tagline and repository are custom metadata fields. They are not automatically displayed by every Jekyll theme; displaying them may require a compatible layout or template that accesses these values using Liquid. Also, GitHub Pages supports a defined set of plugins and dependencies, so check the official documentation before adding additional plugins.

🎉 9. Your Portfolio Website Is Ready!

That's it! You have successfully transformed your GitHub portfolio content into a live website using Markdown, Jekyll, and GitHub Pages.

Your workflow is simple:

  1. Write: Prepare your portfolio content in README.md using Markdown.
  2. Configure: Add _config.yml when you need site settings and your preferred Jekyll theme.
  3. Deploy: Enable GitHub Pages from your repository settings.
  4. Publish: Open your live GitHub Pages URL and share your portfolio!

You can continue improving your website by adding project screenshots, resume links, social profiles, certifications, and new achievements.

Your GitHub README can be more than repository documentation. With a little Markdown, a Jekyll homepage, and GitHub Pages configuration, it can become the foundation of your professional portfolio website.

🎯 Conclusion

Creating a professional portfolio website does not have to be complicated. If you already have your information in a GitHub README, you can use that content and publish it as a website using GitHub Pages and Jekyll.

Start by writing your portfolio content in README.md, configure your website using _config.yml when needed, and choose a theme that matches your preferred design.

Finally, enable GitHub Pages from your repository settings and let GitHub build and publish your website. After deployment, you can share the generated URL or add it to your repository's About section.

No separate hosting subscription is required for a standard GitHub Pages website, and you can keep updating your portfolio directly through your GitHub repository.

Useful Resources:

Happy building! 🚀