Generating a client card in the Domotekhnika app

Published: 2025-09-03

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.

Discuss This Publication

If you would like to discuss this piece, ask a question, or continue the conversation, join my Telegram channel.

On the channel I publish new materials, working notes, and announcements, while the site hosts the full texts and structured long-form publications.

Alex Gusev Lab on Telegram (EN)