gitwtfhub

wtf is legislative-tracker?

onlineigniter/legislative-tracker — explained in plain English

Analysis updated 2026-05-18

0PythonAudience · ops devopsComplexity · 3/5LicenseSetup · moderate

TL;DR

An AI agent that watches state and federal legislation, turns new bills into plain-English briefs, tags them by topic, and routes them to teams via email, Slack, Teams, or Salesforce.

Mindmap

mindmap
  root((Legislative Tracker))
    What it does
      Fetches new bills
      Summarizes in plain English
      Tags and routes by topic
    Tech stack
      Python
      Docker
      OpenAI compatible LLM
    Use cases
      Track new legislation
      Get plain English bill briefs
      Route bills to teams
    Audience
      Ops and policy teams
      Salesforce admins
    Setup
      Configure env file
      Run with Docker Compose
      Schedule daily runs

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Get a daily plain-English digest of new legislative bills relevant to your organization.

REASON 2

Automatically route bills by topic to the specific teams that need to see them.

REASON 3

Track bills as they move from introduced to passed without manually rechecking government sites.

What's in the stack?

PythonDockerSalesforceOpenAI-compatible LLM

How it stacks up

onlineigniter/legislative-tracker0xallam/my-recipe0xhassaan/nn-from-scratch
Stars00
LanguagePythonPythonPython
Last pushed2022-11-22
MaintenanceDormant
Setup difficultymoderatemoderatemoderate
Complexity3/52/54/5
Audienceops devopsgeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · moderate Time to first run · 30min

Requires API keys for a legislative data source and an LLM, and runs via Docker Compose.

All rights reserved, the code is shared for portfolio viewing only and commercial or reuse permission must be requested from the author directly.

Wtf does this do

Legislative Tracker is a tool that watches state and federal legislation on your behalf so nobody on your team has to read raw bills. Every day it checks for newly introduced or updated bills, uses an AI model to turn each one into a short plain language summary anyone can read in under a minute, sorts it by topic, and sends it to whichever teams need to know about it. The tool pulls bill data from public legislative data services covering all fifty states plus the US Congress. Each bill gets an AI written brief covering what the bill does, who it affects, its current status, and why it matters, written in everyday language instead of legal wording. Bills are tagged by topic and routed, and a single bill can go to more than one team if it is relevant to several. Anything the system cannot confidently match to a topic goes into a review queue instead of being dropped. Summaries can be delivered several ways at once: a daily email digest per team, messages posted into Microsoft Teams or Slack channels, records created directly inside Salesforce with team based routing so each team gets its own filtered list and reports, or plain text file digests for a simple setup with no extra infrastructure. If one delivery method fails, the others still work. The tool also remembers bills it has already seen so it can flag when a bill's status changes, such as moving from introduced to passed, without repeating the same bill twice. The system is built so its pieces can be swapped: the AI model connection uses a common, widely supported format so switching providers is a small configuration change, and the legislative data source is similarly isolated so a different provider could be added later. Since bill data is public record, there is no personal or sensitive information involved, which the author notes makes this easier to approve in organizations with strict data rules, such as government or education. It runs inside Docker so nothing needs to be installed directly on your computer, and can be scheduled to run automatically each day. The author describes this as a portfolio project and states the code is not licensed for open reuse, so anyone wanting commercial use would need to contact the author directly.

Yoink these prompts

Prompt 1
Help me configure the .env file for Legislative Tracker with my LegiScan and model API keys.
Prompt 2
Explain how Legislative Tracker routes a single bill to multiple teams and where unmatched bills go.
Prompt 3
Walk me through setting up the Salesforce delivery channel for Legislative Tracker.
Prompt 4
Help me schedule Legislative Tracker to run daily using cron or Task Scheduler.

Frequently asked questions

wtf is legislative-tracker?

An AI agent that watches state and federal legislation, turns new bills into plain-English briefs, tags them by topic, and routes them to teams via email, Slack, Teams, or Salesforce.

What language is legislative-tracker written in?

Mainly Python. The stack also includes Python, Docker, Salesforce.

What license does legislative-tracker use?

All rights reserved, the code is shared for portfolio viewing only and commercial or reuse permission must be requested from the author directly.

How hard is legislative-tracker to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is legislative-tracker for?

Mainly ops devops.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.