https://github.com/p3k/germknoedel
A passport code generator.
https://github.com/p3k/germknoedel
checksum command-line esm esmodule javascript nodejs passport
Last synced: 10 months ago
JSON representation
A passport code generator.
- Host: GitHub
- URL: https://github.com/p3k/germknoedel
- Owner: p3k
- License: gpl-3.0
- Created: 2019-04-27T17:18:53.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2025-03-29T22:56:09.000Z (11 months ago)
- Last Synced: 2025-03-29T23:22:49.203Z (11 months ago)
- Topics: checksum, command-line, esm, esmodule, javascript, nodejs, passport
- Language: JavaScript
- Homepage:
- Size: 227 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Germknödel
A passport code generator. Generates passport codes like this:
`26109Q5FB7D<<9203147X2205142<<<<<<<<<<<<<<<6`
I wrote the basic script as a terrible dev console snippet and then got almost lost in building a neat NodeJS command-line tool from it.
Currently, only German passport codes are supported.
**Contributions for other countries and document types are welcome!**
The package name was an unconscious play of words because I still own a German passport while living in Austria where [Germknödel](https://www.wikiwand.com/en/Germkn%C3%B6del) are hugely popular. (And delicious, btw.)
Now the name got stuck. _Sorry._ 🤷🏻

## Installation
`npm --global install germknoedel`
## Usage
`germknoedel --help`
## Examples
`germknoedel --authority 3533 --gender female 1970-01-01 2019-12-31`
`germknoedel --serial 6068T5DH1`
`germknoedel --format json`
`germknoedel --query '*'`
## Kudos
* **A. Beck** for their excellent resources about anything regarding checksum calculation, especially the pages [Deutscher Reisepass](http://www.pruefziffernberechnung.de/R/Reisepass-DE.shtml) and [Behördenkennzahl](http://www.pruefziffernberechnung.de/Begleitdokumente/BKZ.shtml).
* **Pi’s World** for additional information about the [checksum for the latest German passport](https://pinetik.blogspot.com/2011/03/prufziffer-fur-neuen-reisepass.html).