DEV Community

Cover image for Exporting Data from a Serbian Residence Permit Card to PDF on Linux
Alex Rezvov
Alex Rezvov

Posted on • Originally published at blog.rezvov.com on

Exporting Data from a Serbian Residence Permit Card to PDF on Linux

Recently, I received a Serbian residence permit smart card and wanted to explore its contents. With a card reader at hand and running Kubuntu 24.04, I discovered the utility Baš Čelik, developed by Nikola Ubavić.
The program is available on GitHub:
https://github.com/ubavic/bas-celik.

Installation

To install, I downloaded the executable from the releases section:

curl -L -o bas-celik-cli.linux.amd64 https://github.com/ubavic/bas-celik/releases/download/v2.1.3/bas-celik-cli.linux.amd64
Enter fullscreen mode Exit fullscreen mode

Then, I made the file executable:

chmod +x bas-celik-cli.linux.amd64
Enter fullscreen mode Exit fullscreen mode

Usage

To read the data from the card and save it as a PDF file, I used the following command:

./bas-celik-cli.linux.amd64 -pdf ~/Documents/arezvov-srb-id.pdf
Enter fullscreen mode Exit fullscreen mode

The program successfully read the data and saved it to the specified PDF file on the first try.

Acknowledgment

Many thanks to Nikola Ubavić for developing Baš Čelik. Details about the creation of the utility can be found in his blog: https://blog.ubavic.rs/7/.


Originally published: Exporting Data from a Serbian Residence Permit Card to PDF on Linux — Alex Rezvov's Blog

Top comments (0)