{"id":29892254,"url":"https://github.com/whiteshadow1234/github-portfolio","last_synced_at":"2025-08-01T01:22:07.892Z","repository":{"id":304817813,"uuid":"1020077878","full_name":"whiteSHADOW1234/GitHub-Portfolio","owner":"whiteSHADOW1234","description":"A sleek, customizable Next.js portfolio for showcasing GitHub repos—with search, tags, analytics, and auto-deploy via GitHub Pages. ⭐ Fork, star, and tailor it to your style!","archived":false,"fork":false,"pushed_at":"2025-07-23T11:34:34.000Z","size":2718,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-23T13:23:55.566Z","etag":null,"topics":["github-actions","github-api","github-pages","portfolio","portfolio-page","portfolio-site","portfolio-website"],"latest_commit_sha":null,"homepage":"https://whiteshadow1234.github.io/GitHub-Portfolio/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/whiteSHADOW1234.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-15T09:58:29.000Z","updated_at":"2025-07-23T11:34:38.000Z","dependencies_parsed_at":"2025-07-16T02:10:49.628Z","dependency_job_id":"0288340c-3f45-4ed0-a9a2-0c59d61f8d69","html_url":"https://github.com/whiteSHADOW1234/GitHub-Portfolio","commit_stats":null,"previous_names":["whiteshadow1234/github-portfolio"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/whiteSHADOW1234/GitHub-Portfolio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whiteSHADOW1234%2FGitHub-Portfolio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whiteSHADOW1234%2FGitHub-Portfolio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whiteSHADOW1234%2FGitHub-Portfolio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whiteSHADOW1234%2FGitHub-Portfolio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whiteSHADOW1234","download_url":"https://codeload.github.com/whiteSHADOW1234/GitHub-Portfolio/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whiteSHADOW1234%2FGitHub-Portfolio/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268152922,"owners_count":24204050,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github-actions","github-api","github-pages","portfolio","portfolio-page","portfolio-site","portfolio-website"],"created_at":"2025-08-01T01:22:07.041Z","updated_at":"2025-08-01T01:22:07.880Z","avatar_url":"https://github.com/whiteSHADOW1234.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Portfolio\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Tailwind_CSS-38B2AC?style=for-the-badge\u0026logo=tailwind-css\u0026logoColor=white\" alt=\"Tailwind CSS Badge\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/next%20js-000000?style=for-the-badge\u0026logo=nextdotjs\u0026logoColor=white\" alt=\"Next.js Badge\" /\u003e\n  \u003cimg src=\"https://img.shields.io/github/license/whiteSHADOW1234/Bopomofo_flashcards?label=license\u0026style=for-the-badge\" alt=\"License Badge\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/node.js-20.18.0-blue?style=for-the-badge\" alt=\"Node.js Badge\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/npm-10.9.0-orange?style=for-the-badge\" alt=\"NPM Badge\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/PRs-welcome-black?style=for-the-badge\" alt=\"PRs Welcome Badge\" /\u003e\n\u003c/p\u003e\n\n**GitHub‑Portfolio** is a static Next.js site that automatically pulls in your public GitHub repos and showcases them—alongside a personalized intro—via **interactive, clickable tags** like `security`, `software`, `hardware`, and `machine-learning`. Unlike typical portfolio templates, it combines **hands-free GitHub automation**, **developer-defined** topical interests, and dynamic filtering to create a personalized, always-updated showcase. Just fork, customize your tags and intro, and deploy instantly with GitHub Pages—all without a backend.\n\n\u003e [!NOTE]\n\u003e **This project is intentionally simple and beginner-friendly.** Feel free to tweak the UI, refactor components, change layout behavior, or even replace the entire filtering logic—this is just a basic starter to get you up and running quickly. Your creativity is welcome!\n\n## Table of Contents\n- [Demo](#demo)\n- [Features](#features)\n- [Setup \u0026 Usage](#setup--usage)\n- [Contributing](#contributing)\n\n\n## Demo\n\n![DEMO Screenshot](screenshot.gif)\n**Live Site:** https://whiteshadow1234.github.io/GitHub-Portfolio/\n\n## Features\n\n- **Automated Updates**: Fetches repository data every 6 hours\n- **Self‑Intro Section**: Brief developer introduction with following tag section\n- **Tag Filters**: Filter projects by self-defined tags like **security**, **software**, **hardware**, **machine‑learning** \n- **Search \u0026 Filter**: Find repositories by name, description, or language\n- **Analytics**: View total stars, forks, and activity insights\n- **Responsive Design**: Works on desktop, tablet, and mobile\n- **Easy Setup**: One-click deployment with GitHub Actions\n\n### Main File structure\n```bash\ngithub-portfolio/\n├── .github/workflows/nextjs.yml     # CI/CD workflow\n├── app/\n│   ├── components/                 # React components\n│   │   └── RepoCard.js             # Individual repo card\n│   └── pages.js                    # Next.js pages\n├── public/                         # Static files\n│   └── repos.json                  # Repositories' data\n├── scripts/                        # Build scripts\n│   └── fetch-repos.js              # Repository fetching\n├── styles/                         # Global styles\n│   └── globals.css                 # Tailwind CSS\n├── .env                            # Environment template\n├── .gitignore                      # Git ignore rules\n├── package.json                    # Dependencies and scripts\n└── README.md                       # Documentation\n```\n\n\n## Setup \u0026 Usage\n\n1. Fork this repository\n    Click the `Fork` button in the top right corner of this repository.\n2. Clone the repository\n    ```bash\n    git clone https://github.com/whiteSHADOW1234/github-portfolio.git\n    cd github-portfolio\n    ```\n3. Install dependencies\n    ```bash\n    npm install\n    ```\n4. Create environment file\n    Create a `.env` file right under the root directory and fill in the data:\n    ```bash\n    GH_USERNAME=YOUR_USERNAME\n    ```\n5. Define the repositories you want to show on the portfolio in `scripts/fetch-repos.mjs`\n    ```javascript\n    const includedRepoNames  = [\n    'YOUR_REPO_NAME_1',\n    'YOUR_REPO_NAME_2',\n    ...\n    ]\n    ```\n6. Complete the **Self-Intro** section in `app/pages.js`\n    ```javascript\n        {/* Self introduction section */}\n        \u003csection className=\"mb-2 text-center mx-auto max-w-xl\"\u003e\n            \u003cp className=\"text-lg\"\u003e\n            Hi, I\u0026rsquo;m a developer who enjoys exploring new technologies, and solving real-world problems.\n            I\u0026rsquo;m particularly interested in fields like{' '}\n            \u003c/p\u003e\n        \u003c/section\u003e\n    ```\n7. Define the **Tag section** in `app/pages.js`\n    ```javascript\n    const availableTags  = [\n        'security',\n        'hardware',\n        'software',\n        'web',\n        'mobile',\n        'machine-learning',\n        ...\n    ];\n    ```\n    \n\u003e [!NOTE]\n\u003e To fully use the **tag filtering** feature, make sure you’ve added the matching topic tags (e.g., `security`, `hardware`, `software`, `machine-learning`) in the **\"Topics\"** section of each GitHub repository — visit your repo page → **About → Topics** to add them.  \n\n8. Deploy GitHub Pages\n\n    Push the updated code to the `main` branch to trigger the GitHub Actions' deployment workflow.\n\n### Development Commands\n```bash\n# Start development server\nnpm run dev\n\n# Fetch latest repositories\nnpm run fetch\n\n# Build for production\nnpm run build\n\n# Preview production build\nnpm run build \u0026\u0026 npm run start\n```\n### GitHub Token (Optional but Recommended)\nFor higher API rate limits, create a GitHub Personal Access Token:\n\n1. Go to GitHub Settings → Developer settings → Personal access tokens → Tokens (classic)\n2. Generate new token (classic)\n3. Select scopes: public_repo (for public repos only)\n4. Copy the token\n\n#### For GitHub Actions:\n\n- The `GITHUB_TOKEN` is automatically available\n- No additional setup required\n\n#### For local development:\n\n- Add token to `.env.local` or `.env` file\n- Provides 5000 requests/hour vs 60 without token\n\n### CI/CD Workflow\nThe GitHub Actions workflow (`.github/workflows/nextjs.yml`):\n\n- **Triggers:** Push to main, every 6 hours, manual dispatch\n- **Steps:**\n    1. Checkout code\n    2. Setup Node.js\n    3. Install dependencies\n    4. Fetch latest repositories\n    5. Build Next.js app\n    6. Deploy to GitHub Pages\n\n## Contributing\n\n1. Fork the repository\n2. Create feature branch: `git checkout -b feature/amazing-feature`\n3. Commit changes: `git commit -m 'Add amazing feature'`\n4. Push branch: `git push origin feature/amazing-feature`\n5. Open Pull Request\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhiteshadow1234%2Fgithub-portfolio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhiteshadow1234%2Fgithub-portfolio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhiteshadow1234%2Fgithub-portfolio/lists"}