Lurker News
Hi HN! This is a trail companion web app (think AllTrails) I hacked together in a couple weeks time. I was inspired to create this project while training for an extended backpacking trip. My motivation was to create a UI tailored exactly to my liking, and to be able to track my progress along the trail without draining my battery. I also wanted to experiment with PWA technologies.

I successfully used it on my five day adventure along the Knobstone Trail in southern Indiana, and even though it's web-based it hardly consumed any battery life on my old first-gen Pixel XL.
It's set up currently to support a single trail, where the trail and trail markers are deployed with the rest of the app. So it's single-use in that way. For future trips, I can simply swap out the GPX files and deploy.
I am releasing it with an open source license in case anyone wants to use it as a boilerplate to create their own.

Comments (141) 39 threads

Show all comments

Showing thread 11 of 39

la_fayette1 reply#
This is really cool! The app has all important features one needs!

Since the UI/display has a major impact on battery, it would be nice to have a dark stylesheet and map style.
Regarding location tracking in the background, this is not working inside web browsers. Even for Android native apps a lot of user actions are required in order to make background location tracking possible. Moreover google play might not approve an app, which has background location tracking [1].
[1] https://developer.android.com/training/location/background

jameal#
That would be great! I wonder if there are any dark mode tilesets for maps... not sure how that would affect legibility during the day but it would be perfect for evening at camp, for previewing the next day's hike.

Thanks for the link. It's too bad but it makes sense for privacy reasons.