---
title: "Generating a client card in the Domotekhnika app"
description: "Added client card generation to the Domotekhnika store app with name, ID, barcode, and logo. The work took about three and a half hours including translations and styling."
date: 2025-09-03
display_date: "September 3, 2025"
image: "/img/blog/2025/09/03-01-client-card.png"
image_alt: "Client card in the Domotekhnika app"
---

# Generating a client card in the Domotekhnika app

**Published:** 2025-09-03

<zoom-img
            src="/img/blog/2025/09/03-01-client-card.png"
            alt="Client card in the Domotekhnika app"
            width="100px"
            style="float: left; margin: 15px 15px 0 0;"
    ></zoom-img>

Today I added client card generation to the Domotekhnika store app in Riga. ChatGPT designed it, helped choose
        the libraries for image rendering (**canvas**) and barcode (**bwip-js**), and even
        suggested the JS code.

The project itself is already morally outdated — although I wrote it only half a year ago in spring (it still
        uses mustache templates 👻).
        Even so, the update went quickly: about 2 hours and 40 minutes including AI translations into three languages.
        The deployment was done via GitHub Actions.

Another hour went into styling with the logo. The visual part always takes more time than coding.
        Now the app has a full-fledged card with name, ID, barcode, and brand mark.
