Politrack: track Austrian politicians from public sources

Initial import of Politrack, a self-hosted service that tracks Austrian
politicians from federal to municipal level - roles, votes, money flows,
statements, meetings, social media and legal proceedings - with every claim
linked to its sources.

- backend: FastAPI + Postgres/pgvector; adapter framework (fetch -> parse ->
  load -> enrich) with robots.txt/TDM-aware fetching, a raw-response archive
  for reparsing, and a claim/evidence model with corroboration
- sources: Parliament, Wikidata, EU Parliament/Commission, Council of
  Ministers, Rechnungshof party reports and donations, procurement, RTR media
  transparency, political ad libraries, WKStA, news feeds, Wikipedia edits,
  Bluesky, Mastodon, public Telegram channels, YouTube and X (official API)
- web: Next.js frontend in German and English with typed API client
- mcp: MCP server for AI agents and RAG
- docs: architecture, data model, sources, legal notes, Unraid deployment and
  contributor guides; Docker Compose setup for Unraid

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
simonandClaude Opus 5.5 committed 2026-10-28 20:02:01 +01:00
commit 583ccba31c
187 files changed
+39890

No files matched your search

+43
View File
@@ -0,0 +1,43 @@
# News feeds monitored for mentions of politicians.
#
# Policy (see docs/sources.md): we only read the RSS feeds and Google-News
# sitemaps publishers offer for automated discovery and store headline,
# teaser/keywords and link - never full article text. If a site declares a TDM
# reservation (tdmrep.json), only headline + link are kept and entity linking
# runs on the headline alone.
#
# `source` must exist in the `source` table. `type: sitemap` = Google-News sitemap
# (listed in the site's robots.txt), otherwise RSS/Atom.
feeds:
- source: orf
url: https://rss.orf.at/news.xml
- source: derstandard
url: https://www.derstandard.at/rss/inland
- source: derstandard
type: sitemap
url: https://www.derstandard.at/sitemaps/news.xml
- source: diepresse
url: https://www.diepresse.com/rss/politik
- source: diepresse
type: sitemap
url: https://www.diepresse.com/news-sitemap
- source: kurier
url: https://kurier.at/politik/xml/rssd
- source: kurier
type: sitemap
url: https://kurier.at/sitemaps_google_news.xml
- source: profil
type: sitemap
url: https://www.profil.at/sitemaps_google_news.xml
- source: falter
url: https://www.falter.at/rss
- source: krone
url: https://www.krone.at/nachrichten/rss.html
- source: sn
type: sitemap
url: https://www.sn.at/news-artikel.sitemap.xml
- source: kleinezeitung
type: sitemap
url: https://www.kleinezeitung.at/sitemap-news.xml
- source: apa-ots
url: https://www.ots.at/rss/politik
+12
View File
@@ -0,0 +1,12 @@
# IP ranges registered to public institutions (source: RIPE database, https://apps.db.ripe.net).
# Used by the wikipedia.institution_edits adapter. `org` must be an organization slug.
# MediaWiki allows range queries up to /16 (IPv4) and /32 (IPv6).
networks:
- org: nationalrat
label: Parlament (Parlamentsdirektion)
# inetnum 161.110.0.0 - 161.110.255.255, netname OEPARNET, 1017 Wien (maintainer AS6883-MNT "Network of the Austrian Parliament")
ranges: ["161.110.0.0/16"]
- org: bundesregierung
label: Bundeskanzleramt
# inetnum 78.41.144.0 - 78.41.145.255 (BKA-NET-VIE, BKA-NET-VIE2); inet6num 2a03:f080:1000::/48 (BKA-NET-IPv6)
ranges: ["78.41.144.0/23", "2a03:f080:1000::/48"]
+6
View File
@@ -0,0 +1,6 @@
# Facebook/Instagram page ids for the Meta Ad Library adapter (ads.meta).
# Only used when POLITRACK_META_AD_LIBRARY_TOKEN is set. Find page ids in the Ad Library UI
# (https://www.facebook.com/ads/library/) - search a party/politician, the URL contains view_all_page_id=...
pages: []
# - page_id: "123456789"
# label: "Beispielpartei"
+39
View File
@@ -0,0 +1,39 @@
# Social-media accounts that no official register lists (imported by `politrack run config.social_accounts`).
#
# Parliament profiles (verified) and Wikidata (unverified) are imported automatically; use this file for
# party channels and accounts you have checked yourself. Every entry:
#
# platform: bluesky | mastodon | telegram | youtube | twitter | ...
# url: canonical profile URL
# person: politrack slug, or {wikidata: Q...} / {parlament: <PAD id>} (or `name: Full Name`)
# org: organisation slug (e.g. a party), or {slug, name, kind} to create one - when not a person
# verified: true only if an official page of the owner links the account
# evidence: that official page (documentation for reviewers)
#
# Only PUBLIC broadcast channels/accounts. Never add private groups, WhatsApp/Signal groups or
# accounts that require joining/logging in (see docs/sources.md, "Messaging platforms").
accounts:
- platform: telegram
url: https://t.me/MFGOesterreich
org: mfg
verified: true
evidence: https://www.mfg-oe.at
- platform: bluesky
url: https://bsky.app/profile/neos.eu
org: neos
verified: true
evidence: https://www.neos.eu
- platform: bluesky
url: https://bsky.app/profile/bundespraesident.at
org: {slug: bundespraesident, name: Österreichische Präsidentschaftskanzlei, short_name: Bundespräsident, kind: public_body}
verified: true
evidence: https://www.bundespraesident.at
# Public channel with web preview; not linked from an official page -> unverified.
- platform: telegram
url: https://t.me/dominikNepp
name: Dominik Nepp
verified: false