Self-hosted, open source GIS portal: web maps, PostGIS data layers, forms, an app builder with dashboards, an offline field PWA, OGC APIs, and a QGIS plugin. PostGIS + MapLibre + Keycloak on Docker Compose.
A self-hosted GIS portal, field PWA, and QGIS plugin. Built for teams that want data on their own hardware and want out of ArcGIS Online seat licenses. What is credible today is the portal (items, groups, sharing), field collection, and QGIS. It is not a full ArcGIS Online replacement, and it is not a drop-in for Experience Builder, Survey123, Field Maps, or enterprise identity depth.
Status: v2.1.0. The public surface follows semantic versioning, with a new release on the second Tuesday of each month. For what ships today, see docs/walkthrough.md and the changelog. Store-listed native mobile apps are not part of 1.0; the field PWA is the supported field client.
Try it: demo.gratisgis.org is a public demo (test credentials and a daily reset on the landing page). Same sample workspace as in-app "Load sample data." Bugs and chat: Issues · Discussions.
Contribute: Issues and PRs welcome. See CONTRIBUTING.md for branch naming, Conventional Commits, and how reviews work (the maintainer is the final reviewer).
| Layer | Project |
|---|---|
| Language | TypeScript |
| API | Node.js + NestJS |
| Database | PostgreSQL + PostGIS |
| ORM | Prisma |
| Auth | Keycloak (OIDC) |
| Authorization | Cedar |
| Object storage | MinIO |
| Edge | Caddy |
| Tiles | PostGIS MVT served by portal-api, which checks sharing on every tile |
| Web | Next.js + React |
| Maps | MapLibre GL + Terra Draw |
| Tile bundles | PMTiles |
| Raster / vector I/O | GDAL (gdal-async) |
| UI | shadcn/ui, Tailwind, lucide |
| Monorepo | pnpm + Turborepo |
| CI | GitHub Actions |
gratis-gis/
├── apps/
│ ├── portal-api/ NestJS backend
│ ├── portal-web/ Next.js portal (field PWA, app builder)
│ └── portal-mcp/ MCP server
├── packages/ engine, shared-types, form-schema, ui
├── tools/pointcloud-worker/
├── docs/
├── infra/ Docker Compose, install, deploy
└── .github/workflows/
Single-host Docker Compose. A 4-core / 8 GB VPS is enough for a small org (the public demo runs on that).
curl -fsSL https://raw.githubusercontent.com/palavido-dev/gratis-gis/main/infra/install.sh | bash
It checks the server first and says in plain words what to fix, offers
to install Docker if it is missing, and waits until the portal answers.
Add -s -- --check after bash to only check a server.
Or by hand:
git clone https://github.com/palavido-dev/gratis-gis /opt/gratis-gis
cd /opt/gratis-gis
./infra/setup.sh
./infra/deploy.sh
./infra/doctor.sh
Installs track the latest release tag (GG_REF to pin). See
docs/deployment.md and
docs/UPGRADING.md.
Home NAS (TrueNAS or Dockge), one paste, no domain name: docs/truenas.md.
Prereqs: Node 24.9+, pnpm 9+, Docker, git.
git clone https://github.com/palavido-dev/gratis-gis.git
cd gratis-gis
pnpm install
cp .env.example apps/portal-api/.env
cp .env.example apps/portal-web/.env
pnpm infra:up
pnpm --filter @gratis-gis/portal-api db:migrate
pnpm --filter @gratis-gis/portal-api db:seed
pnpm dev
# portal-api :4000 · portal-web :3000 · keycloak :8080
Start here:
Deeper references live under docs/ (architecture, data
model, sharing, auth, design system, sample data, discoverability).
Roadmap: ROADMAP.md. Architecture overview:
ARCHITECTURE.md.
Copyright (C) 2026 Matt Palavido
GNU Affero General Public License v3.0 or later (AGPL-3.0-or-later). See LICENSE.
You may use, modify, self-host, and redistribute, including commercially. Hosting it as a network service (or running modified versions on a network) requires offering corresponding source under the same license. Selling support, hosting, training, or custom work around it is fine; wrapping it in a closed-source product is not.
GratisGIS is independent and not affiliated with or endorsed by any commercial GIS vendor. Third-party names appear only for de
Stream the attachments zip to the response instead of a temp file
https://github.com/palavido-dev/gratis-gis/issues/1078
Labels: 없음
Android: GNSS follow-ups (USB re-allow, string resources, screen-off check, Play declaration)
https://github.com/palavido-dev/gratis-gis/issues/1046
Labels: 없음
Android: follow-ups from the offline areas and account screens review
https://github.com/palavido-dev/gratis-gis/issues/1045
Labels: 없음
Android: full edit support for signature, audio and file questions
https://github.com/palavido-dev/gratis-gis/issues/1044
Labels: 없음
Sign-in methods: map provider groups to GratisGIS roles
https://github.com/palavido-dev/gratis-gis/issues/1032
Labels: enhancement
Drop the tar advisory ignore once node-gyp moves to tar 8
https://github.com/palavido-dev/gratis-gis/issues/1016
Labels: 없음
Align path-scurry override with glob 14 requirement
https://github.com/palavido-dev/gratis-gis/issues/1009
Labels: 없음
Designer: warn about visibility cycles
https://github.com/palavido-dev/gratis-gis/issues/1007
Labels: 없음
Forms: calculated questions still read the answers of hidden questions
https://github.com/palavido-dev/gratis-gis/issues/1006
Labels: 없음
Thanks for considering contributing! This doc explains how the project is organized and how to propose changes.
GratisGIS is at v2.1.0. The core portal, web maps, forms, App
Builder, field PWA, and the observation-log engine with Cedar policy
authorization are the supported surface (see the status section in the
README). Dashboards ship as web-app layouts, including
KPI Dashboard and Operations Board. Dedicated document report templates
and store-listed native mobile apps are not built yet. The public
surface in docs/VERSIONING.md follows semver;
internals under packages/ may still move. The issue tracker reflects
near-term work from ROADMAP.md.
Translations and locale review: see CONTRIBUTING-TRANSLATIONS.md (Weblate is the chosen platform; git PRs are the workflow until hosting lands).
Releases go out on the second Tuesday of each month (see docs/VERSIONING.md). In the week before, main takes fixes only; a feature PR that is ready then merges after the release.
main is always deployable.feat/<short-slug>; bug fixes on
fix/<short-slug>..github/dependabot.yml). Patch and minor updates squash-merge
themselves once the CI and Security workflows are green
(.github/workflows/dependabot-automerge.yml). A grouped update
merges only when every dependency in the group is patch or minor,
so the highest bump is patch or minor too. A major stays open for Matthew,
including a group that contains one. A Node base-image bump uses
the same rule. The workflow does not check out the pull request.Follow Conventional Commits:
feat(portal-api): add /groups/:id/members endpoint
fix(portal-web): don't crash on items with no thumbnail
docs: flesh out deployment guide
pnpm format && pnpm lint.any-your-way-out.packages/shared-types. If a type is used by
two or more apps, move it there.A hard product rule, not a suggestion. If a feature asks a user for a non-trivial input (polygon, schema, list of values, URL, color, rows of data), the primary path must be visual, guided, or upload: draw on a map, pick from a list, upload a file, choose an existing portal item, step through a wizard. Raw paste / typed-JSON / manual coordinate entry is an advanced fallback behind a disclosure, not the default way in. See the full rule in docs/design-system.md (rule 7).
Reviewers: if a PR adds a surface that lands on a textarea or a long text input as the primary entry point, push back and ask for the guided path first. The paste field can live in the PR, just not at the front.
Matthew designs, directs, and reviews, and he is the final say. AI assists with the coding. Releases follow the monthly schedule in docs/VERSIONING.md. Matthew makes the product, security-default, and licensing calls. The full account of how AI is used, and the checks every change passes, is in docs/AI-ASSISTED-DEVELOPMENT.md.
Contributions that used AI assistance are welcome when the contributor takes responsibility for the change and says so in the pull request description.
These rules apply everywhere we write prose for this project: code comments, commit messages, PR descriptions, docs, and markdown files.
A pre-commit check may be added later to enforce the em dash rule automatically; until then, self-policing is expected.
Keep docs continuously up to date. Ship documentation in the same PR (and preferably the same commits) as the code — not as a later follow-up. If a PR changes something a person can see or call:
apps/portal-web/content/help/
(including rewriting pages that describe options the code does
not implement).apps/portal-web/public/help/ and reference
it from the markdown. No exceptions. See
docs/help-screenshots.md.apps/portal-web/content/changelog/user-visible.md when a
non-technical visitor would notice (this feeds the landing-page
What's new card and /whats-new). When cutting a version tag,
add a ## [X.Y.Z] - YYYY-MM-DD banner above that release's
entries so the history page can group by version.CHANGELOG.md under Unreleased.docs/* / package READMEs when the public
surface or status line moved.S