A hiking and backpacking trail companion progressive web app
KT Companion
A knowledge-of-the-trail companion app, originally developed for my backpacking trip on the Knobstone Trail in my home state of southern Indiana. Consider it a fully customizable alternative to something like AllTrails or HikingProject.
This project was rapidly developed over the course of two weeks. Although it served me well on my trip, it is not advisable to rely on it as your only resource. 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.
It relies heavily on the wonderful open-source map library Leaflet and many more plugins from the Leaflet community.
⭐️ Features
Toggle location marker - Save battery life by only turning on location when you need it.
Offline-ready including map tiles - Hold your device in landscape mode and press the 💾 button to download visible map tiles.
Fullscreen app experience - For Android devices (not sure about Safari iOS).
Elevation profile - Double-tap the elevation profile to zoom.
Manual pace calulator - Start/stop the timer and input your miles to see your pace and expected completion time.
No complicated build configuration - All third-party libraries are loaded via CDN. Bring your own build tools if you need it.
Tap the map to copy coordinates - Then paste into your notes app.
🎨 Customization and deployment
Fork the project or download the code directly
Replace the contents of knobstone-trail-kt.gpx with your own GPX data (you can often find GPX files for popular trails online, download the GPX from your smartwatch, or use a tool like the excellent GPS Visualizer to draw your trail directly on a map)
Replace the content of knobstone-sites.gpx to customize markers