Skip to content

Commit f4dda86

Browse files
authored
Merge pull request #234 from mreduar/add-person-names
Add person-names package
2 parents 8d282e7 + ac638e0 commit f4dda86

3 files changed

Lines changed: 1519 additions & 0 deletions

File tree

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Person Names
2+
3+
Generate random person names on the fly with [espanso](https://espanso.org).
4+
5+
| Trigger | Expands to | Example |
6+
| ------- | ---------- | ------- |
7+
| `>c1` | First name **+** last name | `Camila Rossi` |
8+
| `>c2` | First name only | `Camila` |
9+
10+
Every time you type a trigger, espanso picks a fresh random value, so you get a
11+
different name each time.
12+
13+
## What's inside
14+
15+
- **1000 distinct first names** and **450 last names**, curated from an
16+
international mix (European, Latin American, East & South Asian, Middle
17+
Eastern and African) so the output feels realistic and diverse.
18+
- `>c1` combines a first name and a last name **independently**, which yields
19+
more than **450,000** possible full names.
20+
21+
## Usage
22+
23+
Type `>c1` or `>c2` anywhere espanso is active and it expands instantly:
24+
25+
```
26+
>c1 -> Kenji Alvarez
27+
>c2 -> Priya
28+
```
29+
30+
Great for filling forms, seeding test data, or generating placeholder people.
31+
32+
## Customizing
33+
34+
The names live in `package.yml` under the `first_name` and `last_name` global
35+
variables. Add, remove or edit entries in the `choices` lists to fit your needs.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
name: "person-names"
2+
title: "Person Names"
3+
description: Generate random person names. Type >c1 for a full name (first + last) or >c2 for the first name only. Ships 1000 distinct first names and 450 last names from an international mix.
4+
version: 0.1.0
5+
author: Eduar Bastidas
6+
homepage: "https://github.com/mreduar/person-names"
7+
tags: ["names", "random", "person", "placeholder", "test-data"]

0 commit comments

Comments
 (0)