PWgen

PWgen

Simple Docker web app to generate secure passwords and passphrases

83stars
17forks
Last commit: 7mo ago
Repo age: 2y old

PWgen is a lightweight web application for generating secure random passwords and passphrases. It runs in Docker, provides a browser-based UI with PWA support, and offers configurable defaults via environment variables.

Key Features

  • Generate random passwords with configurable length, uppercase, digits, special characters, and homoglyph exclusion
  • Create passphrases from word lists with options for capitalization, separators, inclusion of numbers/special characters, and custom word lists
  • Check generated items against the haveibeenpwned breach database with an option to disable external checks for isolated environments
  • Progressive Web App (PWA) frontend with clipboard copy and a user-friendly interface
  • Environment variables to set defaults and toggle features (multi-generation, language controls, offline mode)
  • Local settings persistence via browser cookie and support for multiple simultaneous generations
  • Docker image and Dockerfile for simple containerized deployment

Use Cases

  • Quickly produce strong, configurable passwords for new accounts, services, and credentials
  • Generate memorable passphrases for encryption keys or account recovery using curated or custom word lists
  • Run in isolated or privacy-conscious environments by disabling external breach checks and using local word lists

Limitations and Considerations

  • PWgen is a generator only and does not provide secure vault storage, syncing, or encrypted password management
  • Breach checking depends on an external API unless offline mode is enabled; offline mode removes that safety check
  • Default passphrase languages are limited and custom wordlist URL restrictions exist by default (configurable)
  • Not designed as an enterprise secret management solution; feature set focuses on generation and local convenience

PWgen is suited for individuals and small deployments that need a simple, configurable password and passphrase generator. It is lightweight, easy to deploy via Docker, and configurable for privacy-conscious or offline use.

Categories:

Tags:

Tech Stack:

Share:

Similar Services

Vaultwarden

Vaultwarden

Bitwarden-compatible password manager server written in Rust

53.6k
2.5k
Last commit: 3d ago

Vaultwarden is a lightweight, Bitwarden-compatible password manager server in Rust, designed for self-hosting with official Bitwarden clients.

Alternative to:
Bitwarden
Bitwarden
+9
KeePassXC

KeePassXC

Cross-platform offline password manager using encrypted KDBX databases

25.5k
1.7k
Last commit: 1mo ago

KeePassXC is a secure, cross-platform password manager that stores credentials and sensitive notes in encrypted KeePass-compatible KDBX files with autofill and browser in...

Alternative to:
KeePassXC
KeePassXC
+10
Infisical

Infisical

Open-source platform for secrets, PKI certificates, and privileged access

24.5k
1.7k
Last commit: 20h ago

Infisical is an open-source platform to manage and deliver app secrets, certificates (PKI), SSH credentials, and encryption keys across teams and infrastructure.

Alternative to:
HashiCorp Vault
HashiCorp Vault
+9
Ente

Ente

End-to-end encrypted cloud for photos and 2FA

23.9k
1.4k
Last commit: 1d ago

Open-source, end-to-end encrypted platform for private photo backup, sharing, and authenticator (2FA) sync across devices, with optional self-hosting.

Alternative to:
Google Photos
Google Photos
+14
Bitwarden

Bitwarden

Open-source password manager with zero-knowledge security and self-hosting.

17.9k
1.5k
Last commit: 16h ago

Bitwarden is an open-source password manager that stores, shares, and autofills credentials with zero-knowledge encryption; supports cloud or self-hosted deployments.

Alternative to:
1Password
1Password
+9
Passbolt

Passbolt

Open-source password and secret manager for teams

5.6k
361
Last commit: 26d ago

Passbolt is an open-source, security-first password and secret manager for teams, with end-to-end encryption, granular sharing permissions, and auditing.

Alternative to:
Passbolt Cloud
Passbolt Cloud
+11