npm.io
0.1.0 • Published 11h agoCLI

petekp

Licence
MIT
Version
0.1.0
Deps
4
Size
13 kB
Vulns
0
Weekly
0

petekp

A terminal portfolio for Pete Petrash. Run it with no install:

npx petekp

Arrow keys (or j/k) move between about · work · experience · contact. Press q to quit. Piping the output (e.g. npx petekp | cat) prints every section at once.

Make it yours

Everything you see lives in one file: src/content.ts. Edit the strings there — bio, projects, experience, contact links — then rebuild. You never need to touch the React/Ink components.

Colors and the gradient live in src/theme.ts.

Develop

npm run dev        # run live from source (interactive in a real terminal)
npm test           # smoke-test the interactive navigation
npm run typecheck  # tsc --noEmit
npm run build      # bundle to dist/cli.js

Publish

npm login
npm publish        # runs the build automatically via prepublishOnly

Once published, anyone can run npx petekp.

How it's built

  • Ink — React for the terminal. The UI is plain components in src/components/.
  • ink-gradient for the hero wordmark, ink-link for clickable contact links.
  • tsup bundles src/cli.tsx → a single dist/cli.js with a #!/usr/bin/env node shebang.

Keywords