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
Yours is a good example of what can be done by keeping it simple and not getting wrapped around the axle with complicated frameworks.
It makes me regret all the time I've spent trying to figure out the absolute best tech stack to use rather than just working on finishing the damn thing.
https://lists.sr.ht/~scooter/mototripper-dev
You can subscribe by sending an email to ~scooter/mototripper-dev+subscribe@lists.sr.ht. Feel free to send a hello to the list with what you'd like to see. I'm banging away on it every night when I get home from work.
I think Osmand works fine for some things but really sucks for planning long, time-bound trips, which is my use case.
https://lists.sr.ht/~scooter/mototripper-dev
You can subscribe by sending an email to ~scooter/mototripper-dev+subscribe@lists.sr.ht. Feel free to send a hello to the list with what you'd like to see. I'm banging away on it every night when I get home from work.
OsmAnd is fantastic, but there's room for improvement.
https://lists.sr.ht/~scooter/mototripper-dev
You can subscribe by sending an email to ~scooter/mototripper-dev+subscribe@lists.sr.ht
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.
Continue this thread — 2 replies
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.
> "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."
Here's an idea for an app: one that teaches users how to find their position with nothing but map and compass (though having a non-GPS, i.e. barometric, altimeter is also useful, particularly in poor visibility).
Honestly, I have terrible natural bearings and I've never relied on a map and compass but I would love to practice with an app like what you're describing.
There's some ultramarathon race I remember reading about where contestants bushwack an insane distance through some stretch of woods over a few days using only compass and map. I don't think I'd even make it a mile!
First, try to orient the map to the surroundings based on landmarks which you get readings on using the compass. (A more expensive compass with a mirror for sight readings is kind of essential, also with an adjustment for your local magnetic vs. true north offset, which can be fairly large). Here is where having a satellite GPS to get your location on the map makes life a whole lot easier, but orienteering types sniff at such aids.
Once the map is oriented, plot your straight-line course to your desired location on the map (although you may have to go around obstacles, so then you have to plot a zig-zag route). Then, use the compass to follow that plot as best you are able, re-orienting the map every once in a while to landmarks to verify your location. Checking against an altimeter also helps ensure you are where you think you are.
It's amazing how fast one can get off-track in whiteout conditions due to snow or heavy clouds, though. And if there are no visible landmarks in flat country, then having a satellite GPS is pretty key! (as long as the batteries last).
https://barkleymovie.com/
https://vimeo.com/97270099
I've completed a few ultra marathons but only on well marked impossible to get lost on trails. I'm not even brave enough for the http://www.uwharrie100.com/
[1] https://github.com/jamealg/KT-companion/blob/master/scripts/...
All comments shown.
Couldn't load more comments. Check your connection and try again.