Obsidian Nightfall is a custom Jekyll theme designed specifically for developers who want to showcase their GitHub repositories on a personalized website automatically. This theme can be used as your main GitHub Page (username.github.io
) or within any sub-repository. It provides a sleek, modern, and dark-themed interface with a focus on readability and usability. Demo
- Automatic GitHub Repository Display: The theme dynamically fetches and displays your GitHub repositories.
- Modal Pop-ups for Repository Details: View repository details, including README files, within modal pop-ups, ensuring a seamless browsing experience.
- Responsive and Dark-Themed Design: A Bootstrap-based dark theme that looks great on all devices.
- Automated Deployment with GitHub Actions: Automatically build and deploy your site using GitHub Actions.
-
Fork this repository: Click the "Fork" button at the top right of this repository page to create a copy under your own GitHub account.
-
Rename the Repository: After forking, rename the repository to
username.github.io
if you want to use it as your main GitHub Page, or to any other name if you want to use it as a project page.
-
_config.yml: Open the
_config.yml
file directly on GitHub and update the following fields:title
: Set this to the title of your website.description
: A short description of your site.url
: Set this tohttps://your-username.github.io
if it's your main GitHub Page, orhttps://your-username.github.io/repo-name
if it's a sub-repo.baseurl
: Leave this empty for the main page or set it to/repo-name
for a sub-repo.
-
index.md: Customize the
index.md
to personalize your landing page. The page automatically lists your repositories. -
Exclude Repos:
- If there are repositories you don’t want to display, you can exclude them by modifying the filtering function in the
index.md
file. - Open
index.md
and locate the following section:
let filteredData = data.filter(repo => { return !repo.fork && repo.name !== 'repo-name-to-exclude'; });
- If there are repositories you don’t want to display, you can exclude them by modifying the filtering function in the
- Replace the Logo: Upload your logo to the
assets/img/
directory directly on GitHub and update the logo path in_layouts/default.html
. - Modify Content: Edit
index.md
and other content files to fit your personal style and information. - Exclude Repos: If there are repositories you don’t want to display, list them in the filtering function in
index.md
.
-
Set Up Secrets:
- Go to your repository settings on GitHub.
- Navigate to "Secrets and variables" > "Actions".
- Click on "New repository secret".
- Name it
GH_TOKEN
and paste your GitHub Personal Access Token (PAT). - Save the secret.
-
GitHub Actions Workflow:
- The workflow file located in
.github/workflows/
is already set up to automatically build and deploy your site whenever you push changes to themain
branch. - Tip: Rename the
.github/workflows/deploy.yml
file to.github/workflows/deploy.yml.example
to prevent the actions from running during setup. Once your setup is complete, renamedeploy.yml.example
back todeploy.yml
to enable the deployment process.
- The workflow file located in
-
Commit Changes on GitHub:
- After making all the changes directly on GitHub, commit them.
-
View Your Site:
- Go to
https://your-username.github.io
(orhttps://your-username.github.io/repo-name
for sub-repos) to see your live site.
- Go to
If you find this project useful, please consider giving it a ⭐ on GitHub. Your support helps me continue creating free, high-quality resources like this.
Creating and maintaining this theme takes a significant amount of time and effort. If you'd like to support my work further, feel free to follow me on GitHub or consider becoming a sponsor. You can also buy me a coffee to keep me fueled for future updates!
- Anchor Linking in Modals: Currently, anchor links within the modal pop-ups are not correctly defined. This is a known issue and will be addressed in a future update. Stay tuned for improvements!
If you encounter any issues or bugs while using this theme, please feel free to open an issue in the GitHub repository. Contributions and suggestions for improvement are always welcome!
Feel free to contribute by submitting a pull request or opening an issue. Contributions that enhance functionality or improve the design are always welcome!
This theme is available under the MIT License. Dedicated with love to my son!
- Jekyll: Static site generator used for this theme.
- Bootstrap: Front-end framework used for styling and layout.
- Font Awesome: For icons.
- GitHub Actions: For continuous deployment.
- Masonry.js: For dynamic layout of repositories.
S. Volkan Kücükbudak