Business Website for OpenSource IT Organization - MycroLinks
This website uses a static Jamstack architecture suitable for GitHub Pages deployment.
- Frontend: Static HTML, CSS, JavaScript
- Backend: Node.js script (runs via GitHub Actions)
- API: GitHub REST API via @octokit/rest
- Hosting: GitHub Pages ready
-
Install Dependencies
npm install
-
Environment Variables
Create a
.envfile with:GH_PAT=your_github_personal_access_token GH_USERNAME=your_github_username -
Fetch Projects
npm start
This generates
projects.jsonwith filtered GitHub repository data.
The workflow .github/workflows/fetch-projects.yml automatically:
- Runs daily at midnight UTC
- Runs on push to
mainbranch - Can be triggered manually
- Fetches latest repository data and commits
projects.json
Required Secret: Add GH_PAT to repository secrets under Settings > Secrets and variables > Actions.
Repositories are filtered based on marker files:
.personal- Personal projects.mycrolinks- MycroLinks projects- Both files present - Common projects
Category is determined by the first line in .tags file.
The contact form uses Formspree for email submission.