A beautiful showcase for all your GitHub repos. π¨
πΉ Easy Setup β’ β‘ Automated Deployment
π¨ Customizable β’ π Modern Design
π Effortless Updates β’ π Live Demo Available
Before you start, make sure you have a GitHub account.
Click the Fork button at the top right of this page to create your own copy of the repository.
Tip
Itβs recommended to keep the repository name as RepoGallery
.
Important
These settings must be configured via the GitHub Website (GitHub Mobile doesn't support these settings).
Make sure your repository is set up correctly:
- You will see the Workflows are disabled in default
- Select the RepoGallery workflow from the left sidebar
- You will see the Scheduled workflows are disabled by default in forks warning message
Tip
If you want to customize your showcase, skip this step and go to Step 4.
To ensure GitHub Actions is working properly, manually trigger the workflow:
- Go to the Actions
tab
- Select the RepoGallery workflow on the left sidebar
- Click the Run workflow button
Note
The workflow will also run automatically every day at UTC 00:00 π.
Any push
to the main
branch will also trigger the workflow.
π¨ Customize your showcase by editing the config.yaml
. You can:
- Change the website title
- Adjust the theme colors
- and more!
After editing, commit and push your changes.
Tip
If you didnβt manually trigger Step 3, this push
will trigger the workflow and deploy your page automatically.
For more usage details, please refer to the config.yaml file.
Once GitHub Actions has successfully run and GitHub Pages is deployed (this may take a few minutes), your showcase will be available at:
π https://<your-github-username>.github.io/RepoGallery
Tip
You can also find the URL in your repositoryβs About settings by clicking Use your GitHub Pages website.
If you want to keep your forked repository updated with the latest changes from the RepoGallery, follow these steps:
Warning
If you want to keep your changes, DO NOT click Discard n commits.
This will reset your fork to match the original repository.
Run the following commands in your terminal:
#!/bin/bash
cd RepoGallery
chmod +x sync.sh
./sync.sh
When GitHub Actions (repo_gallery.yaml
) runs, it automatically executes generate_html.py
, which:
- Reads
config.yaml
- Uses the templates from the
templates/
folder to generate a new html file
Then GitHub Actions will deploy the latest changes to GitHub Pages.
Check out:
- The scripts inside the
script/
folder - The templates inside the
templates/
folder
Enjoying this project? Keep me caffeinated so I can keep improving it!
Support my work on Buy Me a Coffee π
This project is licensed under the Apache License 2.0