Back to portfolio

Open Source · 2021

GPass - Password Generator CLI

Tiny Node CLI for random passwords from the terminal. npm install, run, done.

GPass - Password Generator CLI

The Challenge

I generate passwords constantly while SSH'd somewhere or in a terminal workflow. Opening a browser tab breaks flow. Existing CLI tools often dragged in dependencies I didn't want for such a small job.

The Solution

GPass prints a secure random password immediately. Default length works for most cases. Flags adjust length and which character sets to include (upper, lower, numbers, symbols).

Technical Architecture

Single-purpose Node CLI. Randomness comes from the built-in crypto module, not Math.random. I kept dependencies minimal so install stays fast and the package stays small.

My Role & Contributions

Personal scratch project that stuck. I wrote the CLI, argument parsing, and npm publish flow. Defaults matter more than feature count here.

Challenges & Learnings

"Random enough" sounds trivial until you read up on weak PRNGs. crypto was the obvious fix. I still use it weekly. One sharp tool beat a kitchen-sink generator I never opened.

Impact & Results

Reliable for quick terminal passwords. Small package, fast run. For a custom CLI (passwords, file transforms, whatever), reach out or browse projects. I usually answer within a day or two from Thessaloniki.