# memdeklaro.js

An offline CLI tool to generate a Memdeklaro Self-Declaration of Identity

Memdeklaro is a non-government non-corporate foundation for ethical decentralized identity. The project website is available at [https://memdeklaro.org](https://memdeklaro.org)

## How to use

`npm install memdeklaro-js`

Then

```
node memdeklaro.js \
--firstname "John" \
--surname "Doe" \
--birthdate "1989-12-31" \
--note "Conscientious Objector" \
--number "1234567890" \
--issued "2026-01-23" \
--expiry "2031-01-23" \
--issuer "EPO" \
--photo example_photo.jpg \
--signature example_signature.jpg
```

## What you get

- Your Memdeklaro decentralized ID card to print or use digitally: memdeklaro_front.jpg and memdeklaro_back.jpg
- A self-asserted verifiable credential that you can optionally sign with your DID key and import into your web3 wallet: memdeklaro.json
- A PDF that includes your self-declaration in graphical format and as a QR code to import into Google Wallet or Apple Wallet: memdeklaro.pdf

## Similar projects

Similar projects include the World Passport, Digitalcourage Lichtbildausweis and Bitnation.

## License

Public Domain, see [https://memdeklaro.org/about/](https://memdeklaro.org/about/) for more details