sitrep

command module
v0.0.0-...-5e5371a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2026 License: AGPL-3.0 Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

SitRep

Release Go version OpenSSF Best Practices OpenSSF Scorecard

Turn Crisis Into Clarity

SitRep is real-time situation management software for command staffs. Track, coordinate and communicate during emergencies on one digital platform built for high-pressure decision-making.

SitRep stays out of your way: it replaces tedious manual processes instead of adding yet another system to keep updated, and it streamlines the flow of messages within a command centre. It is built for civil protection services and is not aimed at military use.

Dashboard with message list, situation map, people overview and resources

Features

Journal and audit log

The Journal is the central piece of SitRep. Every incoming and outgoing message, whether by phone, radio, e-mail or in person, is logged in it. Entering messages digitally is faster and less error-prone than writing message sheets by hand, and every change is kept in an audit trail.

Journal

Triage and message flow

A central triage person routes each message to the appropriate members of the command staff. This can be done fully digitally, or message sheets can be printed and distributed. Triage also records the people affected and the resources deployed, which feed the people and resource overviews on the dashboard.

Triage

Digital crisis map

Draw crisis maps to keep the command staff informed about the current situation. Features are tied to messages and take effect at the message's time, so a timeline lets you replay how the situation developed. The map supports symbols from the Federal Office for Civil Protection FOCP and can be exported for printing.

Situation map

Documentation

Try it

  • demo.sitrep.ch always runs the latest SitRep release. Its data is cleaned periodically and potentially visible to everyone, so don't use it to run a real incident. Log in with your GitHub account or sign up for a new account.
  • dev.sitrep.ch runs the current state of the develop branch. It is not publicly available: only selected users can log in.

Feedback and feature requests

All feedback and feature requests are welcome. Please check the discussions and open issues first.

Backed by F-ELD

SitRep is open-source software developed and stewarded by F-ELD, a Swiss non-profit association. Its purpose is to develop and improve SitRep and to teach command staffs across Switzerland how to make the best use of digital tools in civil protection.

SitRep as a service

F-ELD offers SitRep as a managed service to organisations that are members of the F-ELD association. The service is hosted on secure infrastructure in Switzerland and operated by the F-ELD team. The hosting partner is VSHN. For more information, reach out to info@f-eld.ch.

Translations

To correct or add translations, help us out on Transifex. Please don't edit the translation files directly: Transifex opens pull requests that update ui/src/i18n/locales/<lang>/translations.json. Supported languages:

  • German (de)
  • English (en)
  • Italian (it)
  • French (fr)

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

Partners and supporters

