A simple way to serve markers for Leaflet-compatible maps
  • JavaScript 58.9%
  • Go 26.4%
  • CSS 7%
  • Go Template 6.7%
  • Shell 1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
surdeus ebe38fd7f4 refactor: move to the go.mojosa.su/service/mapmark module path
Published as codeberg.org/mojosa/mapmark. Code lives on the Forgejo instance
and go.mojosa.su answers discovery for it, so the module path follows:

    codeberg.org/mojosa/mapmark -> go.mojosa.su/service/mapmark

Changed: the module line and the imports of it. No behaviour change.

The dependencies are deliberately not included. This repository is written
against goss v0.17.1, and the library's routing API has since been rebuilt:
Path/Method/Case/Default/Chain/Root are gone, replaced by Paths/Methods/Route/
Fallback, with Route (prefix) and Exact (segment) as two different behaviours.
Bumping the requirement therefore means rewriting the routing in api.go,
http.go, handler.go and views.go - a migration, not a rename - and this
repository has no tests to catch a wrong choice between Route and Exact.

So it still requires codeberg.org/mojosa/goss v0.17.1 and gocli v0.10.0, and
still builds. Moving those is a separate, deliberate change.
2026-10-31 15:27:59 +05:00
public feat: now maps can be shown, the markers are next. 2026-06-06 12:58:28 +05:00
queries feat: keeeep going... 2026-06-05 00:17:22 +05:00
schema Keep changing into WebComponents (are they?) 2026-06-04 23:20:02 +05:00
templates feat: now maps can be shown, the markers are next. 2026-06-06 12:58:28 +05:00
.gitignore fix: better name. Better boilerplating for handling queries. 2026-05-20 21:20:40 +05:00
api.go refactor: move to the go.mojosa.su/service/mapmark module path 2026-10-31 15:27:59 +05:00
context.go refactor: move to the go.mojosa.su/service/mapmark module path 2026-10-31 15:27:59 +05:00
devel-loop.sh Save. 2026-05-22 15:20:37 +05:00
env.go feat: implementing the basic frontend via VanillaJS. 2026-05-14 20:27:07 +05:00
go.mod refactor: move to the go.mojosa.su/service/mapmark module path 2026-10-31 15:27:59 +05:00
go.sum feat: added marker updating (needs checking, somehow only GET requests?). 2026-05-28 20:53:48 +05:00
handler.go fix: better name. Better boilerplating for handling queries. 2026-05-20 21:20:40 +05:00
http.go feat: added hot reload via wgo. 2026-05-14 22:01:25 +05:00
main.go refactor: move to the go.mojosa.su/service/mapmark module path 2026-10-31 15:27:59 +05:00
sqlc.yaml feat: implementing the basic handlers via sqlc.. 2026-05-03 21:03:14 +05:00
std.env fix: better name. Better boilerplating for handling queries. 2026-05-20 21:20:40 +05:00
Taskfile.yaml fix: better name. Better boilerplating for handling queries. 2026-05-20 21:20:40 +05:00
tmpl.go feat: implementing the basic frontend via VanillaJS. 2026-05-14 20:27:07 +05:00
views.go Keep changing into WebComponents (are they?) 2026-06-04 23:20:02 +05:00