Skip to content
folkways

Live location

Folkways LocSync

The latest position of every courier or vehicle as a KV value that expires on its own, with trip events on a stream.

KVStream

rides/r-8812kv · stream

3 viewers

Driver on the way

Toyota Prius · 512 BKT

6 min

tracking link · read-only
location is a KV event: a viewer who opens the link now sees the car, not a backlog · trip events are Stream events on the same topic
A ride on a live map, on one topic. The car’s latest position is a KV event, so anyone opening the read-only tracking link sees it at once; trip events are Stream events beside it.

Features

What LocSync does.

Live works today·Coming soon on the roadmap

  • Live

    Latest position per vehicle

    Viewers see current positions as soon as they connect, not a backlog.

  • Live

    Positions that expire

    Give positions a lifetime so stale vehicles drop off the map.

  • Live

    Trip events in order

    Pickup, arrival and status changes on a stream.

  • Live

    Public tracking links

    Share a live tracking page with a read-only publishable key. No sign-in for viewers.

  • Live

    Typed topics

    Define each topic’s events once and the SDK fills in the delivery type.

How it’s built

The topic.

One topic can carry several delivery types: each event name has its own, set once in the topic rule.

rides/{ride}2 types, one topic

Everything about one ride on one topic, so a tracking page needs a single subscription.

Events on rides/{ride}
EventType
locationThe latest position, expiring on its own. Viewers who join late see it at once, not a backlog.KV
tripTrip events such as pickup and arrival, in order.Stream

Details

Good for

  • Delivery and courier tracking
  • Ride-sharing
  • Fleet dashboards
  • Field teams

Good to know

  • Folkways moves positions in real time. Maps and routing stay in your app.