~jan0sch/rig
~jan0sch/rig/README.md
~jan0sch/rig/README.md
This is a small tool which will generate a random identity.
Currently it will only generate common names with a matching postal code and city name.
This code is licensed under the EUPL version 1.2 or later, see the LICENSE file for details.
TODO: Create a useful installer and package from the source!
Copy the files under resources
either to /usr/local/share/rig
or
~/.local/share/rig
and create parent directories as needed. The program will
look under both paths preferring the path under the home directory.
After having copied the resource file you can run the code from this directory
via zig build run
.
The data files used for generating the output are simple TSV (tab separated
values) files. All files MUST be named lang_code.tsv
in lower case letters!
A forename file SHALL be sorted alphabetically and contain one forename per line.
A surname file SHALL be sorted alphabetically and contain one forename per line.
A zip code file SHALL be sorted by zip code and contain the zip code, the matching city and possible further data separated by tabs. An example for "further data" is the department information for french cities.