impressum-check
Zero-dependency open-source German Impressum (§ 5 DDG), Datenschutz (DSGVO) & Cookie-Banner Checker — runs directly as a GitHub Action or via CLI (npx) with zero external npm dependencies.
Interactive Web Checkers & Guides (naturespen.com)
What It Catches Automatically
- Missing
Impressum anchor (§ 5 DDG mandatory provider link).
- Missing
Datenschutz / Datenschutzerklärung anchor (separate from AGB / Terms).
- Outdated
§ 5 TMG citations (replaced by § 5 DDG — Digitale-Dienste-Gesetz).
- English cookie-banner & footer leaks (
Accept All, Manage Preferences, Privacy Policy, Terms of Service, All rights reserved).
- Impressum page provider details (
--details or /impressum URLs): checks for a visible contact email address and DACH postal address pattern.
Option 1: GitHub Actions Workflow (@v1)
Save as .github/workflows/impressum-check.yml:
name: German Impressum & DSGVO Check
on:
push:
branches: [main]
pull_request:
schedule:
- cron: '0 7 * * 1' # Every Monday 07:00 UTC
jobs:
impressum-audit:
runs-on: ubuntu-latest
steps:
- name: Check live German routes for § 5 DDG Impressum & DSGVO leaks
uses: Rage47/naturespen-dach-lint@v1
with:
targets: 'https://www.example.com/de https://www.example.com/impressum'
strict: 'true'
Option 2: CLI Usage (npx or Direct Node)
# Via npx (once published to npm) or shallow clone:
npx impressum-check https://www.example.com/de https://www.example.com/impressum --strict
# Audit a static build directory (Next.js / Astro / Hugo) with JSON output
npx impressum-check ./out --strict --json
License
MIT © Alex Rotar — NaturesPen