The idea behind my new WichtelMix app
The Idea Behind WichtelMix
For some time now, our family has been doing a Secret Santa gift exchange with a little twist: Everyone is only told which gift is meant for them. When we unwrap the presents together, everyone has to guess who their Secret Santa was.
Until now, the organization had always been handled by someone who wasn’t participating in the gift exchange. This person contacted all participants via WhatsApp, handled the random draw, and passed along the information about the gifts. Since this involved quite a bit of organizational effort every year, I came up with the idea of automating the entire process with a small web app: WichtelMix.
Development and Technologies
From a technical perspective, WichtelMix was also an exciting experiment for me. While I came up with the concept, designed the app, and selected the technologies, the actual coding was handled almost entirely by OpenAI Codex. Codex was also used to implement and run automated tests.
WichtelMix is built on the following technologies:
- R and Shiny – development of the interactive web app.
- Supabase – data storage and management in a PostgreSQL database.
- Posit Connect – hosting and deployment of the web app.
- Gmail – automated delivery of invitations, notifications, and Secret Santa assignments.
- OpenAI Codex – AI-assisted coding and automated software testing.
The app uses unique, token-based links with HTTP GET parameters that allow organizers and participants to access their respective areas. This eliminates the need for traditional user registration with a username and password.
WichtelMix is embedded directly into a post on my blog, matthiasmunz.de, using an iframe. The GET parameters of the surrounding web page are automatically passed to the URL of the embedded app. The iframe’s height also adjusts dynamically to the app’s content, allowing it to integrate as seamlessly as possible into the website.
In addition to handling the random draw itself, WichtelMix manages participants, collects gift wishes, and automates email communication.
For me, this project was also an interesting opportunity to explore how far AI-assisted development has come when it comes to building a fully functional web app – from the initial specification through implementation and testing. And I have to say, it’s left me eager to build more. So far, hosting both the app and the database has been free of charge. I’m curious to see how well the app is received and whether it will be used beyond our own family.
Leave a comment