glnk-template - Template Repository for glnk-dev User Pages
Welcome to the glnk-template repository! This template serves as the foundation for creating personalized <username>.glnk.dev
pages. It includes the necessary HTML generator and GitHub Actions workflow to deploy user-specific go link mappings.
- HTML Generator: Automatically generates HTML pages based on the
glnk.json
file. - GitHub Pages Integration: Seamless deployment to GitHub Pages.
- Automated Workflows: Includes a GitHub Actions workflow for continuous deployment.
- Fork this template repository to our organization.
-
Fork the Repository:
- Fork this repository to your GitHub account.
-
Clone Your Fork:
- Clone the forked repository to your local machine:
git clone https://github.com/<your-username>/glnk-template.git cd glnk-template
- Clone the forked repository to your local machine:
-
Customize
glnk.json
:- Update the
glnk.json
file with your go link mappings. Example structure:{ "/short-link-1": "https://example.com/long-url-1", "/short-link-2": "https://example.com/long-url-2" }
- Update the
-
Update CNAME File:
- Update the
CNAME
file with your<username>.glnk.dev
subdomain:<username>.glnk.dev
- Update the
-
Push Changes:
- Commit and push your changes to the main branch:
git add . git commit -m "Initial commit with custom go links" git push origin main
- Commit and push your changes to the main branch:
-
Enable GitHub Pages:
- Go to the repository settings on GitHub.
- Under the "Pages" section, set the source to the
GitHub Actions
.
This template includes a GitHub Actions workflow that automatically deploys the generated HTML pages to GitHub Pages. The workflow is defined in the .github/workflows/deploy-pages.yml
file.
We welcome contributions from everyone. Here are some ways you can contribute:
- Report Bugs: Found a bug? Please create an issue.
- Feature Requests: Have an idea for a new feature? Let us know by opening an issue.
- Pull Requests: Ready to contribute? Check our open issues and submit a pull request.
For any issues or questions, please open an issue on our GitHub repository or contact us at support@glnk.dev.
This project is licensed under the MIT License. See the LICENSE file for details.
Special thanks to all contributors and the open-source community for their continuous support and inspiration.