- Form at #/mine/new and #/mine/<id>/edit: coordinates pasted and encoded to a precision-6 geohash in the browser (about 1 km, OSM link to check, no map tiles), euro price parsing, optional exact address saved on the node only - Region guard: refuses places the node does not follow; region fixed on edit - Owner view: days left with a warning under 5 days, manual Renew (30 days), Edit, Delete with confirmation - Tests (jsdom and pure logic), docs, rebuilt web/dist Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
34 lines
1.5 KiB
Markdown
34 lines
1.5 KiB
Markdown
# Allmende
|
|
|
|
A free, distributed marketplace for buying, selling and renting. Listings are
|
|
replicated across the nodes of everyone who participates, so there is no central
|
|
server and no cost. See [docs/PROTOCOL.md](docs/PROTOCOL.md).
|
|
|
|
## Try it
|
|
|
|
```
|
|
go build -o bin/node ./cmd/node
|
|
bin/node init # shows your 12-word recovery phrase once
|
|
bin/node run --region u1x # u1x = Hamburg area; UI and API on http://127.0.0.1:8080
|
|
```
|
|
|
|
Open http://127.0.0.1:8080 to search. Your browser checks every listing's
|
|
signature itself, so you don't have to trust the node it talks to. The UI is
|
|
pre-built and embedded; Node.js is only needed to change it
|
|
(`cd web && npm ci && npm run build && npm test`).
|
|
|
|
Buyers can write to an owner straight from a listing, without an account.
|
|
Messages are end-to-end encrypted in the browser and relayed through the
|
|
network, so a node only ever sees ciphertext. The owner reads and answers
|
|
in the browser (`node run` prints a sign-in link; open it to get "My listings")
|
|
and can release the exact address as a signed message.
|
|
|
|
Owners publish from the same screen: "New listing" takes a title, price and
|
|
pasted coordinates (only a ~1 km area is published, never the address), and
|
|
listings can be edited, renewed (30 days, manually) or deleted there.
|
|
|
|
A second node on the same network finds this one automatically (mDNS); across
|
|
networks, pass `--bootstrap /ip4/<addr>/tcp/<port>/p2p/<peer id>`.
|
|
|
|
Licensed under the [GNU AGPL-3.0](LICENSE): free for everyone, and it stays free.
|