https://github.com/jamealg/KT-companion Skip to content Toggle navigation Sign up * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code + Explore + All features + Documentation + GitHub Skills + Blog * Solutions + By Plan + Enterprise + Teams + Compare all + By Solution + CI/CD & Automation + DevOps + DevSecOps + Case Studies + Customer Stories + Resources * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles + Repositories + Topics + Trending + Collections * Pricing [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this user All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} jamealg / KT-companion Public * Notifications * Fork 3 * Star 253 A hiking and backpacking trail companion progressive web app License MIT license 253 stars 3 forks Star Notifications * Code * Issues 0 * Pull requests 0 * Actions * Projects 0 * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Security * Insights jamealg/KT-companion This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. master Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags Name already in use A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch? Cancel Create 1 branch 0 tags Code * Clone HTTPS GitHub CLI [https://github.com/j] Use Git or checkout with SVN using the web URL. [gh repo clone jameal] Work fast with our official CLI. Learn more. * Open with GitHub Desktop * Download ZIP Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching Xcode If nothing happens, download Xcode and try again. Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit @jamealg jamealg Update README.md ... 2761cce Nov 1, 2022 Update README.md 2761cce Git stats * 47 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time data Fix trail gpx and add elevation data Oct 21, 2022 img Add markers Oct 21, 2022 scripts Fix elevation zoom Oct 31, 2022 styles Remove radar Oct 31, 2022 .gitignore Initial commit Oct 21, 2022 LICENSE.txt Add license and readme Oct 31, 2022 README.md Update README.md Nov 1, 2022 favicon.ico Initial commit Oct 21, 2022 index.html Remove radar Oct 31, 2022 manifest.webmanifest Update theme color Oct 21, 2022 pace.html Add stepper buttons Oct 21, 2022 sw.js Remove radar Oct 31, 2022 View code KT Companion [?] Features Customization and deployment Room for improvement Cool features you could add README.md 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. Try it out here. Animated screenshot demo of the app 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 1. Fork the project or download the code directly 2. 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) 3. Replace the content of knobstone-sites.gpx to customize markers 4. Deploy to any web server 5. Customize map tiles - A list of map tile providers can be found here Room for improvement There are a few areas that need polish: * Receiving updates requires reinstalling the app or clearing your cache * Not so modular - most Javascript and styles are written in a single file * The pace calculator was written with in an imperative style and needs refactoring Cool features you could add * Track location over time and display it on the map. Turn that into a downloadable GPX * Make the pace calculator automatic based on location tracking * Tap to add notes and markers About A hiking and backpacking trail companion progressive web app Resources Readme License MIT license Stars 253 stars Watchers 4 watching Forks 3 forks Releases No releases published Packages 0 No packages published Languages * JavaScript 73.0% * HTML 14.0% * CSS 13.0% Footer (c) 2022 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.