SZSV / FSPC VSHN

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
adapter/inbound/graphql/scalar
Package scalar provides custom GraphQL scalar implementations.
Package scalar provides custom GraphQL scalar implementations.
adapter/inbound/tilesync
Package tilesync is the driving adapter that keeps the local tile archives up to date: it calls TileSyncService on start and then at a fixed interval, like the projector's background loops.
Package tilesync is the driving adapter that keeps the local tile archives up to date: it calls TileSyncService on start and then at a fixed interval, like the projector's background loops.
adapter/outbound/blobs/blobkey
Package blobkey defines and validates blob storage key grammar.
Package blobkey defines and validates blob storage key grammar.
adapter/outbound/blobs/filesystem
Package filesystem implements outbound.BlobStore using the local filesystem.
Package filesystem implements outbound.BlobStore using the local filesystem.
adapter/outbound/blobs/postgres
Package postgres implements outbound.BlobStore using Postgres bytea storage.
Package postgres implements outbound.BlobStore using Postgres bytea storage.
adapter/outbound/conformance
Package conformance provides a shared test suite for the outbound storage ports.
Package conformance provides a shared test suite for the outbound storage ports.
adapter/outbound/eventstore
Package eventstore provides event-sourced repository implementations that work with any outbound.EventStore backend — Postgres, in-memory, or SQLite.
Package eventstore provides event-sourced repository implementations that work with any outbound.EventStore backend — Postgres, in-memory, or SQLite.
adapter/outbound/eventstore/featurechange
Package featurechange decodes Feature events into the backend-independent record that the layer projections persist in feature_change, and holds the rule that decides whether a change updates the layer's current state.
Package featurechange decodes Feature events into the backend-independent record that the layer projections persist in feature_change, and holds the rule that decides whether a change updates the layer's current state.
adapter/outbound/eventstore/inmem
Package inmem provides in-memory implementations of the write-side ports.
Package inmem provides in-memory implementations of the write-side ports.
adapter/outbound/eventstore/inmem/projection
Package projection provides in-memory projection handlers and a synchronous projector for use in tests.
Package projection provides in-memory projection handlers and a synchronous projector for use in tests.
adapter/outbound/eventstore/postgres
Package postgres is the Postgres-backed implementation of the event store ports and repository adapters.
Package postgres is the Postgres-backed implementation of the event store ports and repository adapters.
adapter/outbound/eventstore/postgres/projection
Package projection contains the projection handlers and the projector loop.
Package projection contains the projection handlers and the projector loop.
adapter/outbound/eventstore/projection
Package projection provides shared projection infrastructure used by both the postgres and in-memory projector implementations.
Package projection provides shared projection infrastructure used by both the postgres and in-memory projector implementations.
adapter/outbound/eventstore/sqlite
Package sqlite is the SQLite-backed implementation of the event store ports and repository adapters.
Package sqlite is the SQLite-backed implementation of the event store ports and repository adapters.
adapter/outbound/eventstore/sqlite/projection
Package projection contains the SQLite projection handlers and the projector loop.
Package projection contains the SQLite projection handlers and the projector loop.
adapter/outbound/helpers/sqlite
Package sqlitex provides shared codecs, connection helpers, and type adapters for the SQLite storage backend.
Package sqlitex provides shared codecs, connection helpers, and type adapters for the SQLite storage backend.
adapter/outbound/queries/inmem
Package inmem implements the outbound.Queries port against the in-memory projection handlers.
Package inmem implements the outbound.Queries port against the in-memory projection handlers.
adapter/outbound/queries/postgres
Package postgres implements the outbound.Queries port against the Postgres projection tables (readmodel.incident, readmodel.incident_division, readmodel.message, readmodel.layer_features).
Package postgres implements the outbound.Queries port against the Postgres projection tables (readmodel.incident, readmodel.incident_division, readmodel.message, readmodel.layer_features).
adapter/outbound/queries/sqlite
Package sqlite implements outbound.Queries against the SQLite read-model projection tables.
Package sqlite implements outbound.Queries against the SQLite read-model projection tables.
adapter/outbound/tilestore/inmem
Package inmem implements outbound.TileStore in memory for tests.
Package inmem implements outbound.TileStore in memory for tests.
adapter/outbound/tilestore/mbtiles
Package mbtiles implements outbound.TileStore on top of MBTiles archives (SQLite files) in a local directory.
Package mbtiles implements outbound.TileStore on top of MBTiles archives (SQLite files) in a local directory.
adapter/outbound/tileupstream/swisstopo
Package swisstopo implements outbound.TileUpstream against the public swisstopo vector tile service (https://vectortiles.geo.admin.ch).
Package swisstopo implements outbound.TileUpstream against the public swisstopo vector tile service (https://vectortiles.geo.admin.ch).
adapter/outbound/user/postgres
Package postgres implements the outbound.UserRepository port against the public.users table.
Package postgres implements the outbound.UserRepository port against the public.users table.
adapter/outbound/user/sqlite
Package sqlite implements outbound.UserRepository against the SQLite users table.
Package sqlite implements outbound.UserRepository against the SQLite users table.
cli
core/domain/feature
Package feature implements the Feature aggregate root.
Package feature implements the Feature aggregate root.
core/domain/incident
Package incident implements the Incident aggregate root.
Package incident implements the Incident aggregate root.
core/domain/kpi
Package kpi works out the key figures of an incident from the history of its messages, for the review after the operation: how long it took to triage and draw a message, how the messages were spread over the divisions and how fast those acknowledged them, how much had to be done again, and when the load was highest.
Package kpi works out the key figures of an incident from the history of its messages, for the review after the operation: how long it took to triage and draw a message, how the messages were spread over the divisions and how fast those acknowledged them, how much had to be done again, and when the load was highest.
core/domain/layer
Package layer implements the Layer aggregate root.
Package layer implements the Layer aggregate root.
core/domain/maptile
Package maptile holds the pure types for serving vector map tiles: which tilesets exist, how a tile is addressed and what TileJSON describes it.
Package maptile holds the pure types for serving vector map tiles: which tilesets exist, how a tile is addressed and what TileJSON describes it.
core/domain/message
Package message implements the Message aggregate root.
Package message implements the Message aggregate root.
core/domain/resource
Package resource implements the Resource aggregate root.
Package resource implements the Resource aggregate root.
core/domain/schadenplatz
Package schadenplatz implements the Schadenplatz aggregate root.
Package schadenplatz implements the Schadenplatz aggregate root.
core/domain/shared
Package shared contains value types, typed errors and enums shared across all domain aggregates.
Package shared contains value types, typed errors and enums shared across all domain aggregates.
core/port/inbound
Package inbound defines the driving (inbound) ports — use-case interfaces the application core exposes to adapters.
Package inbound defines the driving (inbound) ports — use-case interfaces the application core exposes to adapters.
core/port/outbound
Package outbound defines the driven (outbound) ports — interfaces the application core requires from infrastructure.
Package outbound defines the driven (outbound) ports — interfaces the application core requires from infrastructure.
core/service
Package service contains the application services that orchestrate commands across domain aggregates.
Package service contains the application services that orchestrate commands across domain aggregates.
eventsourcing
Package eventsourcing is the I/O-free shared kernel for event-sourced aggregates.
Package eventsourcing is the I/O-free shared kernel for event-sourced aggregates.
platform/identity
Package identity bridges OIDC actor information into context.Context so that gqlgen resolvers and application services can read the authenticated subject without depending on echo.Context.
Package identity bridges OIDC actor information into context.Context so that gqlgen resolvers and application services can read the authenticated subject without depending on echo.Context.
Package migrations provides dialect-specific migration files and helpers.
Package migrations provides dialect-specific migration files and helpers.
internal/messagemap
Package messagemap holds the dialect-independent planning logic of the message map backfill: given the event history of an incident's divisions and layers it decides whether to mark an existing entity as the Nachrichtenkarte or to add a new one.
Package messagemap holds the dialect-independent planning logic of the message map backfill: given the event history of an incident's divisions and layers it decides whether to mark an existing entity as the Nachrichtenkarte or to add a new one.
postgres
Package postgres embeds all goose migration files for Postgres.
Package postgres embeds all goose migration files for Postgres.
sqlite
Package sqlite embeds all goose migration files for SQLite.
Package sqlite embeds all goose migration files for SQLite.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL