Skip to content

Repository files navigation

Email Random

English | 简体中文

A lightweight frontend utility for generating random email and password pairs. It is useful for batch test-account creation, temporary account organization, and quick text export workflows.

Features

  • Generate random email and password pairs in batches or one row at a time
  • Copy the account prefix, full email, password, or the entire row
  • Copy all rows at once or export them as a text file
  • Mark rows as checked, delete individual rows, or clear the whole list
  • Add custom email domains and persist them locally
  • Persist generated rows, settings, and selected locale in localStorage

Tech Stack

  • React 19
  • TypeScript 6
  • Vite 8
  • Vitest + Testing Library
  • ESLint 9

Getting Started

pnpm install
pnpm dev

The default local dev server runs at http://localhost:5173.

Available Scripts

pnpm dev
pnpm build
pnpm preview
pnpm lint
pnpm test
pnpm check

pnpm check runs lint, test, and build in sequence, which is the expected pre-commit verification path.

Project Structure

.
├─ public/            # Static assets
├─ src/
│  ├─ components/     # UI components
│  ├─ lib/            # Core logic for generation, formatting, storage, and i18n
│  ├─ test/           # Test setup
│  ├─ App.tsx         # App entry component
│  ├─ index.css       # Global styles
│  └─ main.tsx        # Application bootstrap
├─ index.html         # HTML shell and metadata
└─ package.json       # Scripts and project metadata

Usage

  1. Enter the number of rows to generate at the top, then click Add.
  2. Use row actions to copy, mark as checked, delete, or copy the whole row.
  3. Click the settings button in the top-right corner to customize email domains and password rules.
  4. Use Copy all or Export to take the current list elsewhere.
  5. Use the language toggle next to the settings button to switch between English and Chinese.

License

Released under the MIT License.

About

A lightweight frontend tool for generating random email and password pairs with copy, export, and local persistence support.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages