kishandev2509 => githubInfoJson

Open in Github

📂 Portfolio Helper Repository

This repository serves as a supporting data source for my main portfolio project: Portfolio Website. It contains project data in JSON format and an automated update mechanism to keep the portfolio's project section up-to-date without requiring manual redeployment of the portfolio site.


📌 Purpose


📁 Repository Contents

├── projects_data.json      # JSON file containing project details for portfolio
├── update_portfolio.py     # Python script to fetch GitHub repo data and update JSON
└── .github/workflows/
    └── update.yml          # GitHub Actions workflow to auto-update data hourly

⚙️ How It Works

  1. Data Source – The update_portfolio.py script fetches all public, non-fork repositories for the GitHub user kishandev2509 using the GitHub API.
  2. JSON Generation – The script writes repository details (name, URL, description, created date, last updated date) into projects_data.json.
  3. Automation – A GitHub Actions workflow (update.yml) runs hourly to:

  4. Fetch updated repo data.

  5. Commit changes to projects_data.json.
  6. Push updates to this repository.
  7. Portfolio Integration – The main portfolio site fetches projects_data.json from this repo, ensuring the project list stays fresh.

🚀 Usage

1. Clone this Repository

git clone https://github.com/kishandev2509/githubInfoJson.git
cd githubInfoJson

2. Run the Update Script Manually

You can run the script locally to regenerate the projects_data.json file:

python update_portfolio.py

(Optional: Set a GITHUB_TOKEN environment variable to avoid API rate limits.)


📜 License

This repository is licensed under the MIT License. You are free to use, modify, and distribute it with proper attribution.


🙋‍♂️ Author

Kishan Dev (KD)\
📧 kishandevprajapati4@gmail.com\
🔗 LinkedIn\
💻 GitHub

"Automating updates for a portfolio that evolves as you do."