From 06c34df2c69c6c7b4557164d739fa6fcaba2973d Mon Sep 17 00:00:00 2001 From: Marcus Kida Date: Sun, 8 Feb 2026 15:32:11 +0100 Subject: [PATCH] Add LICENSE and README --- LICENSE | 21 +++++++++++++++++++++ README.md | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 LICENSE create mode 100644 README.md diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..e728d5a --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 DA6KM + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..ead3742 --- /dev/null +++ b/README.md @@ -0,0 +1,53 @@ +# DMRmap + +A web app that visualizes DMR repeaters on an interactive map. Filter by band, search by address, and find repeaters along a driving route. + +**Live:** https://dmrmap.kida.io + +## Features + +- Full-screen OpenStreetMap with DMR repeater markers (blue for 2m, red for 70cm) +- Band filtering (2m / 70cm / both) +- Address-to-address routing with repeater corridor search (10 km) +- Address autocomplete via Nominatim +- Driving routes via OSRM +- Coordinate display with Maidenhead grid locator +- Dark mode (follows system preference, manual toggle) +- No external CDN dependencies — all assets served locally + +## Requirements + +- Go 1.25+ +- Docker (optional) + +## Running locally + +```sh +go run . +``` + +Open http://localhost:8080. The SQLite database is seeded automatically from `rptrs.json` on first startup. + +## Docker + +```sh +docker compose up --build +``` + +The database is persisted in a named volume across restarts. + +## Development + +Hot-reload with [air](https://github.com/air-verse/air): + +```sh +docker compose -f compose.dev.yml up --build +``` + +## Data + +Repeater data provided by [RadioID](https://radioid.net/database/dumps). This project is not affiliated with or endorsed by RadioID. + +## License + +[MIT](LICENSE)