I also played with this idea of a Memex [1] a few times already, but I always struggle with the actual usefulness of the data. Most of the time, the greatest fun for me is setting up the systems and seeing it all come together in a single database, but I tend to fall behind as soon as it is manual work to keep something updated.
For location, I found that the easiest and most privacy-friendly way of doing this without wrecking the battery of my main phone was to get a cheap used Android phone with dual GPS (a Xiaomi Mi 11 Lite 5G) on which I have PhoneTrack [2] installed and then pipe the GPS points to a PostGIS database on my local network [3] when I am home.
For location, I found that the easiest and most privacy-friendly way of doing this without wrecking the battery of my main phone was to get a cheap used Android phone with dual GPS (a Xiaomi Mi 11 Lite 5G) on which I have PhoneTrack [2] installed and then pipe the GPS points to a PostGIS database on my local network [3] when I am home.
[1]: https://en.wikipedia.org/wiki/Memex [2]: https://f-droid.org/en/packages/net.eneiluj.nextcloud.phonet... [3]: https://github.com/gitc23/phonetrack-server