Skip to content
Español
Back to projects

Case study · Live project

Truekapp.

A platform for swapping items without money. You search in Explore, propose a swap and, if the other person accepts, a chat opens between you. An AI assistant helps you find listings.

Try the demotruekapp.xyz (opens in a new tab)

No account needed; the demo data resets daily.

The code is private; the demo shows the full application.

Truekapp My Trades screen: an accepted proposal of a garden tool set for an Asterix comics pack, with the button to complete the trade
My trades: received, sent and completed proposals.

My contribution.

It started in 2025 as a final degree project by three classmates. Since 2026 I have maintained it on my own: I rebuilt it to deploy on my own server and added the AI assistant, the public demo and the bilingual interface. Pest tests run on GitHub Actions and deployment is still manual.

Three decisions.

  1. Truekapp chat between two users with the accepted swap pinned at the top
    The chat opens when the other person accepts the swap.

    Chat with Laravel Reverb

    I chose Laravel Reverb to run the chat without relying on an external messaging service and its quotas. In return, I maintain it on my own server.

  2. The Truekapp assistant recommends two published items
    The assistant searches the published listings and links each one.

    An assistant with fallback models

    When a Gemini model runs out of quota, the assistant tries another. I separated the integration from the rest of the application to make future provider changes easier.

  3. Truekapp catalogue: filters by name, location, category and condition, and a grid of published items
    Browse: the published items, with filters by name, location, category and condition.

    Semantic search without a vector database

    Embeddings are stored in MySQL and cosine similarity runs in PHP. The ceiling is around 900 items, far above what the demo holds, so another service would only add cost.

Stack: Laravel / PHP / MySQL / JavaScript / Reverb / Gemini / Pest / Tailwind CSS