Skip to content

devcodex2025/password-generator

Repository files navigation

πŸ” Generate Password To Me

A modern web app for generating secure passwords with an intuitive interface and support for multiple languages including Ukrainian and English.

Generate Password Application / Generate Password to me

✨ Features

  • πŸ”’ Secure password generation – uses cryptographically strong algorithms
  • 🌍 Multi-language support – Ukrainian, English, Spanish, French, German, Italian, Portuguese, Russian, Chinese, Japanese, Polish
  • πŸ“Š Password strength analysis – shows estimated crack time using zxcvbn
  • πŸŽ›οΈ Flexible settings – password length from 4 to 100 characters
  • πŸ”’ Character selection – uppercase/lowercase letters, numbers, special symbols
  • πŸ“‹ Bulk operations – generate and copy multiple passwords
  • πŸ’Ύ Export passwords – download passwords as a text file
  • πŸŽ‰ Reward animations – confetti effects for copy/download actions
  • πŸ“± Responsive design – works on all devices
  • ⚑ Fast performance – instant password generation
  • πŸͺ Cookie consent – GDPR compliant cookie management
  • πŸ“ˆ AdSense integration – smart ad display with fallback handling
  • 🎯 SEO – SEO optimized password app

πŸš€ Quick Start

Requirements

  • Node.js 16.0 or higher
  • npm or yarn

Installation

  1. Clone the repository
git clone https://github.com/your-username/password-generator.git
cd password-generator
  1. Install dependencies
npm install
  1. Start the development server
npm run dev
  1. Open in your browser
http://localhost:5173

πŸ› οΈ Technologies

  • Frontend: React 18 with Vite
  • UI Framework: Material-UI (MUI) v5
  • Styling: Tailwind CSS
  • Routing: React Router v6
  • Password Analysis: zxcvbn
  • SEO: React Helmet Async
  • Build Tool: Vite
  • Ad Integration: react-adsense
  • Reward Animations: react-rewards
  • Cookie Management: vanilla-cookieconsent
  • Analytics: Google Tag Manager, Vercel Analytics

πŸ“ Project Structure

src/
β”œβ”€β”€ components/
β”‚   β”œβ”€β”€ Advertising/
β”‚   β”‚   β”œβ”€β”€ Adbanner.jsx           # Main ad banner component
β”‚   β”‚   β”œβ”€β”€ AddbannerSecond.jsx    # Secondary ad banner
β”‚   β”‚   └── SmartAdBanner.jsx      # Smart ad banner with fallback
β”‚   β”œβ”€β”€ CookieConsent/
β”‚   β”‚   β”œβ”€β”€ CookieConsent.tsx      # Cookie consent component
β”‚   β”‚   └── CookieConsentConfig.ts # Cookie consent configuration
β”‚   β”œβ”€β”€ Header.jsx                 # Header with language switcher
β”‚   β”œβ”€β”€ Footer.jsx                 # Site footer
β”‚   β”œβ”€β”€ SeoText.jsx                # SEO text content
β”‚   β”œβ”€β”€ HowToUse.jsx               # Usage instructions
β”‚   β”œβ”€β”€ AboutUs.jsx                # About us section
β”‚   └── SeoList.jsx                # SEO list content
β”œβ”€β”€ functions/
β”‚   β”œβ”€β”€ RankColor.js               # Password strength color functions
β”‚   └── GetStrengthWord.js         # Password strength word functions
β”œβ”€β”€ utils/
β”‚   └── languageUtils.js           # Language utility functions
β”œβ”€β”€ images/                        # Images and icons
β”œβ”€β”€ App.jsx                        # Main component with routing
β”œβ”€β”€ GeneratePassword.jsx           # Main password generator component
└── index.js                       # Entry point

🎯 How to Use

