Skip to content

~ $ cat work/signaldesk.md

SignalDesk

A news dashboard that groups reports of one event and shows where outlets agree and disagree.

Full-stack · Nov 2026Built on my own. All 65 commits in the repository are mine.

OUTCOME
Built solo in nine days, with 310 automated tests and a dashboard of its own pipeline health
SCOPE
Solo project, design to deployment
DECISION
Show disagreement between outlets instead of a verdict, and withhold a source score when the evidence is thin.
EVIDENCE
A live app, a public repository with CI, and the safe-fetch source shown below.

Built with

  • Python
  • FastAPI
  • React
  • TypeScript
  • PostgreSQL
  • Docker

What it is

SignalDesk is a website that reads dozens of news feeds and does the comparing for you. It puts the reports about one event into a single story, then shows what the outlets agree on and where they give different figures.

It works with no keys or paid services. A language model and an embeddings service are optional upgrades, and each one falls back cleanly when it is missing or fails.

What it can do

  • Stories, not a pile of articles

    Reports of the same event are grouped by the words in their headlines and, when embeddings are on, by meaning. With embeddings on, a guard splits groups that grew too large.

  • Claim by claim

    For each story it lists claims that two or more outlets make, claims where outlets give different figures, and figure claims only one outlet makes.

  • Coverage over time

    A story keeps its identity across days, so you can see reports per day, which outlets joined when, and who was first.

  • Outlet profiles that show their working

    Each outlet gets a profile from bylines, dates, linked sources and corrections. It describes how an outlet publishes, not whether it is right, and it withholds a score when there is too little evidence.

  • Its own health page

    Every fetch cycle and feed is recorded: failures, response times, throughput and backlog. A dead feed counts as a failure, not as “0 new articles”.

  • Private workspaces

    A visitor can add their own feeds and watchlist in a workspace nobody else can see, or take a one-click tour of the shared data.

How a request flows

  1. RSS feedsFetch, dedupe, analyse
  2. Enrich + embedPage text, optional vectors
  3. Cluster + compareStories, claims, events
  4. FastAPI + ReactDashboard, API, pipeline page

How it works

  1. 01

    The server fetches the RSS feeds on a schedule, drops duplicates and analyses each article.

  2. 02

    It reads each article’s page for the text, image and signs of transparency such as a byline.

  3. 03

    If embeddings are on, it adds a meaning vector for each headline.

  4. 04

    Headlines are grouped into stories by shared words and, when available, by meaning.

  5. 05

    For each story it compares claims across outlets and writes a brief, with a model if one is set up, or by rules if not.

  6. 06

    The dashboard shows the stories, the claims, the outlet profiles, and a page with the health of the pipeline.

Screenshots

Dashboard
One story, compared across outlets
One article, with a summary and key points
Home page
On a phone

Why

Reading five outlets about one event to see who says what is slow. I wanted a tool that does that comparison and is honest about its limits, so every claim and score shows how it was reached.

What I built

  1. 01

    Built the FastAPI backend: feed ingestion, page enrichment, a scheduler, SQLite by default and PostgreSQL through one variable, and automatic migrations.

  2. 02

    Wrote story clustering with Jaccard and overlap rules over stemmed headline words, a 48-hour gap limit, and optional embedding similarity with a stricter split for groups over 25 reports.

  3. 03

    Wrote the claim comparison: it picks sentences with figures, quotes or attributed statements, matches them across outlets by wording, and marks two outlets’ figures as disputed when they differ by more than 5%.

  4. 04

    Built private workspaces with signed, stateless tokens, per-visitor limits, and an SSRF guard (a check that stops the server fetching private addresses) on every feed a stranger adds.

  5. 05

    Added pipeline observability: run history, per-feed failures, p50 and p95 latency, and the page-read rate.

  6. 06

    Built the React 19, Tailwind and shadcn/ui dashboard, wrote 229 backend and 81 frontend tests with fakes for the network and the model, and set up Docker and GitHub Actions CI.

The code

backend/app/netguard.py
def check_url(url: str) -> None:
    """Raise UnsafeURL unless `url` is http(s) on a normal port and every address it resolves to is public."""
    parsed = urlparse(url)
    if parsed.scheme not in ("http", "https") or not parsed.hostname:
        raise UnsafeURL("Only public http(s) URLs are allowed")
    try:
        port = parsed.port
    except ValueError:
        raise UnsafeURL("Invalid port") from None
    if port not in ALLOWED_PORTS:
        raise UnsafeURL("That port is not allowed")
    try:
        infos = socket.getaddrinfo(parsed.hostname, port or 443, proto=socket.IPPROTO_TCP)
    except OSError:
        raise UnsafeURL("That host could not be resolved") from None
    addresses = {info[4][0].split("%")[0] for info in infos}
    if not addresses or not all(ipaddress.ip_address(a).is_global for a in addresses):
        raise UnsafeURL("That address is not public")
Strangers can add feed URLs, so the server checks every address before it fetches. A name that resolves to a private address is refused, and so is any redirect to one.

Outcome

A live app on Vercel that anyone can open, with a one-click tour of the shared data and a private workspace for their own feeds.

The trade-off

Claim matching is by wording, not by meaning. It catches conflicting numbers well, but it misses two outlets saying the same thing in different words. Matching by meaning would be better, but it would need an embedding for every sentence, and I wanted the app to work offline.

What I learned

When a tool compares sources, the honest part is what it refuses to say. Withholding a score on thin evidence and calling a claim “single” instead of “agreed” made the results smaller but more believable.

What I'd fix next

Embed sentences instead of headlines so claims match by meaning, and make the rate limits shared across instances. Today they are kept in memory, so on serverless they are best-effort.