• JavaScript 58.1%
  • CSS 28.7%
  • HTML 13.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Johannes Porzelt bcadcd0c42
Merge pull request #4 from DCC-BS/Fragen-auseinandergezogen
Fragen auseinandergezogen
2026-09-30 13:57:52 +02:00
.github Anpassungen BS 2 2026-06-30 16:15:51 +02:00
.editorconfig URL-Sync für alle Werte + Name; Copy-Link Button; kleine optische Korrekturen 2026-05-21 10:21:08 +02:00
.gitignore Fragen verfeinert und mit EU-Definitionen abgeglichen (DE+FR-Regierungspapier, 17.06.2026) 2026-07-16 16:39:54 +02:00
baselstab.svg Anpassungen BS 2026-06-30 16:10:18 +02:00
Hintergrund.md Fragen auseinandergezogen 2026-09-25 10:52:37 +02:00
index.css Auflistung der schwächsten Dimensionen 2026-09-14 16:41:40 +02:00
index.html Auflistung der schwächsten Dimensionen 2026-09-14 16:41:40 +02:00
index.js Hinweis zu Souveränitätslücken 2026-09-22 14:53:50 +02:00
LICENSE Change to MIT 2026-05-28 09:58:17 +02:00
publiccode.yml Listing in opencode.swiss (publicode.yml): Info translation de/fr/it 2026-09-11 12:38:36 +02:00
questions.js Fragen auseinandergezogen 2026-09-25 10:32:50 +02:00
README.md Score Range 2026-08-13 10:47:18 +02:00
renovate.json5 Renovate + more 2026-05-28 09:43:20 +02:00

Digital Sovereignty Score (SDS) Calculator

A small, static HTML/CSS/JS application that calculates the Digital Sovereignty Score (SDS) based on a weighted checklist across six dimensions. See HINTERGRUND.md for background on the methodology and how the dimensions map to the ZenDiS criteria catalogue.

  • Three-state answer per question (Ja / Teilweise / Nein), each contributing its individual weight to the score
  • Live SDS calculation as a percentage (0–100%) and a score (1 - 6) with a qualitative label (e.g. "hoch ausgeprägt")
  • Questions, weights, and help texts are defined in questions.js
  • Accessible by default: native radio inputs per question (screen-reader and keyboard friendly out of the box)
  • No dependencies or build steps (purely static)

Project Structure

  • index.html – Markup shell for the checklist and result area (rows are rendered from questions.js)
  • index.css – Layout and styling in a monochrome blue infographic style
  • index.js – Renders the checklist, handles selection and weighted score calculation
  • questions.js – The six dimensions: question text, help text, and weight (must sum to 100)

Run Locally

Two straightforward ways to run the project locally:

  1. Open in the browser directly

    • Double-click index.html or open it via your browser's "File > Open" dialog.
  2. Serve via a small local web server (recommended for consistent behavior)

    • Using Python 3:
      • Navigate to the project directory
      • Run: python -m http.server 8000 (on Windows you can use py -m http.server 8000)
      • Open http://localhost:8000/ in your browser and navigate to index.html
    • Using Node.js:
      • Run: npx http-server -p 8000
      • Open http://localhost:8000/ in your browser
    • Alternatively: use the VS Code "Live Server" extension and open index.html

Development

  • No toolchain required. Edit questions.js, index.html, index.css, or index.js directly.
  • The code runs without a bundler.

License

See LICENSE in this repository.