create-tech-dev-portfolio
v0.2.4
Published
Clones dev-portfolio-template, interviews you for the basics, and generates a ready-to-run Next.js portfolio.
Maintainers
Readme
create-dev-portfolio
CLI orchestrator for dev-portfolio-template.
Clones the template, asks a handful of questions about you, writes the
answers into config/profile.json, and verifies the site builds.
Part of a 3-repo MVP:
dev-portfolio-template— the Next.js site, config-driven.create-dev-portfolio(this repo) — CLI that clones the template and runs the interview.portfolio-agent— (later) generates richer content from a resume/GitHub profile.
What it does
- Clones the template repo (fresh git history, not a fork).
- Interviews you for name, title, bio, GitHub username, LinkedIn, email, website, and location.
- Merges those answers into the cloned repo's
config/profile.json— everything else (experience, skills, education, projects) stays as the template's placeholder content for you to fill in by hand, or for a futureportfolio-agentpass to generate from a resume. - Runs
npm installandnpm run buildto verify the site builds. - Makes an initial commit.
- Prints a heads-up about which config sections are still placeholder content.
- Asks whether to push to GitHub and deploy to Vercel now (opt-in, default no):
- Pushing needs the
ghCLI installed and signed in (gh auth login). - Deploying needs the
vercelCLI installed and signed in (vercel login). - Either one missing/unauthenticated just prints the manual command and moves on — it never blocks getting your local portfolio running.
- Pushing needs the
- Starts the dev server (
npm run dev) so you land on the running site.
Usage
npm install
npm run build
node dist/index.js my-portfolioOr once published: npx create-tech-dev-portfolio my-portfolio (the npm package
is create-tech-dev-portfolio — create-dev-portfolio was already taken).
Options:
--template <url>— clone a different template repo (default:dev-portfolio-template).
Development
npm install
npm run dev -- my-portfolio # builds + runs in one step