this post was submitted on 11 Jun 2024
366 points (98.9% liked)

Selfhosted

38017 readers
125 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Hey there,

it's been a while since my last post. Since then - with the help of this awesome community - I have added multiple new features and fixed a lot of bugs.

Most importantly there is now a working demo alongside a shiny new landing page.

And here are some more fun features I added since then:

  • Trail drawing: in addition to uploading you GPX, TCX or KML files, you can now also simply draw a trail by defining multiple waypoints. The route between them will be calculated automatically.
  • Sharing trails: simple and straightforward - you can share your trails with other users and let them view or edit.
  • Printing trails: there is now a dedicated print view. Plan your adventure digitally and then take it with you on paper.
  • wanderer is now available in 8 different languages (thanks to translators from the community). If you would like to contribute a translation you can do so here.
  • You can now bulk upload multiple trails at once simply by putting them in a dedicated auto-upload folder

And much more. I'd be happy if you give it a try in case you haven't yet.

GitHub repo: https://github.com/Flomp/wanderer

all 36 comments
sorted by: hot top controversial new old
[–] [email protected] 30 points 1 month ago* (last edited 1 month ago) (1 children)

If you guys like hiking and stuff, there's this cool open source app called trail sense on f-droid and it's just so much feature packed...

I don't hike, so I only use it for it's pedometer capabilities and a hypothetical situation where "I might get really lost" but the amount of features it has for hiking and survival is crazy and so I think deserves to be more known.

[–] [email protected] 14 points 1 month ago (2 children)

Yeah, I have trail sense installed - but everytime I'm out and about I just can't work out how to use the myriad functions it has (like how high something is, etc)...

I really ought to RTFM and try to use it properly

[–] [email protected] 2 points 1 month ago (1 children)

Haven't seen RTFM casually dropped in conversation online in... um... a while...

You've been hanging out on the intartoobz at least as long as I have. Circa the paleolithic era, or so...

[–] [email protected] 1 points 1 month ago

I've been here since before dial-up. I knew Janet in the early days 😉

[–] [email protected] 1 points 1 month ago

lol RTFM took me a while to figure that one out

[–] [email protected] 6 points 1 month ago (3 children)

I'll install this on my Lab it looks cool!

Also, is there any mobile app that can trace and upload trails I do in the day ?

[–] [email protected] 11 points 1 month ago (1 children)
[–] [email protected] 2 points 1 month ago (1 children)

Ah, ok, so I can export my OsmAnd paths, import into this and then remind myself of where I went on holiday / almost fell of a cliff / got lost driving / etc ?

I have a bunch of tracks I've saved over the years... hmm... maybe this is what I should be using

[–] [email protected] 3 points 1 month ago

Exactly! As long as you have the track in a GPX, TCX or KML file, you are good to go.

