Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Portfolio made with reactJs for github pages. Supports light and dark theme.
portfolio is a React.js portfolio template for GitHub Pages that auto-fetches your GitHub profile data and includes a light/dark theme toggle.
portfolio is a single-page React application that turns your GitHub username and personal access token into a personal portfolio website. It consumes your GitHub data — pinned repositories, pull requests, issues, and organizations — and renders them on a static site that you can host for free at username.github.io. The project is maintained by Tasin5541 and is available on GitHub under the repo name portfolio.
git_data_fetcher.js script calls the GitHub API using the token stored in .env and the githubUserName value, so your live activity populates the page without manual updates.npm install, npm run build, npm start, and node git_data_fetcher.js for data fetching.build folder to a username.github.io repository.src/portfolio.js holds your personal details, and skill icons on the home page can be swapped using the Iconify skill-icons library.portfolio.js with your bio and contact links, deploy to username.github.io, and have a professional URL to share with recruiters.npm start after installing dependencies to see the site on localhost, then stop the server with Ctrl+C and continue with the build steps.Start by cloning the repo and deleting its .git folder. Then remove the redirect meta tag from index.html, set your username in package.json and git_data_fetcher.js, and add a REACT_APP_GITHUB_TOKEN (with all permissions) to .env. After running npm install and node git_data_fetcher.js, build with npm run build; finally, initialize a Git repo in build, commit, and push to your username.github.io repository. The README warns that npm run build deletes .git, so you must back it up and restore it before each deployment.
Yes. The template uses the GitHub API to fetch your data, and the README instructs you to create a personal access token (giving all permissions) and store it as REACT_APP_GITHUB_TOKEN in a .env file.
Yes. Run npm start after npm install to serve the site locally, and press Ctrl+C when you are done.
You will edit index.html to remove the redirect, package.json for the homepage URL, .env for the token, git_data_fetcher.js for your username, and src/portfolio.js for your personal information.
The repository is public on GitHub, no pricing or license is mentioned, and the author simply asks for a star and a link back if the template helps you.
