Update docs (#2279)

This commit is contained in:
Leendert de Borst
2026-07-18 13:40:54 +02:00
parent 22bbd258dd
commit 1f86b71727
3 changed files with 17 additions and 10 deletions

View File

@@ -13,6 +13,8 @@ This folder contains core modules that are used by multiple applications in the
Currently implements:
- **merge** - Merges two SQLite vault databases using Last-Write-Wins (LWW) strategy
- **credential_matcher** - Cross-platform credential filtering for autofill
- **password_generator** - Password and passphrase (Diceware) generation
- **identity_generator** - Random identity (alias persona) generation with per-language name dictionaries
See [rust/README.md](rust/README.md) for detailed documentation.
@@ -31,12 +33,3 @@ Vault database schema and SQL utilities for:
- Mobile apps (React Native)
- Web client (Blazor)
## typescript/ (Legacy)
Legacy TypeScript implementations that may be migrated to Rust in the future:
### typescript/identity-generator
TypeScript identity generator used by:
- Browser extension (React and custom TypeScript)
- Mobile apps (React Native)

View File

@@ -51,6 +51,14 @@ Permanently deletes items in trash older than retention period (default: 30 days
### credential_matcher
Priority-based credential filtering for autofill with anti-phishing protection.
### password_generator
Password and passphrase (Diceware) generation with embedded per-language wordlists.
### identity_generator
Random identity (alias persona) generation: names from embedded per-language dictionaries
(decade-based for de/it/ro), birth date, email prefix and username. See
`src/identity_generator/dictionaries/README.md` for the dictionary format.
## Building
```bash
@@ -363,6 +371,12 @@ pub fn my_function() -> VaultResult<String> {
| `src/credential_matcher/mod.rs` | Autofill filtering algorithm |
| `src/credential_matcher/domain.rs` | URL/domain extraction utilities |
| `src/credential_matcher/stop_words.rs` | Text filtering for service name matching |
| `src/password_generator/mod.rs` | Password/passphrase generation |
| `src/password_generator/wordlists/` | Embedded Diceware wordlists |
| `src/identity_generator/mod.rs` | Identity (alias persona) generation |
| `src/identity_generator/username_email.rs` | Username and email prefix derivation |
| `src/identity_generator/dictionaries/` | Embedded per-language name dictionaries |
| `src/rng.rs` | Shared RNG helpers (seeding, unbiased sampling) |
| `src/wasm.rs` | WASM bindings (browser) |
| `src/uniffi_api.rs` | UniFFI bindings (iOS/Android) |
| `src/ffi.rs` | C FFI bindings (.NET) |

View File

@@ -18,7 +18,7 @@ Languages with flat lists have three files:
<code>/lastnames.txt
```
Languages with decade-based first names (currently `de`, `it` and `ro`) split the first
Languages with decade-based first names split the first
names per birth decade so generated first names match names that were popular around
the generated birth year: