Show HN: I made an offline-ready hiking trail companion app (opens in a new tab)github.com
475 pointsHi 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 2 of 39
It reminds me of a very simplified interface of CalTopo.
One question, are you open to PR's? If so, I'd love to see slope angle added into this in the same format for avalanche awareness along a trial.
Great work!
Continue this thread — 12 replies
One question if you're able to comment - what's up with the satellite snow coverage layers? I tried to use those to scout for a hike in October, but both most recent and cloudless were from 2021.
I assume you're talking about our "fresh sat" layers -- in some places the recency of the imagery in those layers is unfortunately dependent on some rather stochastic factors. These factors are usually (but not always) correlated to location on the earth.
We get the latest imagery taken from the satellites (Sentinel-2 and Landsat 8/9) nearly as soon as it's acquired, and then apply some quality filters to it which either accept the imagery for processing or reject it. It's entirely possible to get repeatedly unlucky in that regard, where for a given location no imagery that passes our quality filters has been taken for a long time.
This especially happens a lot near the poles, or in very cloudy places.
are you willing to share where you were looking that you experienced this issue?
Thanks for sharing the filtering process, that makes more sense how a long gap can occur.
I make sure to go on airplane mode and hard-reload the app, and it generally works great. If I have week signal, or don’t reload it, or anything like that, it gets confused and constantly freezes.
The offline route creation is very iffy though.
I'm actually using a plugin[1] that handles elevation and slope graphing. Adding slope to the graph is as simple as adding a line in the configuration.
I only intend this to be a boilerplate for others to start their own projects. I'm not sure how much active development I'll do on it, but I'm certainly open to PRs that make it better.
[1]: https://raruto.github.io/leaflet-elevation/
A really fantastic team building some absolutely gorgeous topographic basemaps from publicly available data. Hopefully they'll find time to add a slope angle overlay at some point.