Every developer knows the classic dilemma: you want a clean, fast, modern portfolio to showcase your projects and technical writing, yet you either spend three weekends over-engineering one from scratch or pay for hosting you don’t really need.
I put together an open-source React 19, TypeScript, and Tailwind CSS v4 portfolio & blog template over at github.com/lmourabraga/onepage-portfolio so you don’t have to start from a blank index.html. Fork it, customize your data in JSON/TypeScript config files, and host it on GitHub Pages for free—no credit card, no server maintenance, and zero bundler configuration headaches.
Why Use This Template?
- Built for tech professionals: Includes dedicated sections for About, Career Timeline, Categorized Skills, Project Case Studies, Technical Articles, and Contact—plus interactive tag/keyword search and Storybook documentation.
- Customize without touching components: Layout toggles, section ordering, social links, and icons (
react-icons) live in modularsrc/data/*.jsonfiles, while all text and multi-language strings (EN,PT,FRout of the box) live in a single file:src/data/translations.ts. - Zero-config GitHub Pages support: Pre-configured with relative asset paths, hash-based routing,
gh-pages, and a ready-to-use GitHub Actions workflow—meaning it works automatically onusername.github.io/onepage-portfolio/, any renamed repo subpath, or a custom root domain without editingvite.config.ts.
Step 1: Fork and Clone the Repo
Start by grabbing your own copy of the project:
- Head over to
https://github.com/lmourabraga/onepage-portfolioand click Fork in the top-right corner. - Clone your forked repository to your machine:
git clone https://github.com/YOUR_USERNAME/onepage-portfolio.git cd onepage-portfolio
- Install the dependencies and fire up the local dev server:
npm install npm run dev
Open
http://localhost:5173in your browser and you’ll see the portfolio running live.
Step 2: Make It Yours (No Component Digging Required)
Instead of hunting through JSX files to replace hardcoded text, everything you need to personalize lives inside src/data/:
src/data/translations.ts: Replace the placeholder name, role, bio, career history, project case studies, and articles with your own story. (Only want English? Just toggle"pt": falseand"fr": falseinsrc/data/general.jsonand the language switcher hides automatically!)src/data/general.json&src/data/about.json: Update your avatar URL, social links (GitHub, LinkedIn, Email, etc.), enabled sections, and section order.src/data/skills.json,experience.json,projects.json, &articles.json: Tailor your tech stack categories, timeline entries, and featured posts.
Keep it sharp, honest, and easy to scan—recruiters and clients spend seconds, not hours, on a first pass.
Step 3: Deploy to GitHub Pages (Pick Your Favorite Workflow)
Because the repository already comes pre-configured with Vite relative base paths, gh-pages, and a GitHub Actions workflow, you don’t need to install extra packages or tweak vite.config.ts. Just pick whichever deployment style you prefer:
Option A: Automatic Deployment via GitHub Actions (Recommended)
Want your site to rebuild and deploy automatically every time you push to main?
-
On GitHub, go to your repository’s Settings > Pages.
-
Under Build and deployment > Source, select GitHub Actions (you can ignore the suggested Jekyll/Static HTML workflow cards—the repo already includes its own workflow).
-
Commit and push your customized changes to trigger the first deploy:
git add . git commit -m "Personalize portfolio content" git push origin main
That’s it! The included .github/workflows/deploy.yml workflow will automatically build the TypeScript + Vite bundle and publish your portfolio to https://YOUR_USERNAME.github.io/onepage-portfolio/.
Option B: One-Command CLI Deploy with gh-pages
Prefer deploying manually from your terminal onto a separate gh-pages branch? gh-pages and the deploy scripts are already wired into package.json:
- On GitHub, open Settings > Pages.
- Under Build and deployment > Source, pick Deploy from a branch, select the
gh-pagesbranch with the/ (root)folder, and hit Save. - Commit your changes and run the built-in deploy command:
git add . git commit -m "Personalize portfolio content" git push origin main npm run deploy
- Give GitHub a minute to propagate, and your portfolio will be live at
https://YOUR_USERNAME.github.io/onepage-portfolio/(orhttps://YOUR_USERNAME.github.io/if you named your repositoryYOUR_USERNAME.github.io).
Once the deployment finishes, you should see your live portfolio rendered with all your custom content, just like the original template demo: original template demo.
Extra tip: Because GitHub Pages serves static files without a dynamic CMS backend, Projects and Articles are managed directly via JSON/TypeScript data files. If you want a leaner single-page resume right away, I recommend disabling those two sections until you’re ready to populate them with your own case studies or posts. Check the project’s README.md for instructions on how to toggle sections on and off.
Quick Troubleshooting
- Pushed new edits, nothing changed?
- If you chose Option A (GitHub Actions), check the Actions tab in your GitHub repo to verify the workflow finished green.
- If you chose Option B (
gh-pages), remember to runnpm run deployagain after pushing tomainso the compileddistfolder on yourgh-pagesbranch gets updated.
- Want to verify your changes before shipping? Run
npm testandnpm run lintlocally—the template ships with Vitest unit tests and Oxlint configured out of the box.
If you end up using the template, feel free to drop a ⭐ on lmourabraga/onepage-portfolio or open a PR if you have ideas to make it even better. Ship your site, update your GitHub bio, and put your work out there!

Comments
Join the discussion below.