GitHub API in Portfolios
The GitHub API is free and doesn't require authentication for public data.
Basic usage
const repos = await fetch('https://api.github.com/users/youruser/repos') .then(r => r.json())
You can display name, description, language, stars and more.
Advantages
- Always up-to-date content
- No backend required
- Easy to implement