frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Trailmaps.app – Mobile maps that match the trail

https://trailmaps.app/
1•c0nsumer•1h ago
I ride mountain bikes, build trails, do a lot of trail mapping in OpenStreetMap, and make print maps of the trails. Accurate trail maps are near and dear to me. And one thing I've found with pretty much every online map is that they are quite generic as to how they color the lines illustrating the actual "trails" within a park or trail system. In person, mountain biking trails/routes tend to be marked with signs, often featuring a different color for each route. And there is very often a local map for the park showing those routes with the colors, etc. But, pretty much all mobile apps just don't show that.

So, I put together a toolchain that generates maps from OpenStreetMap data, some other open data sources, plus some manually inputted things, and produces static HTML+CSS+JS maps of individual trail systems. The map does geolocation, allows you to turn on and off markers for things like parking, points-of-interest, toilets, water, trail direction, etc. I then host these on trailmaps.app. They are simple, static, and effective for showing where you in a way you can relate to the actual trail system.

What differentiates this from a lot of other map systems (MTB Project, Trailforks, Strava, Gaia, RideWithGPS, onX, Mapy.cz) is while these these all show these trails, they either color them with difficulty designations or don't color them at all. This isn't that.

In interest of a bunch of things ranging from privacy for users to simplicity for me, there's just no tracking, no logins, no cookies (just some local storage to preserve map settings), and all libraries used are hosted on trailmaps.app. Everything gets cached locally (it's typically 15-25MB/map), which means once loaded it works when there isn't cell service. And it can be installed as a PWA. For a few of the trails I've made maps for (eg: RAMBA) and some others that I intend to... There isn't cell service over the whole area, so offline use is almost a must. And people seem to like the app-like PWA shortcut. (And yes, it does check for and prompt the user to reload the page if the map gets updated.)

Another benefit to the static, self-contained nature of the maps is that clubs and non-profits who maintain the trails can very easily link to, embed, or just host the map themselves like they would a print map. There's no login or payment required, and if they want to generate their own, they can. (A example of why they might prefer this is visitors. For example, Trailforks: unpaid users of the app can only see trails near their house on mobile devices. So if someone is traveling, doesn't subscribe, and the only map is on Trailforks... they can't see the trails. This sidesteps that.)

And yes, this does mean these maps are all hand-curated. I see this as benefit, because it means that only things relevant to the trail are shown on the map. Like, there could be dozens of "parking" areas near by, but there might only be one or two that's good for accessing the trail system. Or, the curator might know to include this local rail trail, or that multi-use trail, but not this other.) Curated, just like how a good print map is.

Because the maps are static once they are on the site, it also means that errant (or rogue) OSM modifications don't cause problems with the map. Sure, it means trail changes require manual work to update the map, but trail changes don't happen all that often, and maps can be updated and deployed in sync with the print/trailhead maps. And sure, it doesn't scale, but I'm okay with that for now.

There's still a bit to do. I could really use a logo, I want to make more maps (we've got a lot of trail networks here in Southeast Michigan), probably some refiguring of the indexing once I reach a certain threshold of maps, documentation cleanup on the generator repo, support for a new trail difficulty designation system (ITRS), and the inevitable bug fixes. But, I'm pretty happy with where it is right now. It's usable, and it works.

Comments

binyang_qiu•49m ago
The way you color these trails is so good! It is clearer and easier to read than other existing maps. Also the information is detailed so that users can have an expectation before going there. I'm just wondering if you plan to expand yours beyond the US eventually?
c0nsumer•44m ago
Thank you. It's really a simple concept: color them as the colour= tag is in the OSM relation, which matches the signs/markings on the trail.

There's no reason why it couldn't be used anywhere else. This just makes maps that fit within the bounding box of a relation. The only thing US specific about it is the elevation data, and I'm sure something else could be used to get that elsewhere. Or else it could just be turned off for a given map with show_terrain: false.

US reportedly dropped fraud charges against Adani after he hired Trump's lawyer

https://www.theguardian.com/us-news/2026/may/14/gautam-adani-billionaire-trump
1•dilawar•4m ago•0 comments

Logic bug in the Linux kernel's __ptrace_may_access() function (LPE)

https://www.openwall.com/lists/oss-security/2026/05/15/2
2•Tiberium•8m ago•0 comments

Ask HN: How do you catch regressions when you change your AI agent's prompt?

1•yakshithk_•9m ago•0 comments

C++26 Shipped a SIMD Library Nobody Asked For

https://lucisqr.substack.com/p/c26-shipped-a-simd-library-nobody
1•signa11•11m ago•0 comments

Solar Is Everything

