An open API service indexing awesome lists of open source software.

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.

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._ 🤷🏻‍

![](https://raw.githubusercontent.com/p3k/germknoedel/3ad71e9a421750a784a4e0d1bee41082241ed253/terminal.png)

## 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).