This repository contains a Next.js ChatGPT-style portfolio assistant built for GitHub Pages. It is a recruiter-friendly project that demonstrates chat UI design, React state management, prompt workflows, and safe deployment practices.
- ChatGPT-style messaging interface for portfolio and CV prompts.
- Starter prompts for project descriptions, CRM planning, and GitHub README improvements.
- Static GitHub Pages deployment with no secrets committed to the repository.
- OpenAI-ready documentation for adding a real server-side API integration later.
npm install
npm run devOpen http://localhost:3000.
npm run buildBecause next.config.js uses output: 'export', static files are generated in out/.
This static GitHub Pages version runs in demo mode. Do not put an OpenAI API key in browser code, Git history, or public repository settings.
To add real AI responses later:
- Create an API key from the OpenAI dashboard.
- Store it as a private environment variable named
OPENAI_API_KEYon a server-side host such as Vercel, Render, Fly.io, or your own backend. - Add a private API endpoint that calls the OpenAI Responses API from the server.
- Call your own endpoint from the React UI.
Example environment variable name:
OPENAI_API_KEY=your_private_key_hereDeployment is automated via .github/workflows/github-pages.yml.
- Push to
main. - In GitHub repo settings, go to Pages.
- Set Source to GitHub Actions.
- Wait for the Deploy GitHub Pages workflow to finish.
For this repository, GitHub may publish the project page at:
https://rintuchowdory.github.io/rintuchowdory/
If you create a repository named rintuchowdory.github.io, the same site can publish at:
https://rintuchowdory.github.io/
.github/workflows/ci.yml runs dependency install and static build checks on PRs and pushes.

