A modern, secure, and user-friendly password generator web application built with React and Tailwind CSS.
- Secure Generation: Uses
window.cryptofor cryptographically strong random number generation. - Customizable:
- Adjustable password length (up to 128 characters).
- Toggle uppercase, lowercase, numbers, and symbols.
- Option to exclude ambiguous characters (e.g., 'i', 'l', '1', 'L', 'o', '0', 'O').
- User Experience:
- One-click copy to clipboard.
- Visual password strength indicator.
- Dark/Light/System theme support.
- Multi-language support (English, Chinese, Japanese, German, French).
- Responsive Design: Works seamlessly on desktop and mobile devices.
- Frontend: React
- Styling: Tailwind CSS
- Icons: Lucide React
- Build Tool: Vite
- Node.js (v14 or higher)
- npm or bun
-
Clone the repository:
git clone https://github.com/wutz/password.git cd password -
Install dependencies:
npm install # or bun install -
Start the development server:
npm run dev # or bun run dev -
Open your browser and visit
http://localhost:5173.
To create a production build:
npm run buildThe built files will be in the dist directory.
Cloudflare Pages is a fast and secure static site hosting platform, perfect for deploying Vite-built React applications.
-
Build the project:
npm run build
-
Log in to Cloudflare Dashboard:
- Visit Cloudflare Dashboard
- Log in to your account
-
Create a new project:
- Go to Pages section
- Click Create a project
- Choose Upload assets (direct upload) or Connect to Git (Git integration)
-
Upload build files:
- If choosing direct upload, upload the files from the
distdirectory - Set the build output directory to
dist - Click Deploy site
- If choosing direct upload, upload the files from the
-
Install Wrangler CLI:
npm install -g wrangler # or bun add -g wrangler -
Log in to Cloudflare:
wrangler login
-
Build the project:
npm run build
-
Deploy to Cloudflare Pages:
wrangler pages deploy dist
-
Prepare the project:
- Make sure your code is pushed to a Git repository (GitHub, GitLab, or Bitbucket)
-
Set up in Cloudflare Dashboard:
- Go to Pages → Create a project → Connect to Git
- Select your Git provider and authorize
- Choose the repository and branch
-
Configure build settings:
- Framework preset: Vite
- Build command:
npm run buildorbun run build - Build output directory:
dist - Root directory:
/(project root)
-
Deploy:
- Click Save and Deploy
- Future pushes to the main branch will automatically trigger deployments
After deployment, you can add a custom domain in your Cloudflare Pages project settings:
- Go to project settings → Custom domains
- Add your domain
- Cloudflare will automatically configure DNS and SSL certificates
MIT