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

Earlier comments
avg_dev2 replies#
Thanks for creating and releasing this. I started getting into walking after the pandemic. There is a nice suburban trail near my house and I have walked several hundred miles on it. This app is inspiring me to take my newfound love of nature and trails for a day trip or even a multi-day trip. I am grateful for your advice to do my homework including learning to use and carry a compass and a map. To wit:

> You should always research your trip ahead of time, plan training hikes, become familiar with the terrain, carry a physical compass and map and know how to use them.
Have you any additional advice for someone who has not really done a multi-day trip before? I have never heard of AllTrails; I will check it out.

ryanisnan1 reply#
Just a word of warning, if you don't know how to use a map and a compass, and don't practice with it semi-regularly, do not be fooled into thinking these will save you simply because you have them.
ghaff2 replies#
I don’t fully disagree. You certainly don’t want to suddenly have to use unfamiliar tools for the first time when your phone dies or you discover you forgot to download a digital map.

On the other hand knowing the rough direction you’re going and seeing where trails go don’t require being an orienteering whiz.

ryanisnan3 replies#
I agree with both of your points. The gaps in knowledge become a real problem if the user has lost their sense of location, which happens surprisingly easily. If your egress route is straight-forward (e.g. head west, no hazards on route), it's easier to recover. But there are lots of skills that need practice or instruction - triangulation, aiming-off, taking a bearing, back-bearing, declination setting, heck even reading your altitude.

Add panic because you're lost and losing daylight, and you're in a pickle.

Continue this thread — 3 replies

wnissen#
It doesn't, you're right. But the counterpoint to that is you should be really, really sure you have correctly gotten back on track if you decide to move any significant distance. That is the number one thing wilderness rescue folks will tell you. Assuming someone knows when you're supposed to be back, it will be vastly easier to check the immediate vicinity of your planned route than to find you well off-trail in some other direction. Climbing a nearby hill for better visibility or getting on a more-traveled fire road is fine, but heading off can really slow down the search.
jameal1 reply#
I love hearing about the positive effects from difficult events like the pandemic. I'm glad this is inspiring you. I got very inspired as I was building it too. Working on it brought out some enthusiasm I haven't had in a long time--really since I first started coding for fun. There's something about integrating the two hobbies (dev & backpacking) that really invigorated me.

Have you done any overnight camping before? REI has some good resources[1] including checklists for gear. I bet you can find some good YouTube channels too with camping tips too. Watch some of those to get a sense.
I'd recommend starting with a single overnight. Find someone experienced to go with if you can. If not, find a trail where you stay close to the trailhead. That way you can bail if you need to.
Some other tips that come to mind: - Consider the wildlife in your area and whether you need to bring bear spray and hang your food (and any fragrant items) - After each trip do a little reflection. What did you bring that you didn't need? What did you need that you didn't have? - Make sure you carry enough water. Most people need about a half liter per hour during moderate activity in moderate temperatures. If you want to rely on natural water sources, you will most likely need a water treatment device. Also consider that some lakes/streams are seasonal and not always available. Do your research! - Read up on Leave No Trace principles so that you can conserve the outdoors and make sure others can have the same enjoyment[2].
That should give you a good place to start. Feel free to reach out with any specific questions. I've been thinking about sharing more camping/hiking resources on my website.
[1]: https://www.rei.com/learn/c/camping/t/skills?ir=category%3Ac... [2]: https://lnt.org/why/7-principles/

avg_dev#
Nice, thanks for the tips and the thoughts!
palotasb1 reply#
I would also recommend checking out OsmAnd Maps in this space. I use it both for hiking and cycling. I love the UI customizability, for example being able to overlay a satellite map on top of a trail map and having a slider to adjust opacity – this really helps with orientation. On the cycling front it is the only app I know that has a sensible route planner and turn-by-turn navigation. It's open source too, and based on OSM data: https://github.com/osmandapp/ (No affiliation, just started using it after Gaia GPS lost my data.)
GekkePrutser1 reply#
It's pretty nice and what I use because all the other apps like Gaia and Wikiloc are so extremely commercialised. When I tried both of them out, neither had a way to pay without having an android with a google account which I don't (I use degoogled android). And GaiaGPS was taken over by some other company that started monetising it more.

I don't mind paying for an app, I paid for some others outside of the Google store (nine folders and cryptomator) but many don't bother to offer this option.
But I don't think OsmAnd is great for viewing elevation profiles of routes. It makes a little elevation graph below the calculated route, but it's really hard to see where this maps out to hard parts on the actual map.

GekkePrutser#
I know! And I use it. But it's not super visible. I'd love to see colour shading on the route lines based on the gradient or something. OSMAnd does know the gradient, it just doesn't show it in the map view.
karaterobot#
I appreciate that you can scrub through the elevation chart to show the corresponding location on the map. Not every hiking app does this, unfortunately!
eddsh19942 replies#
On a slight tangent, one app I've wanted recently is where I can automatically generate run routes of a certain distance from my location using google maps or something. Basically put a pin where I start, where I finish (maybe the same place), and distance, where it then offers various possibilities I can pick from. Does something like this exist?
tony_cannistra#
This is a premium feature of Strava

Load more comments