You can also plan your route directly on wanderer (so you don't fall off another cliff ;))

[–] [email protected] 2 points 1 month ago

On iOS there is GPX Tracker which simply records a GPX track and can overlay openstreetmap data while doing so.

[–] [email protected] 2 points 1 month ago (1 children)
[–] [email protected] 1 points 1 month ago (2 children)

Looks like what I wanted! However, it doesn't seem to let me export to a supported format for Wanderer (only kmz?), could you confirm @get_[email protected] ?

[–] [email protected] 3 points 1 month ago (1 children)

Open Tracks allows exporting in either KMZ (default), KML or GPX format. Go to Settings, tap on "Import and Export" and there look, towards the end, for the entry "Export/sharing file format".

[–] [email protected] 1 points 1 month ago

Awesome, thanks for the tip! I'll try the app on my next trail trip

[–] [email protected] 3 points 1 month ago

I don't know the app. But on the linked page it says it supports GPX and KML. Both of which wanderer supports.

[–] [email protected] 6 points 1 month ago (1 children)

It looks amazing!

How well fitted would this be for a Google maps timeline replacement?

I see you mention we need to upload the files which maybe could be obtained from an app like https://github.com/mendhak/gpslogger
I already had a flow to have them on my server with syncthing, so I could easily use your api to process them.

The thing would be to have each trail be marked as each day and have a way of showing them nicely (I haven't tested everything in the demo hehe).

Is there a plan to be able to process any GPS standard to automatically generate the trails?

I'm currently using traccar, but it looks more like a fleet management than something to remember where you've been.

[–] [email protected] 3 points 1 month ago (1 children)

Have you seen owntracks? They have client apps too.

[–] [email protected] 1 points 1 month ago

Just tried it and seems too complicated haha. With traccar I just had to deploy a single service and use either the official app or previously gpslogger sending the data to an endpoint.

With owntracks the main documentation seems to be deploy it into the base system, docker is kind of hidden.
And with docker you need to deploy at least 3 services: recorder, Mosquitto, and the front end.
The app doesn't tell you what's expected to be filled into the fields to connect to the backend. I tried with https but haven't been able to make it work.

To be fair, this has been just today. But as long as a service has a docker compose I've always been able to deploy it in less than 10 minutes, and the rest of the day is just customizing the service.

[–] [email protected] 5 points 1 month ago* (last edited 1 month ago) (2 children)

Looks cool. I have it up and running with the docker compose provided. Every time I try to create a user it says "Error creating user", and the logs say [ERROR] [23:30:00]: Login failed. Unable to obtain cookie.

Edit: I got it working, just had to updated some of the network stuff in the docker compose. The networking in Portainer is a bit "complex".

I can't get photos to work. Oh well.

[–] [email protected] 2 points 1 month ago (1 children)

Happy that you got it working. What exactly does not work with the photos? Fell free to open a GitHub issue, if that's easier.

[–] [email protected] 1 points 1 month ago (1 children)

I'm able to save a trail without any photos, but if I try to add a photo it lets me select the photo, but saving the trail gives a toast notification in the bottom right that says "Error saving trail." The web, db, and search logs don't show any errors.

[–] [email protected] 1 points 1 month ago (2 children)

Did some really basic testing with a few images I had at hand:

  • jpg (7,8 MB): ❌
  • jpg (1,6 MB): ✅
  • webp (2,2 MB): ✅ (was even animated)
  • png (564 kb): ✅

might be an issue with the sizes of the files, how large are your photos?

[–] [email protected] 1 points 1 month ago

Ah yes, sorry, the upload is currently capped at 5MB. You can change that limit in the PocketBase backend. I will add a guide to the docs.

[–] [email protected] 1 points 1 month ago

Aha, that must be it. The photo in question is 6.7MB

[–] [email protected] 2 points 1 month ago* (last edited 1 month ago) (1 children)

having the same issue, could you give some infos what you changed in the network settings?

edit: hadn't updated the ORIGIN env correctly (only updated the port): classic case of RTFM

[–] [email protected] 2 points 1 month ago* (last edited 1 month ago)

Mine was having some weird problem with docker, I think it must be a docker bug. Basically it put the Wanderer stuff at the very bottom of the routes (running "sudo route" on Debian lists the routes). The last entry in the routes table needs to be eth0 or the equivalent so that stuff can loop back to the beginning of the list. At least that's my understanding.

So anyway, to get around that bug/limitation I had to create a static docker network which I called "wanderer-static" using docker network create --attachable -d bridge --subnet 172.28.0.0/16 --gateway 172.28.0.1 wanderer-static. Choose a subnet that's not being used already.

Then in the docker compose file, point everything at that network by:

Removing

 networks:
   wanderer:
     driver: bridge

Adding

networks:
  wanderer-static:
    external: true

And finally, pointing each service to that network. Under each service you should have:

    networks:
      - wanderer-static

I also had to update the ORIGIN and whatever else to http://wanderer-static:7000, etc.

[–] [email protected] 4 points 1 month ago (1 children)

Hi, this looks amazing, I'll try it ! How is Pocketbase? What are your thoughts working with it?

Also, have you thought about federating trails? It would be amazing we could build a decentralized alternative to the big corps.

[–] [email protected] 1 points 1 month ago

I really love working with PocketBase. It gives you such a headstart, but also is highly customizable. It's really the best of both worlds.

[–] [email protected] 1 points 1 month ago

Super cool!!

[–] [email protected] 1 points 1 month ago

Thanks, I will definitely give this a try.

[–] [email protected] 1 points 1 month ago (1 children)

Looks pretty cool. I'll have to spin up a VM to give it a try.

[–] [email protected] 1 points 1 month ago (1 children)
[–] [email protected] 2 points 1 month ago (2 children)

Hey, the demo is really responsive... impressive!

Is this running on a mega spec server - or are the results comparable to the small VM I'd be wanting to run at home? :)

[–] [email protected] 2 points 1 month ago

Thanks! No this is an extremely low spec server: 2GB RAM and 2 virtual cores.

[–] [email protected] 2 points 1 month ago

Yeah the whole app is really responsive, works great on minimal resources. Excellent for sharing hikes and trails!