Skip to content

jzbz/dcrmapper

 
 

Repository files navigation

dcrmapper

Crawls the Decred network to build a world map displaying every publicly accessible full node.

Uses https://ip-api.com/ for IP geolocation.

Running

go run . [-testnet] [-listen 127.0.0.1:8111] [-domain localhost]

Development

Common tasks are wrapped in a Makefile — run make help to list them:

make run    # build the binary and start the server
make check  # gofmt, go vet, golangci-lint and tests (the pre-commit gate)

There is no build step beyond go build: the templates and static assets are embedded into the binary with go:embed, so the compiled dcrmapper is self-contained and runs from any directory.

Frontend

The UI is plain HTML templates (templates/) styled by a single hand-authored stylesheet, public/css/app.css — no CSS framework and no build step. Light/dark theming is driven by CSS custom properties; just edit the file directly.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Go 80.6%
  • HTML 6.8%
  • CSS 6.1%
  • Shell 3.4%
  • JavaScript 2.8%
  • Makefile 0.3%