feat: add private static browser generator - #10
Conversation
|
Warning Review limit reached
Next review available in: 32 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. 📝 WalkthroughWalkthroughThe PR adds a static browser password and passphrase generator with cryptographic generation, entropy and strength reporting, accessible responsive UI behavior, local wordlist loading, Playwright and Python validation, and CI coverage for Node/browser tests and wordlist synchronization. ChangesStatic Generator
Estimated code review effort: 4 (Complex) | ~60 minutes Sequence Diagram(s)sequenceDiagram
participant User
participant StaticUI
participant Generator
participant Wordlist
User->>StaticUI: Select generation mode and options
StaticUI->>Wordlist: Fetch EFF wordlist for passphrases
Wordlist-->>StaticUI: Return local wordlist
StaticUI->>Generator: Generate credential
Generator-->>StaticUI: Return credential, entropy, and strength
StaticUI-->>User: Render result and copy controls
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
docs/without replacing the existing Python CLI or FastAPI interfacePrivacy and security properties
Math.random(), modulo-biased index selection,innerHTML, or inline runtime codeVerification
uv run pytest tests/ -q— 113 passednpm test— 9 unit tests passed; 7 Chromium integration tests passed; 1 intentional mobile-only project skipnpm audit --audit-level=high— 0 vulnerabilitiesDeployment note
GitHub Pages remains disabled. This PR only adds Pages-ready static files; it does not enable, configure, or deploy GitHub Pages. Activation should be a separate reviewed action.
Summary by CodeRabbit