vcard: initial commit

This commit is contained in:
Aminda Suomalainen 2023-01-22 11:56:22 +02:00
parent f632eff644
commit 73a1ca528f
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
3 changed files with 34 additions and 0 deletions

1
vcard/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.png

17
vcard/aminda.vcard Normal file
View File

@ -0,0 +1,17 @@
BEGIN:VCARD
VERSION:4.0
FN:Aminda Suomalainen
GENDER:F
EMAIL:suomalainen+git@mikaela.info
EMAIL;TYPE=deltachat:delta@aminda.eu
KEY;MEDIATYPE=application/pgp-keys:https://www.aminda.eu/PGP/0xBAE30723.txt
KIND:individual
PHOTO;MEDIATYPE=image/jpeg:https://media.githubusercontent.com/media/Mikaela/mikaela.github.io/lfs-media/avatar/250.jpeg
URL:https://www.aminda.eu
IMPP:xmpp:mikaela@blesmrt.net
IMPP:matrix:u/_xmpp_mikaela=40blesmrt.net:matrix.org
IMPP:matrix:u/aminda:pikaviestin.fi
IMPP:xmpp:aminda_pikaviestin.fi@matrix.org
IMPP:matrix:u/mikaela.suomalainen:matrix.org
IMPP:xmpp:mikaela.suomalainen_matrix.org@matrix.org
END:VCARD

16
vcard/generate-qr.bash Executable file
View File

@ -0,0 +1,16 @@
#!/usr/bin/env bash
# Turn vcards into QR codes
# loop through all vcard files
for vcard in *.vcard; do
if [ -f "$vcard" ]; then
# -l H - high error correction
# -t utf8 - output to terminal
# -r - read file
# -o output file
qrencode -l H -t utf8 -r $vcard
qrencode -l H -o $vcard.png -r $vcard
fi
done