1. Generate passwords

  • Select password length (4-100 characters)
  • Choose the number of passwords to generate
  • Check the character types you want:
    • A-Z – uppercase letters
    • a-z – lowercase letters
    • 0-9 – numbers
    • #$% – special symbols

2. Strength analysis

  • The app automatically analyzes the strength of each password
  • Shows the estimated time to crack using zxcvbn
  • Color-coded strength indicators

3. Copying and export with rewards

  • Copy – copies a single password (triggers confetti animation)
  • Copy all – copies all generated passwords (triggers balloons animation)
  • Download all – saves passwords to a text file (triggers emoji animation)

πŸ”§ Configuration

Environment variables

REACT_APP_GTM_ID=YOUR_GTM_ID  # Google Tag Manager ID

AdSense Configuration

  • Publisher ID: YOUR_ADSENSE_PUBLISHER_ID
  • Smart ad handling with fallback content
  • Development mode detection
  • Ad blocker detection

Modes

  • development – development mode (ads disabled)
  • production – production mode with ads

πŸŽ‰ Reward System

The app features a reward animation system that triggers on user actions:

  • Confetti animation when copying individual passwords
  • Balloons animation when copying all passwords
  • Emoji animation when downloading passwords
  • Smart button blocking during animations to prevent spam

πŸ“± Responsiveness

The app is fully responsive and works on:

  • πŸ“± Mobile phones
  • πŸ“± Tablets
  • πŸ’» Desktop computers
  • πŸ–₯️ Large monitors

🌐 SEO Optimization

  • Meta tags for each language
  • Structured data
  • Optimized headings
  • Fast loading with Vite
  • Hreflang tags for international SEO

πŸ”’ Security

  • Passwords are generated locally in the browser
  • No data is sent to the server
  • Uses cryptographically strong algorithms
  • Real-time strength analysis with zxcvbn

πŸ›‘οΈ Security Standards Compliance

Our password generator complies with the highest international security standards:

NIST 800-63B Compliance

  • NIST Special Publication 800-63B - Gold standard for digital identity authentication
  • Cryptographically secure random number generation
  • Meets highest security requirements for password generation
  • Used by government agencies and financial institutions worldwide

PCI DSS Compliance

  • Payment Card Industry Data Security Standard (PCI DSS) compliance
  • Highest level of security for financial transactions
  • Protection of sensitive data according to banking standards
  • Used by banks and financial institutions globally

Additional Security Features

  • HTTPS encryption for all data transmission
  • No password storage - passwords are never stored on servers
  • Regular security audits and updates
  • GDPR compliance and privacy standards adherence
  • Real-time security analysis with industry-standard tools

Industry Recognition

  • Trusted by financial institutions
  • Meets government security requirements
  • Compliant with international privacy regulations
  • Recommended for enterprise use

πŸ“Š Analytics & Ads

  • Google Tag Manager for tracking
  • Vercel Analytics for performance monitoring
  • Google AdSense integration with smart fallback
  • Feature usage analytics
  • Error tracking

GA4 setup: set NEXT_PUBLIC_GA_ID=G-XXXXXXXXXX in your .env.local (or Vercel β†’ Project Settings β†’ Environment Variables) and redeploy; social share and password actions are tracked via gtag events.

πŸͺ Cookie Management

  • GDPR compliant cookie consent
  • Multi-language cookie banners
  • Configurable cookie categories
  • Automatic language detection

🀝 Contributing

  1. Fork the repository
  2. Create a branch for your feature (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

πŸ“„ License

This project is licensed under the MIT License. See the LICENSE file for details.

πŸ“ž Support

If you have questions or issues:

  • Create an Issue on GitHub
  • Send a direct message on GitHub
  • If you find the project useful β€” please ⭐ star the repository!

πŸ™ Acknowledgements


Made with ❀️ to keep your accounts secure

About

A simple and customizable password generator built with React. Supports adjustable length, uppercase, lowercase, numbers, and special characters. Fast, lightweight, and easy to use.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors