Hey everyone!

I’m excited to introduce Reitti, a location tracking and analysis application designed to help you gain insights about your movement patterns and significant places—all while keeping your data private on your own server.

Core Capabilities:

  • Visit Tracking: Automatically recognizes and categorizes the places where you spend time, using customizable detection algorithms
  • Trip Analysis: Analyzes your movements between locations to understand how you travel whether by walking, cycling, or driving
  • Interactive Timeline: Visualizes all your past activities on an interactive timeline with map and list views that show visit duration, transport method, and distance traveled

Photo Integration:

  • Connect your self-hosted Immich photo server to seamlessly display photos taken at specific locations right within Reitti’s timeline. The interactive photo viewer lets you browse galleries for each place.

Data Import Options:

  • Multiple Formats Supported: Reitti can import existing location data from GPX, GeoJSON, and Google Takeout (JSON) backups
  • (Near) Real-time Updates: Automatically receive location info via mobile apps like OwnTracks, GPSLogger or our REST API

Customization:

  • Multi-geocoding Services: Configurable options to convert coordinates to human-readable addresses using providers like Nominatim
  • User Profiles: Customize individual display names, password management, and API token security under your own control

Self-hosting:

  • Reitti is designed to be deployed on your own infrastructure using Docker containers. We provide configuration templates to set up linked services like PostgreSQL, RabbitMQ and Redis that keep all your location data private.

Reitti is still early in development but has already developed extensive capabilities. I’d love to hear your feedback and answer any questions to tailor Reitti to meet the community’s needs.

Hope this sparks some interest!

Daniel

  • LazyToad@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    2
    ·
    6 hours ago

    Got it up and running, looks neat!

    Is there a way to import old pictures from Immich? If I take new ones they do show up on Reitti, but none of the old ones are shown.

    • danielgraf@discuss.tchncs.deOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      5 hours ago

      Thank you for testing Reitti. 🙏

      It depends on two key requirements for Reitti:

      1. First, it finds all photos from Immich taken on the day you selected.
      2. Then, it filters these photos based on the selected map bounds, using the embedded EXIF geolocation data (where the photo was shot).

      If the EXIF data does not contain geolocation information, we currently cannot display those photos because their placement on the map cannot be determined.

      Could you please verify in Immich if the expected photo has its location in the metadata? If it is available there, then the issue might lie in how Reitti is parsing that specific data.

      • LazyToad@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        3
        ·
        4 hours ago

        Thanks for the explanation! Seems to work correctly after all, pictures do show up when I change the date on timeline instead of just staring at current date, 👍 Had just not understood how to use Reitti properly.

    • danielgraf@discuss.tchncs.deOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      9 hours ago

      It is actually awesome if you have some old photos with the geodata attached and scim through Reitti and suddenly one of them shows up :)

  • ada@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    8
    ·
    12 hours ago

    I managed to break our instance. I imported several years worth of google takeout location data, and now the “stay-detection-queue” is stalled.

    • danielgraf@discuss.tchncs.deOP
      link
      fedilink
      English
      arrow-up
      6
      ·
      11 hours ago

      Congratulations 😆

      To help with that I would need some information:

      • does it show anything in the logs?
      • what do you mean by several years or how big was the Records.json?

      Thank you for testing 🙂

      • ada@piefed.blahaj.zone
        link
        fedilink
        English
        arrow-up
        4
        ·
        10 hours ago

        It’s a 1gig json file that has about 10 years of data. I get multiple repeats of the rabbit timeout in the logs. The Job Status section tells me that it’s got just under 9 hours of processing remaining for just over 16,000 in the stay-detection-queue. The numbers change slightly, so something is happening, but it’s been going for over 12 hours now, and the time remaining is slowly going up, not down.

        reitti-1  | 2025-07-04T03:06:17.848Z  WARN 1 --- [ntContainer#2-1] o.s.a.r.l.SimpleMessageListenerContainer : Consumer raised exception, processing can restart if the connection factory supports it
        reitti-1  |
        reitti-1  | com.rabbitmq.client.ShutdownSignalException: channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - delivery acknowledgement on channel 9 timed out. Timeout value used: 1800000 ms. This timeout value can be configured, see consumers doc guide to learn more, class-id=0, method-id=0)
        reitti-1  |     at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.checkShutdown(BlockingQueueConsumer.java:493) ~[spring-rabbit-3.2.5.jar!/:3.2.5]
        reitti-1  |     at org.springframework.amqp.rabbit.listener.BlockingQueueConsumer.nextMessage(BlockingQueueConsumer.java:554) ~[spring-rabbit-3.2.5.jar!/:3.2.5]
        reitti-1  |     at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.doReceiveAndExecute(SimpleMessageListenerContainer.java:1046) ~[spring-rabbit-3.2.5.jar!/:3.2.5]
        reitti-1  |     at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.receiveAndExecute(SimpleMessageListenerContainer.java:1021) ~[spring-rabbit-3.2.5.jar!/:3.2.5]
        reitti-1  |     at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.mainLoop(SimpleMessageListenerContainer.java:1423) ~[spring-rabbit-3.2.5.jar!/:3.2.5]
        reitti-1  |     at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1324) ~[spring-rabbit-3.2.5.jar!/:3.2.5]
        reitti-1  |     at java.base/java.lang.Thread.run(Unknown Source) ~[na:na]
        reitti-1  | Caused by: com.rabbitmq.client.ShutdownSignalException: channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - delivery acknowledgement on channel 9 timed out. Timeout value used: 1800000 ms. This timeout value can be configured, see consumers doc guide to learn more, class-id=0, method-id=0)
        reitti-1  |     at com.rabbitmq.client.impl.ChannelN.asyncShutdown(ChannelN.java:528) ~[amqp-client-5.25.0.jar!/:5.25.0]
        reitti-1  |     at com.rabbitmq.client.impl.ChannelN.processAsync(ChannelN.java:349) ~[amqp-client-5.25.0.jar!/:5.25.0]
        reitti-1  |     at com.rabbitmq.client.impl.AMQChannel.handleCompleteInboundCommand(AMQChannel.java:193) ~[amqp-client-5.25.0.jar!/:5.25.0]
        reitti-1  |     at com.rabbitmq.client.impl.AMQChannel.handleFrame(AMQChannel.java:125) ~[amqp-client-5.25.0.jar!/:5.25.0]
        reitti-1  |     at com.rabbitmq.client.impl.AMQConnection.readFrame(AMQConnection.java:761) ~[amqp-client-5.25.0.jar!/:5.25.0]
        reitti-1  |     at com.rabbitmq.client.impl.AMQConnection.access$400(AMQConnection.java:48) ~[amqp-client-5.25.0.jar!/:5.25.0]
        reitti-1  |     at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:688) ~[amqp-client-5.25.0.jar!/:5.25.0]
        reitti-1  |     ... 1 common frames omitted
        
        • danielgraf@discuss.tchncs.deOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          10 hours ago

          Thanks for the information. I will try to recreate it locally. In my testing I used a 600MB file and this took maybe 2 hours to process on my server. It is one of these ryzen 7 5825U. Since Reitti tries to do these analysis on multiple cores we start it with 4 to 16 Threads when processing. But the stay detection breaks when doing it that way, so it is locking per user to handle that. If now one of them takes a long time the others will break eventually. They will get resheduled 3 times until rabbitmq gives up.

          On what type of system do you run it?

          I will add some switches so it is configurable how many threads are opened and add some log statements to print out the duration it took for a single step.

            • danielgraf@discuss.tchncs.deOP
              link
              fedilink
              English
              arrow-up
              2
              ·
              edit-2
              9 hours ago

              Hmm, I had hoped you say something like a Raspberry PI :D

              But this should be enough to have it processed in a reasonable time. What I do not understand in the moment is, that the filesize should not affect it in any way. When importing it 100 Geopoints are bundled, send to RabbitMQ. From there we retrieve them, do some filtering and save them in the database. Then actually nothing happens anymore until the next processing run is triggered.

              But this than works with the PostGis DB and not with the file anymore. So the culprit should be there somewhere. I will try to insert some fake data into mine and see how long it takes if i double my location points.

              • ada@piefed.blahaj.zone
                link
                fedilink
                English
                arrow-up
                1
                ·
                9 hours ago

                I was also trying to set up GPSLogger whilst it was crunching through the backlog, and I manually transferred a file from that app before I had autologging configured. Not sure if that could have done it?

                The times don’t overlap, as the takeout file is only up until 2023

                • danielgraf@discuss.tchncs.deOP
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  edit-2
                  9 hours ago

                  Thanks for getting back to me. I can look into it. I don’t think it’s connected, but you never know.

                  The data goes the same way, first to RabbitMQ and then the database. So it shouldn’t matter, it’s just another message or a bunch of them in the queue.

    • danielgraf@discuss.tchncs.deOP
      link
      fedilink
      English
      arrow-up
      7
      ·
      11 hours ago

      It was not intentional but after bothering not about it because i had other things on my mind i got used to it and now like it the way it is.

      But for everyone who is bothered by that. If Reitti reaches 1k stars on Github I will add a switch to use a centered one 😊

  • Zagorath@aussie.zone
    link
    fedilink
    English
    arrow-up
    46
    ·
    1 day ago

    Fuck yeah this is awesome! The detail of Immich integration is just the icing on top of an awesome cake!

    How demanding is it on server resources? Am I likely to be able to run it on an old Raspberry Pi that’s also running a couple of other relatively light tasks? How much storage does it end up using over time? I’m probably going to try and get it running either on my Pi or my Synology NAS, though the latter has had issues with Docker containers in the past depending on the container’s dependencies…

    • danielgraf@discuss.tchncs.deOP
      link
      fedilink
      English
      arrow-up
      16
      ·
      1 day ago

      I have no clue if a raspberry will handle it. There a a couple of services involved to make it fast, but they are then another burden like RabbitMQ. Which make ingesting data instantaneous but you need extra processing power to handle the queues. It all comes with a tradeoff.

      For size, there is mainly the PostGIS DB. I just checked and my db is around 800 MB for roughtly 8 1/2 Years of data.

      Photon (the reverse geocode enabled in the compose file) is another beast. For Germany it takes 14 GB of storage while running, if you let PARALLELL updates enabled you can double that every time the index is updated. But you can remove that from the compose file and rely on external Geocoders. It is described in https://github.com/dedicatedcode/reitti?tab=readme-ov-file#reverse-geocoding-options

      • Zagorath@aussie.zone
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 day ago

        Oh interesting. I’ve just read through that link, and I was assuming that something similar to the “external only” option would have been the only way it worked. More specifically, I thought it’d just store a list of historical points and display those on an OSM overlay. But it seems like even “external only” is much more involved than that.

        What happens with self-hosted Photon if you specify a country, but then also visit another country? (I assume in hybrid mode it’s as simple as "use Photon in your country, use Nominatim otherwise?)

        But yeah, definitely sounds like a Pi is probably not gonna cut it. I’ll have to see if my Synology can do it, or if the weird OS restrictions Synology imposes prevent it.

        • danielgraf@discuss.tchncs.deOP
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 day ago

          If you use Photon and only have your main country available, it will fallback to the configured external Geo-coding-services since Photon will not return a result then. So the order of execution is:

          • first try Photon
          • if it does not return anything, try to call one or all of the available Geo coding services.
            • danielgraf@discuss.tchncs.deOP
              link
              fedilink
              English
              arrow-up
              2
              ·
              edit-2
              1 day ago

              Maybe the wording is confusing in the Readme. Reitti will try to fetch the data from a configured photon instance first, if this does not return anything and you have Geocoding services configured, it will try them. There is actually no switch for hybrid mode or only local. It depends on what is configured.

              Photon Only: you have only photon configured and under Settings > Gecoding you deleted or disable every available service. Hybrid Mode: Photon is configured and under Settings > Geocoding there are Services available. That es is the one I use. Having Photon with the data for Germany and all the rest is handled by Geoapify.com.

              External Only: You dropped Photon from the docker-compose file and only rely on services under Settings > Geocoding

              If you do not configure anything, then Reitti will skip Geocoding and only display Unknown Place.

              I will update the Readme to make that clear.

              • Zagorath@aussie.zone
                link
                fedilink
                English
                arrow-up
                1
                ·
                1 day ago

                If you do not configure anything, then Reitti will skip Geocoding and only display Unknown Place.

                Ah ok thanks. This is what I was wondering.

                Two follow-ups:

                Can you specify multiple COUNTRY_CODEs? (and if so, is the method

                environment:
                  - COUNTRY_CODE=country_one
                  - COUNTRY_CODE=country_two
                

                or

                environment:
                  - COUNTRY_CODE=[country_one, country_two]
                

                or something else?)

                And is this something that can seemlessly be retroactively changed? For example, if I set COUNTRY_CODE=au and it works fine for Australia, but then I move to NZ, can I add (assuming the answer to my first question is yes) or change to COUNTRY_CODE=nz and have all the NZ locations work on the already-recorded data, even if I made that change to my configuration after I had been in NZ for a few months?

                • danielgraf@discuss.tchncs.deOP
                  link
                  fedilink
                  English
                  arrow-up
                  2
                  ·
                  edit-2
                  1 day ago

                  Good question, afaik you can not enter multiple countries to Photon. I was hoping it would be possible but everything i saw was it is either on country or the whole world. But maybe you can have a look here: https://github.com/komoot/photon That is the service we are using.

    • acchariya@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 day ago

      Looks to be a java application with a number of services running alongside- I don’t think it’s going to be lightweight to run on resource constrained devices, but sweet project anyway! (Side note, no clue how you engineers find the time to hack on things like this, I feel like I’ve got so little time to myself I cannot imagine dedicating it to a project like this)

  • warmaster@lemmy.world
    link
    fedilink
    English
    arrow-up
    14
    ·
    1 day ago

    This looks amazing, congratulations and thank you for making it FOSS. I was wondering if you are considering integrating with Home Assistant.

    • danielgraf@discuss.tchncs.deOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 day ago

      Thanks :)

      No, did not occur to me. What would the integration look like? Connecting it to the message bus to receive location updates? Honestly it is a couple years ago I played with HA.

      • warmaster@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        15 hours ago

        I have the HA app on my phone, it reports my location back to my HA server.

        I would like if Reitti could retrieve my location from my HA server, instead of asking me to upload it again to Reitti. Uploading my location in short intervals drains the battery very fast, it’s something I want to avoid if I can.

        Additiinally, I don’t want to expose anything to the internet. So I pay for the Home Assistant cloud subscription that does it for me in a more secure manner than what I could implement with the little free time I have. Reitti could retrieve my location more securely if it did so without exiting my LAN.

        • danielgraf@discuss.tchncs.deOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          9 hours ago

          I had a similar setup with Home Assistant in the past so I understand your usecase. For Reitti to detect visits somewhat reliable it needs at least one datapoint of location data a minute. We build location clusters with minimum 5 points in 5 minutes. If HA tracks that often it should work. HA probably tracks more than that.

          I could add an integration that Reitti fetches the data from Home Assistant. Do you mind in creating a feature request?

      • pyr0ball@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        6
        ·
        23 hours ago

        Home automation using geofencing, and my partner likes to get a notification when I’m heading home from the office

      • rumba@lemmy.zip
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 day ago

        Location sensor would be a good minimum bar.

        A custom card for your app that is just basically a iframe into your app with auth would also be pretty decent. Your version of a map looks really nice.

        Maybe surfacing metrics of distance traveled or number of geolocations.

        I’ll have to install the app and play around with it to make other recommendations but those are the first things that come to mind.

  • scarilog@lemmy.world
    link
    fedilink
    English
    arrow-up
    19
    ·
    1 day ago

    My only concern is battery usage. Google has the advantage of OS integration, which skims location data for timeline history even when another app accesses location, which uses essentially no battery (since you would’ve been using location for that other app anyway).

    But it’s awesome that a tool like this exists anyways, great work.

    • danielgraf@discuss.tchncs.deOP
      link
      fedilink
      English
      arrow-up
      10
      ·
      1 day ago

      Thank you :)

      I understand your concerns, this is something every additional app would have to deal with.

      For me it is ok to have GPSLogger running all the time, I think for what it is doing it is quite easy on the battery but I do not use my phone actively that much and I am happy if it survives a day which it does.

      • illusionist@lemmy.zip
        link
        fedilink
        English
        arrow-up
        4
        ·
        23 hours ago

        I log my position every 5 seconds for years and gpslogger is not among any of the battery consuming processes if you use the device. If you don’t use the phone at all, it will consume more power but that’s no reason not to use it.

    • danielgraf@discuss.tchncs.deOP
      link
      fedilink
      English
      arrow-up
      7
      ·
      23 hours ago

      I would not say compete. They are different in how things are done from my point of view. I want to focus more on the visits we have done in the past to relive some lost memories whereas Dwarich looks more “technical” for me. I have no better words for it, I hope you get my point in what i am trying to achieve with Reitti. So there should be enough room for both 🙂

      I also do not have any intentions to offer a hosted version in the foreseeable future or even anytime.

      • illusionist@lemmy.zip
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        18 hours ago

        I get what you mean. The focus is different of dawarich. I’m really looking forward into checking reitti out!

  • gullmar@feddit.it
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 day ago

    Very very cool! I see that you can import GPX files: can you also do the opposite, i.e., export a GPX file for a selected time range?

    • danielgraf@discuss.tchncs.deOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 day ago

      I was thinking about that, but the main problem is that we do not store all the data which comes in.

      If we ingest data from an app, I am pretty sure that the quality of the data is actually usable. But for example if we import an Records.json from Google Takeout. The quality of the earlier years is somewhat sketchy. For this we filter out some points like travelling with over 2000 km/h, sudden direction changes etc and they are lost forever. At least for Reitti they are unknown.

      The feature would need a lot of explanation why the data we export is not the same we import.That is the reason I did not implemented it even if it would come in handy for testing stuff. Handling GPX files is a pita …

      • gullmar@feddit.it
        link
        fedilink
        English
        arrow-up
        1
        ·
        17 hours ago

        I understand. Currently, I’m using the NextCloud’s extension Phonetrack, and one on my main use cases is to export GPX files to use them in Darktable and add geotracking information to the pictures I shoot with my camera. It works well, actually, but Phonetrack is not too intuitive and does not offer many other features: that’s why I was looking with interest at this alternative!

  • Sibbo@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    13
    ·
    1 day ago

    This looks amazing, and I will try it out once it has reasonable NixOS support.

    I especially like the immich integration.

    Does it increase battery consumption of the phone a lot?

    • danielgraf@discuss.tchncs.deOP
      link
      fedilink
      English
      arrow-up
      12
      ·
      1 day ago

      Reitti on its own does not run on your phone. It relies on external apps to track your GPS location like GPSLogger or Owntracks. They will increase the battery consumption but I think it is bearable. I personally have setup GPSLogger to fetch every 30 seconds a GPS location and then sends it every hour to reitti. With that i do not see that more power usage. Currently starting to test how the power drain is with a 15 seconds interval.

    • beerclue@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 day ago

      May I ask what you mean by NixOS support? There’s a docker compose you could use in their repo…

      • Sibbo@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        1 day ago

        But then I’d have to combine that with existing services myself. NixOS ensures that there is only one postgres running for example, such that not every service starts its own postgres instance.

        For immich, for example the following is enough for a most basic configuration:

        services.immich.enable = true;
        services.immich.port = 2283;
        
        • beerclue@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 day ago

          I see what you mean, interesting. Didn’t really look at NixOS as a server os. I personally prefer using multiple compose files (in the process of migrating to k8s). I share resources too, like in your example, I just point to the existing DB instance, not create a new one for each new service.

  • BlueÆther@no.lastname.nz
    link
    fedilink
    English
    arrow-up
    9
    ·
    edit-2
    1 day ago

    This looks good, I’m currently using dawarich and owntracks to track our families 5 week road trip around the south island of New Zealand (https://no.lastname.nz/post/1468113). If I can find a spare moment in our travels and a good internet connection I’ll try and spin up an image and test it out.

    One thing that I would love is to be able to have multiple people displayed on a single map (my wife [kids when they have their own phones with data], brother, mother and a few close friends - we already use google maps for this)

    • danielgraf@discuss.tchncs.deOP
      link
      fedilink
      English
      arrow-up
      7
      ·
      edit-2
      1 day ago

      That sounds like an awesome idea, actually the data is stored for every user separately depending on the used api token or when you login and do a data import. I will create a feature request for it.

      But bear in mind, reitti is not meant to be a real-time tracking app. At the moment, data is processed every 10 minutes.

    • danielgraf@discuss.tchncs.deOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      18 hours ago

      I have no experience with traccar but it seems that it supports live tracking. This is something Reitti does not support. Depends on your usecase, but i think traccar is better suited.

    • danielgraf@discuss.tchncs.deOP
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 day ago

      Thanks :) As a German I really like the name Dawarich. First it sound really nice for me but also that “Da war ich” means “There have i been” in german makes, at least for me, an awesome project name.

      Take this with a grain of salt because I have no idea what the plans are for Dawarich or have ever been and this is solely based on my external view. For me the main differences are:

      • visits and trips are our main data, everything else is just the way to calculate them. For Dawarich it looks to me, that it is the other way around. It displays all the location data in good way with the heatmap and so on but visits or places seems so tacked on. This should not be an offense against it. I actually still have an instance running and it was the main pushing point to finally start working on Reitti.
      • the sleek UI but this depends on your taste

      In the end, they are not that far off. Maybe a matter of taste.

      • pipariturbiini@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        2
        ·
        16 hours ago

        Maybe slightly off-topic, but how did you end up with the name “reitti”? You say you’re German - do you have some sort of tie to the Finnish language?

        • danielgraf@discuss.tchncs.deOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          11 hours ago

          Oh, i had the idea in mind what i want to create and than it was a matter of a couple of Google queries but in the end one of the LLM suggested a list of different names in foreign languages and reitti somehow sticked 😊

      • emrsmsrli@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        23 hours ago

        Thanks for the reply! I will give it a go :)

        The word dawarich does not produce a polite sound in my main language, meant no offense to the project :)