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

BTBurke6 replies#
This is great. I've been working on an adventure motorcycling trip planning app which has similar requirements of being able to work offline as you ride your preplanned trip.

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.

jameal#
I know that pain. It helped that I had a two week time constraint! I really wanted to use Svelte, but I found it nearly impossible to use without a build script.
pointpth1 reply#
would love to stay up to date on this
BTBurke#
Nothing is ready to be shared yet, but when it is I'll announce it here first for beta testers:

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.

mrg2k82 replies#
I've extensively used Osmand off-line during my overlanding trips, from Cape Town to Europe across west Africa and from Czechia to Mongolia. Why reinvent the wheel?
usrusr#
In my case, looking at a very similar set of requirements for a project yet to be started, a target audience that includes both Android and iOS and people who might be reluctant to install an app (but should have the option to "offlinify" the website they use, perfect match for PWA)
BTBurke#
Everything has been done at least once. If we don't try to improve on what's out there, no progress will ever made.

I think Osmand works fine for some things but really sucks for planning long, time-bound trips, which is my use case.

wyclif1 reply#
You should consider changing the name to something that isn't single trail-specific.
BTBurke#
It's open source so when it's ready you can fork it and call it anything you want. Some of the features are meant to be specific to motorcyclists. And as far as getting the word out, it's easier to make it specific to a particular community since I know where they hang out online and how to get it in front of eyeballs.
hentrep1 reply#
How can I hear more when it’s ready?
BTBurke#
Nothing is ready to be shared yet, but when it is I'll announce it here first for beta testers:

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.

nicbou1 reply#
Please please please give me a way to hear more when it's ready!

OsmAnd is fantastic, but there's room for improvement.

BTBurke#
I'd love to hear more about what improvements you'd like to see. Nothing is ready to be shared yet, but when it is I'll announce it here first for beta testers:

https://lists.sr.ht/~scooter/mototripper-dev
You can subscribe by sending an email to ~scooter/mototripper-dev+subscribe@lists.sr.ht

DMell3 replies#
This is fantastic. I currently live in Rocky Mountain National Park where I climb, hike, and ski nearly every day - my partner also works for the Park Service. We have been using Gaia and love it but your UI looks fantastic and I'll get it installed.

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!

mordechai90004 replies#
Have you had any problems using downloaded maps in Gaia when there is no service?
mikestew#
Not parent commenter, but use Gaia offline maps on a regular basis (at least once a month). I do not recall ever having a problem with them. My consistent experience: no cell coverage, pull up Gaia, map is displayed.
tony_cannistra2 replies#
I work at Gaia, though not on the mobile dev side of things. We have an active ticket for this and are currently looking into the root cause -- you're not the only one who has experienced this issue, although it seems to be sporadic.
julienchastang12 replies#
I am glad to have stumbled upon a GaiaGPS developer. I would describe myself as a GaiaGPS power user (I have a pro subscription) and I have a love / hate relationship with the app. My main issue is that bugs and feature requests don’t get addressed and is starting to have the feel of Abandonware. Track cropping still has no undo and recently was also buggy — the crop would not “stick”. (I ended up hand editing the GeoJSON, something that created its own problems.) This is an essential feature that should work correctly especially when you drive away without finishing the track — something that I think happens to a lot of users. Also, track way points sporadically don’t seem to “attach” or “anchor” to tracks — they just end up free-floating some of the time. My broader concern is the acquisition by Outside Magazine is not going smoothly, they are not a tech company and the managers there probably are more concerned with the bottom line than maintaining a technically viable product.

Continue this thread — 12 replies

zmj2 replies#
Happy Gaia user here, thanks for your work! The core topo functionality works great for me online or offline in RMNP and the surrounding area.

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

DMell#
I personally have not but I know a couple of individuals that have.
carderne#
I’m a heavy Gaia user, always offline.

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.

jameal#
Thanks a lot! I'd love to hear how it goes if you actually use it in the wild.

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/

bjtitus1 reply#
I highly suggest checking out Natural Atlas (https://naturalatlas.com/) by the same small team who made the CoTrex app (https://trails.colorado.gov/) for Colorado Parks and Wildflife.

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.

DMell#
Thank you - I will!
photochemsyn1 reply#
Very clear README on how to use and configure. Leaflet seems like a great resource. Also particularly appreciate this included advice for users:

> "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).

jameal2 replies#
Thanks for the feedback. I tried to make it as clear as possible so I appreciate the validation.

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!

photochemsyn#
Those are orienteering competitions, it takes a certain type to enjoy them. It's not too hard to learn the basics however.

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).

jameal#
Yes that's it! Absolutely insane. I'm sure it's thrilling but I would rather just hang out in a small area and enjoy the nature.
jameal#
I chose them because I liked the way they looked most, especially zoomed in. I hadn't really considered how they would scale but that's certainly an important point for anyone creating something for wider adoption.

Load more comments