u/ummahusla

Built a live visitor counter using a single Supabase RPC (no websockets, no Realtime Presence)

The RPC validates the visitor ID, upserts last_seen_at, and returns the active count in one call. Table access is fully locked down - anon can only execute the function, nothing else.

Full writeup + live demo: https://edvins.io/live-visitor-counter-nextjs-supabase

u/ummahusla — 5 days ago
▲ 0 r/cursor

We built an agent workflow app in 24h at Cursor Riga Hackathon

I joined the Cursor Riga Hackathon in Riga, Latvia, last weekend with a small team called Flow Build.

In 24 hours, we built Routine, a rough desktop app for creating automation workflows by chatting with an agent. We made it to the top 5, which was a nice surprise.

The idea was basically: what if you could build something n8n-like, but instead of manually wiring every block yourself, you describe the workflow and the agent helps create the steps, connect them, and add LLM logic where needed?

The hackathon version used the Cursor Agent SDK because that was what we had credits for during the event.

Demo: https://youtu.be/rlH-asPq5_I

A few things we learnt:

  • clarity beats scope
  • a 3-minute pitch forces you to cut aggressively
  • showing agent state matters a lot
  • a visual workflow canvas makes the agent feel less like a black box
  • good UI/UX helps people understand the product faster
  • commercial story matters, even in a hackathon

We also cut some parts from the demo because they made the story too long. That felt painful at the time, but it was probably the right call.

The project is still very hackathon-grade. The setup needs improvement, the docs need improvement, and the integration can be enhanced. However, I like the direction: describe the intent, inspect the generated workflow, adjust it, and then run it locally.

Blog write-up: https://edvins.io/we-built-an-agent-workflow-app-in-24-hours-and-got-top-5-at-cursor-riga-hackathon
Repo: https://github.com/ummahusla/routine

u/ummahusla — 8 days ago