https://www.barchart.com/story/news/37361552/solar-is-everything-teslas-elon-musk-says-other-ener...
1•andsoitis•13m ago•0 comments

Claude free usage limits are nuts. useless

2•paulpauper•19m ago•0 comments

PSVL 1.0 – The most comprehensive source-visible license (276 clauses)

https://github.com/BMBOMICH/PSVL
1•BMBOMICH•19m ago•0 comments

How Claude Code works in large codebases

https://claude.com/blog/how-claude-code-works-in-large-codebases-best-practices-and-where-to-start
16•shenli3514•27m ago•4 comments

The Two Sleeps

https://dylan.gr/1775146616
2•James72689•28m ago•0 comments

GitHub Copilot has released a preview of usage-based billing

https://old.reddit.com/r/GithubCopilot/comments/1tbb5bj/github_copilot_has_finally_released_a_pre...
1•jay_kyburz•28m ago•0 comments

Waymo recalls 1000s of driverless cars after some failed to avoid flooded roads

https://www.latimes.com/business/story/2026-05-14/waymo-recalls-thousands-of-its-driverless-cars-...
2•petethomas•40m ago•0 comments

Coldkey – Post-quantum age key generation and paper backup tool

https://github.com/pike00/coldkey
2•pike00•41m ago•0 comments

Latvian government collapses after Ukrainian drones strike oil facility

https://www.theglobeandmail.com/world/article-latvian-government-collapses-after-ukrainian-drones...
2•petethomas•46m ago•0 comments

Musk accused of 'selective amnesia,' Altman of lying as OpenAI trial nears end

https://www.reuters.com/sustainability/society-equity/elon-musks-court-battle-against-openai-ente...
5•jnord•46m ago•0 comments

Details of the Daring Airdrop at Tristan Da Cunha

https://www.tristandc.com/government/news-2026-05-11-airdrop.php
2•kspacewalk2•47m ago•0 comments

White-collar workers report growing feelings of 'AI brain fry'

https://www.ft.com/content/0ba3bd4f-cc3a-4cad-8a8e-76925da2a711
3•1vuio0pswjnm7•52m ago•0 comments

How Do VPNs Protect Your Privacy? VPN Overview

https://www.privacyguides.org/en/basics/vpn-overview/
3•Cider9986•53m ago•0 comments

Secrets at Rest: SOPS and Age for Docker Compose Homelabs

https://pikemd.com/blog/sops-age-docker-compose/
3•pike00•55m ago•0 comments

Self-destructing $2k Nvidia chips for distributed solar data ctrs in lampposts

https://www.techradar.com/pro/self-destructing-usd2-000-nvidia-chips-will-soon-power-tens-of-thou...
2•toss1•58m ago•0 comments

I ran forensics on closed models and discovered no one is using dense attention

https://blog.0xmmo.co/forensics/post.html
1•mmoustafa•1h ago•0 comments

Countdown to Apophis Close Approach–Cascading Hazards from Asteroid Impacts

https://pubs.usgs.gov/publication/fs20253028/full
1•rolph•1h ago•0 comments

Systematically Auditing AI Agent Benchmarks with BenchJack

https://arxiv.org/abs/2605.12673
1•matt_d•1h ago•0 comments

Show HN: Trailmaps.app – Mobile maps that match the trail

https://trailmaps.app/
1•c0nsumer•1h ago•2 comments

Musk's China trip during OpenAI trial prompts apology from his lawyer

https://www.cnbc.com/2026/05/14/musk-lawyer-trial-jury-china-trip-openai-altman.html
2•1vuio0pswjnm7•1h ago•0 comments

How to Fix "DMARC Quarantine/Reject Policy Not Enabled"

https://dmarcguard.io/blog/dmarc-policy-not-enabled-fix/
1•meysamazad•1h ago•0 comments

How do you tell who's thinking?

https://willhackett.com/borrowed-cognition/
2•meysamazad•1h ago•1 comments

Ingest – Capture Anything from Anywhere

https://edleeman.co.uk/posts/ingest-capture-anything-from-anywhere/
2•meysamazad•1h ago•0 comments

Cowboy files plans for up to 20k orbital data centers

https://spacenews.com/cowboy-files-plans-for-up-to-20000-orbital-data-centers/
3•defrost•1h ago•0 comments

Bay Area customers may face warnings, fees under Recology's new camera system

https://www.sfgate.com/local/article/recology-cameras-22259377.php
1•turtlegrids•1h ago•1 comments

Water on Earth

https://www.scientificamerican.com/article/its-a-water-full-world/
2•soupspaces•1h ago•0 comments