
Stop Hardcoding Your Portfolio Projects. I Built an API to Turn GitHub into a Headless CMS
Every time I finished a new side project, I faced the exact same annoying routine: Open my portfolio repository. Find the projects.json or hardcoded array. Manually type in the new project name, description, and tech stack. Download a screenshot, put it in the public folder, and link it. Push changes and wait for the deployment. As developers, we automate everything, yet we still update our portfolios like it's 2010. I got tired of this, so I built a solution: PortfolioAPI . What is PortfolioAPI? It’s a simple tool that turns your GitHub repositories into a Headless CMS for your portfolio. Instead of manually updating your frontend code, your portfolio fetches data directly from your GitHub repos via one fast API call. Live Link: PortfolioAPI How it works (It takes 2 minutes) Step 1: Drop a meta.json in your repo You just create a meta.json file in the root of any public GitHub repository you want to showcase. { "name" : "My Awesome Project" , "description" : "A short description shown
Continue reading on Dev.to Webdev
Opens in a new tab



