Introduction
This book is a work-in-progress.
It will soon have some explainer material that describes the project, what it is, what it is for, and why we are making it.
Additionally, it will contain reference material describing the various components, links to projects we like, as well as guides for operating the software involved.
Much of the documentation that currently exists is in the form of private notes. The goal is to gradually migrate those private notes (and enhance them) into this published book meant for a public audience.
The book is stored in a git repo on GitHub at hexcamp/hexcamp-book and is published to: https://6kg6ryaaaaaa.vanhex.ca/
Explainers
Technical Overview
Operators Guide
Daily Checklist
-
Website testing
-
Check Grafana
-
Check AWS billing
-
Check OVH billing
-
Publishing test
-
Check backups
- (Need to setup)
-
Update Accounting
- (Need to setup)
Community Onboarding
Core Requirements
Footprint, reservations and allocations
Make a git repo to store data files for recording the community “footprint” (allocated hexagons on the map), plus reserved blocks of hexagons and allocations to specific use cases.
Example:
- GitHub: hexcamp/hexcamp-community-vanhex
Landing page
Template:
Welcome page
Example:
Cities and Neighbourhoods
Get political boundaries from Open StreetMap Data + possibly open data from governments.
Template:
ATProto account
Template:
- BlueSky profile: vanhex.ca
- self-hosted on yvr.whims.io PDS
- optional: create a custom PDS for the new community
News
Template:
- Semble: Research Local News Organizations
- News feed: VanHex News Feed (using Graze.Social)
- News Experiments
OpenStreetMap Vector Tiles
- copy OpenStreetMap vector tiles and self-host
- Prototype: Photos Around Victoria
- GitHub: vichex-openstreetmap-tiles
ArgoCD
- Setup per-community ArgoCD instances
Archiving
Search
IPFS Cluster
DNS Records
Publishing Pipeline
Secrets Management
Monitoring
Analytics
Fundraising
Governance
Identity
Endowment Fund
Jurisdiction-dependent legal status
Kubernetes Tasks
Updating kubectl Certificates
We are using k3s for Kubernetes.
Over time, the node certificates will be renewed and it will be necessary to re-download them to the clients for use with kubectl.
On the nodes, the certificates are in /etc/rancher/k3s/k3s.yaml. These need to be copied over to ~/.kube/config (some renaming will be usually be needed).
Debugging Publishing Pipeline
GitHub Webhook for hexcamp-coredns-sites
- Check GitHub WebHook settings
If webhook deliveries are failing, try to remove and recreate the github-source-sites resource in ArgoCD:
Renewing Kubernetes Certificates on DNS Servers
If the DNS servers have been running for a while, the Kubernetes certificates will expire.
More info:
- https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm/#kubelet-client-cert
kubeadm certs check-expirationkubeadm certs renew allkubeadm kubeconfig user --client-name admin
After rotating keys, update local ~/.kube/config and run argocd cluster rm <node-name> followed by argocd cluster add <node-name>.
Renewing Contour Certifiecates on DNS Servers
The Contour certs used by Knative on the DNS Servers will expire after one year.
If they are expired, the rclone service will fail, eg:
rclone ls minikube11-proxy:
To check the age:
kubectl -n contour-internal get secretkubectl -n contour-external get secret
To regenerate:
kubectl -n contour-external delete secret contourcertkubectl -n contour-external delete secret envoycertkubectl -n contour-internal delete secret contourcertkubectl -n contour-internal delete secret envoycert- use the ArgoCD web console, search for the
<cluster-name>-knativeapp, and delete the twocontour-certgen-v1-26-1jobs, then re-sync.
IPFS
IPFS Cluster
The upstream project lost funding, so we have a mirror of the documentation here:
Cloud-Based Infra
The goal of the project is to move computing resources and storage away from the cloud and host it locally, often in community member’s homes on small computers such as the Raspberry Pi.
But in order to keep things simple, safe and performant, we still use a small amount of cloud-based resources.
It might be possible to run entirely on hardware resources that are located within residential networks. However, it makes the setup more complicated as each wifi router would need to be configured to run port forwarding for services such as HTTP, HTTPS and DNS to small servers located inside the home. Different Internet Service Providers will use different wifi routers, which might not support everything needed, and would be difficult to document the setup.
It would also be necessary to advertise the home IP addresses via DNS, and those addresses would be exposed in such a way that they might become a target for malicious traffic from the internet, such as DDoS attacks (Distributed Denial-of-Service).
Use Cases
Journalism
Archiving
Publishing
Data Science And Civic Tech
Because Hex.Camp communities can provide geo-bucketed storage that is controlled and managed by the communities themselves, it naturally is a great place to host datasets and websites that are relevant and important for those communities.
Local governments typically have a “Open Data” repositories that can easily be mapped to addressable locations. Important datasets can even be mirrored or archived into the Hex.Camp community for easy peer-to-peer syncing and long-term preservation.
Inspiration
Privacy Tools
Fundraising and Mutual Aid
Web Search
Community Directories
Discoverability
Collaborative Research Tools
Guerilla Cloud
Real Estate
Governance
Global Consensus
The Hex.Camp project is primarily an “open source” project.
Each community, such as vanhex.ca or seahex.org is controlled and run by people in their respective areas.
However, there is some coordination between communities to ensure that the geographic footprint of two communities will never overlap.
There will be a centralized registry of communities and geographic footprints, defined by the H3 hexagons that are allocated to them.
It will be possible to lookup from the registry database which community “owns” any H3 indexed hexagon. Since the communities do not overlap, there will only be one owner community for any hexagon.
Initially, communities will be granted ownership of their geographic footprints by the organization that controls the central registry.
Peerhex.org
Because we want to have communities for every city in the world, and each community should have their own domain name, it would be very expensive to have to purchase a separate domain name for every city.
By using subdomains of peerhex.org, we can create domain names for communities that are new (with few or no users yet) and in an incubation state. For any particular city that we wish to incubate, we will choose domain names that use well-known airport codes corresponding to the city.
eg. An incubator community for London, England could use lhr.peerhex.org as their domain name. (LHR = London Heathrow Airport). Once there are enough people involved and they are willing to crowd-fund purchasing a domain name, the community could switch to a new domain.
Wide-area communities
Additionally, just to ensure that any hexagon ID on the planet has an associated community, even if it happens to be in the middle of the ocean (or in Antarctica), we have defined three “fallback” communities that each cover a third of the planet:
- americas.peerhex.org - North and South America
- emea.peerhex.org - Europe, Middle-East and Africa
- asia.peerhex.org - Asia
Disputed political boundaries, war and despotic regimes
Since the Hex.Camp registry covers the entire world, it will eventually need policies to deal with communites that affected by disputed political boundaries, the effects of wars, and communities that have to live within despotic political regimes.
Boundaries
We will tend to follow patterns of human interconnection when decided what communities get which hexagons. Many metropolitan areas are situated across national boundaries. For these interconnected places, it would make sense to have a single community defined instead of multiple communities split by national boundaries. For example, Basel is Switzerland, but spreads out over the borders into France and also Germany.
For some smaller countries, it might make sense to model the entire country as a single community. For larger countries, we will try to avoid modelling a hierarchy of federal, province/state and county level communities. We’d prefer a flatter representation of communities based on human population and geography.
Much of the world lives in cities that are part of a “megalopolis” … there are many cities nearby that merge into each other:
When communities are in the “incubating” state, their boundaries will be somewhat fluid. As the communities mature, part of the work will be to define what their “footprint” should be. They will be expected to work together with their neighbouring communities to decide how gets what hexagon. The division should be based on human interconnection, although political and physical boundaries can sometimes be helpful.
Hex.Camp has coverage for the entire geography of Earth, so it also covers all of the rural areas. Smaller villages and towns may not feel like they are part of an urban community, but instead feel kinship for other small villages and towns in their region. As they are small, there might not be enough people form a “critical mass” of users for just their own town or village, but by banding together with other settlements in their region, there can be enough people to sustain a rural Hex.Camp community with a geographic footprint that covers a wide area. For definiging rural communities that have a wide area, political boundaries are probably quite helpful.
Business and Social Enterprise Opportunities
Projects We Like
- Wikipedia
- Open Street Map
- Internet Archive
Local Communities
- Local Publishers
- Community Forum Hosting Tech
- New Public
- Blacksky Algorithms
- Bonfire
- Newsmast
Self-Publishing
- IndieWeb
- Neocities
- Open Source Static Websites and Blogs
- Headless CMS
- Markdown editors
- AT Protocol
Social Networking
- AT Protocol / Bluesky
- Mastodon / ActivityPub / Open Social Web
Research Tools
- Semble
Web Archiving
- Internet Archive
- Webrecorder
Fundraising and Mutual Aid
- Ecosyste.ms
- Open Collective
Advocacy
Tech Zines
Foundations We Like
Foundations and funding sources that support like-minded projects to ours.
- Linux Foundation
- Mozilla Foundation
- Code for Science and Society
- Web3 Foundation
- Filecoin Foundation
- Filecoin Foundation for the Decentralized Web
- NLnet Foundation
- Knight Foundation
Upcoming Conferences
2026
- Seattle: Community Networks Conference
Mad Science
Mad Science Projects We Like
Core Tech
- Automerge / Ink and Switch
- iroh
- WebRTC
- Passkeys
Full Systems
P2P
Guerilla Cloud
- Co-op Cloud (Recipes)
- Cloudron
- Cloyvr
Mesh Networking
CRDTs
Sync
Self-Publishing
- Distributed Press
Journalism
Research Tools
Annotations
OpenStreetMap / Geo
Older projects
- IPFS
- Dat
- Sandstorm
- Solid Project
Upcoming / Things to Research
- Seed Hypermedia
- Web Tiles
- Tonk
- Unternet
Ideas
Ideas for future improvements and development.
Not in any particular order.
Documentation
- Publish book on VanHex
- Document how to setup GitHub Actions to publish
Raspberry Pi prototype
- Document hardware setup
- Wireguard
- Raspbian modifications
- Kubernetes
- VanHex publishing pipeline
- VanHex IPFS Cluster
Hexagon ID Tool
- Improve base map
Community database
- Store community footprints
- Hierarchy of communities and sub-communities
- Hexagon ID to community lookup
- API
Publishing Improvments
- Ability to watch progress of publishing pipeline
VanHex News Experiments
- Switch to custom feed instead of using Graze
- Resume archiving of curated news
- Use curated feed to autogenerate a new static website
- Cross-reference locations in articles using NLP, migrate WACZ archives to nearby hexagons
Add UI to static web pages
- Shows where hexagon address is on map
- Shows health information for infrastructure
- Provides access to credentials wallet (login/logout feature)
- Discoverability for other locally published websites and data
Static Website publishing
- provide a Neocities style experience for self-publishing
- markdown-editor (replace HackMD) … possibly with Automerge
- investigate ATProto publishing solutions
Privacy
- research crypto-first solutions for providing apps (eg. PeerGOS, CryptPad)
Search
- local search for archived news
- search for new areas
- auto-download and archive from Common Crawl
Wikipedia
- query local Wikipedia articles and archive
AI
- experiment with Ollama, OpenWebUI, OpenCode and RAG
- see if some parts of qipu-vancouver can be duplicated using data on VanHex and local LLMs
Backups
- Use Velero and possibly Minio to archive to the IPFS Cluster
- Monitoring for IPFS Cluster disk space
- Pruning IPFS Cluster history
Monitoring
- Figure out how to publish static snapshots of the Grafana charts for public use
Logging and Observability
- Investigate ways of exposing and saving logs from within Kubernetes
- Possibly OpenTelemetry too
WASM
- investigate how to use WASM in the publishing pipeline (in conjunction with Knative)
git repos
- possibly tangled knots?
docker repos
- self-host docker images so pulls don’t come across the internet
Communities
VanHex
- collect vector tiles from OpenStreetMap (prototyped on VicHex photos demo)
CDMXHex
- Publish Jupyter notebook with neighbourhood names
PeerHex
- emea.peerhex.org
- asia.peerhex.org
New communities
- Toronto
- Montreal
- London
- Paris
- Munich
- Austin
- Philadelphia
Privacy
- use EFF Privacy Badger and remove CDN links from mkdocs generated sites
- replace Graze.Social embed that has Google links
Bring-Your-Own-Domain-Name
For Neocities-style self-publishing, many people won’t want to use the Hexagon ID DNS names, and would prefer to have a human-friendly name instead.
We could build a system where people could bring their own domain names. Also, it might be possible to share domain names and have crowd funding mechanisms in place to pay for the annual domain name fees.
For example, we could start with yvr.whims.io as an option for VanHex (already in use for the AT Proto PDS), and people could have a website name such as my-web-site.yvr.whims.io. This would be in addition to having a hexagon-id style name such as 6kg6rvgjqguq.vanhex.ca.
Search
- make Stract search engine backends persist data to disk so that it can “scale to zero” using Knative
Jupyter Notebooks
- make it so that client-side hosted notebooks can publish
Contact Manager
- investigate how to use private data to maintain lists of people (possibly using ATProto)
Identity
- investigate how to make client-side wallets that sync
- unlock using Passkeys
- integrate with secrets management (OpenBao?)
Endowments
- look at using Ethereum and StableCoins to setup small endowments that can be funded to save up for things like domain name fees and cloud hosting expenses per community
- text-based accounting
- possibly use OpenCollective for larger communities
Discovery
- service discovery to find publishing endpoints
Storytelling
- ability to use hexagon content on maps in stories similar to ArcGIS StoryMaps (also Other tools to create StoryMaps)
- StoryMapJS
VanHex
Local Projects We Like
Data Science / Civic Tech
- Vancouver Archives
- Internet Archive Vancouver
- Vancouver Open Data
- MountainMath
- Paul Norman - developer on OpenStreetMap
Journalism
- Freshet News
- Vancity Lookout
Journalism Tech
Self-Publishing
Guerilla Cloud
- Boris’s Commons Computer
- Mastodon servers
Geo
Tech Communities
- DWeb
VanHex Ideas
Things to Archive
CDMXHex
Ideas
-
Publish Mexico City Neighbourhoods Jupyter notebook
Prototype (on Jim’s laptop)