๐ŸŒ AIๆœ็ดข & ไปฃ็† ไธป้กต
Skip to content

danielmiessler/Substrate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

89 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Substrate

Infrastructure for Human Knowledge & Progress

GitHub last commit License: MIT Stars TypeScript Bun

What Is It โ€ข Data โ€ข Quick Start โ€ข Docs โ€ข Contribute โ€ข Roadmap


๐ŸŽฏ What Is Substrate?


A Shared Foundation for Human Progress

Think of substrate as the base layerโ€”the common ground where we can all work together to understand problems and drive solutions forward. Instead of fragmented discussions and reinventing the wheel, Substrate gives us one place to:

  • Document problems โ†’ What's actually broken, with evidence
  • Track solutions โ†’ What works, what doesn't, with results
  • Connect progress โ†’ Link people, organizations, and projects actually moving things forward
  • Build on each other โ†’ Arguments and ideas that build on shared evidence
  • Measure outcomes โ†’ Did it work? What actually changed?

The Purpose: Accelerate Human Progress

We can't solve problems we don't understand. We can't build on solutions we can't find. Substrate provides:

  • ๐ŸŽฏ Shared understanding โ†’ One place to understand what's wrong and what works
  • ๐Ÿš€ Faster progress โ†’ Build on existing knowledge instead of starting over
  • ๐Ÿ“Š Evidence-based action โ†’ Ground decisions in authoritative data, not opinions
  • ๐Ÿ”— Connected knowledge โ†’ See how problems, solutions, people, and data interconnect
  • ๐ŸŒ Collective intelligence โ†’ Human insight + AI analysis working together toward progress

An open-source framework connecting 17+ knowledge components:

graph TB
    subgraph "๐ŸŒ The Substrate"
        A[๐Ÿงฉ Problems]
        B[๐Ÿ’ก Solutions]
        C[๐Ÿ“Š Data Sources]
        D[๐Ÿ—ฃ๏ธ Arguments]
        E[๐Ÿ“‹ Claims]
        F[๐Ÿ‘ฅ People]
        G[๐Ÿข Organizations]
        H[๐Ÿš€ Projects]
        I[๐Ÿ“ˆ Plans]
        J[๐ŸŽฏ Values]
        K[๐Ÿ’ญ Ideas]
    end

    L[๐Ÿ‘ค Human Contributors] --> A
    L --> B
    L --> D
    M[๐Ÿค– AI Analysis] --> A
    M --> B
    M --> D

    A -.connects to.-> B
    B -.connects to.-> C
    D -.connects to.-> C
    E -.connects to.-> C
    F -.connects to.-> G
    G -.connects to.-> H
    H -.connects to.-> B

    A --> N[๐Ÿ” Shared Understanding]
    B --> N
    C --> N
    D --> N
Loading

๐Ÿ—๏ธ Structured Components

  • Problems - Documented challenges with evidence
  • Solutions - Proven approaches with results
  • Arguments - Reasoning chains with quality scores
  • Claims - Assertions linked to evidence
  • Plans - Actionable strategies with metrics
  • Ideas - Frameworks and concepts
  • People & Organizations - Who's working on what
  • Projects - Active initiatives with outcomes

๐Ÿ“Š Authoritative Data

  • 13 Data Sources across 100+ years
  • Library science methodology (8 dimensions)
  • Government agencies + verified databases
  • TypeScript automation with Bun runtime
  • Full documentation for every dataset
  • Free APIs with excellent access
  • Human wellbeing indicators beyond GDP
  • Real-time to annual update frequencies

๐Ÿš€ What's New

Tip

October 2025 - Massive Data Expansion!

We just added 8 authoritative data sources measuring human wellbeing beyond traditional economic metrics. Now track financial stress, health crises, social connection, worker agency, and environmental health.

๐Ÿ“… Latest Updates (Click to expand)

๐Ÿ”ฅ October 27, 2025 - Human Wellbeing Infrastructure

5 NEW US Wellbeing Data Sources:

Added Source What It Measures
๐Ÿ†• DS-00004 FRED Economic Wellbeing Debt stress, unemployment, inequality
๐Ÿ†• DS-00005 CDC WONDER Mortality Overdoses, suicides, deaths of despair
๐Ÿ†• DS-00006 Census ACS Social Living alone, commute times, isolation
๐Ÿ†• DS-00007 BLS JOLTS Labor Worker "permission to quit" index
๐Ÿ†• DS-00008 EPA Air Quality PM2.5, ozone, environmental health

Why This Matters:

"If we measure only GDP and unemployment, we will miss the slow-motion collapse of human thriving happening in plain sight."

These sources capture:

  • ๐Ÿ’ฐ Leading indicators - Financial stress predicts recessions
  • ๐ŸŽญ Behavioral truth - Actions reveal what surveys miss
  • ๐Ÿ—๏ธ Structural determinants - Air quality you can't "self-care" out of
  • ๐Ÿšจ Crisis detection - County-level suffering visibility
  • ๐Ÿ†“ Worker agency - Quit rate = economic freedom measure

October 25, 2025 - Core Data Updates

  • โœ… Pulitzer Prize, GDP, inflation data refreshed
  • โœ… Knowledge Worker Salaries validation completed

October 16-18, 2025 - Infrastructure

  • ๐Ÿ—๏ธ Library science methodology (8-dimension evaluation)
  • โšก TypeScript automation with auto-discovery
  • ๐Ÿ“Š Central logging and health monitoring
  • ๐Ÿ“š Complete documentation suite

๐Ÿ“œ Previous Updates (Click to expand)

September 2024 - Community Growth

  • โœ… Claims, Arguments, and Values frameworks
  • โœ… 6+ community contributors
  • โœ… 10+ merged pull requests
  • โœ… TELOS integration

August 2024 - Framework Expansion

  • โœ… Extended component types (Plans, Ideas, Models)
  • โœ… Improved documentation structure
  • โœ… Enhanced contribution guidelines

July 2024 - Foundation

  • โœ… Single-repo structure with 17+ object types
  • โœ… Core framework and documentation
  • โœ… Public launch with initial datasets
  • โœ… Community contribution framework

โ†’ View Full Changelog


๐Ÿ“Š Data & Evidence

Note

All data sources include complete library science cataloging with 8-dimension evaluation: Authority, Currency, Objectivity, Accuracy, Methodology, Coverage, Reliability, and Provenance.

Important

We know data can be controversial. That's exactly why we:

  • ๐Ÿ“Š Collect from multiple sources - Cross-reference data from different authoritative providers
  • ๐Ÿ” Provide complete transparency - Every source fully documented with provenance, methodology, and limitations
  • ๐Ÿ“ Full logging - All data pulls logged with timestamps, source versions, and processing steps
  • ๐Ÿ”“ Open source everything - TypeScript update scripts show exactly how data is fetched and transformed

You can verify, audit, and challenge our data. That's the point.

Core Datasets (Data/)

Dataset Time Span Data Points Source Status
๐Ÿ‡บ๐Ÿ‡ธ US GDP 1929-2025 96 years + 314 quarters FRED/BEA โœ… Active
๐Ÿ’ต US Inflation 1947-2025 945 months FRED/BLS โœ… Active
๐Ÿฆ  Bay Area COVID Wastewater 2022-2025 161 weeks CDPH โœ… Active
๐Ÿ† Pulitzer Prize Winners 1918-2024 249 winners Wikidata โœ… Active
๐Ÿ’ผ Knowledge Worker Salaries Global Multi-region Research โœ… Active

Wellbeing Data Sources (Data-Sources/) ๐Ÿ†•

๐ŸŒ Global Health & Development (Click to expand)
ID Name Coverage Indicators Update
DS-00001 WHO Global Health Observatory 194 countries 2,000+ health indicators Quarterly
DS-00002 UN SDG Indicators 193 countries 231 SDG targets Biannual
DS-00003 World Bank Open Data Global Development metrics Varies
๐Ÿ‡บ๐Ÿ‡ธ US Human Wellbeing (October 2025)
Source Key Indicators Why It Matters Update Freq
DS-00004
FRED Economic
โ€ข Debt service ratio
โ€ข Credit card delinquency
โ€ข Financial stress index
โ€ข Underemployment (U-6)
โ€ข Consumer sentiment
โ€ข GINI inequality
๐Ÿ’ฐ Economic Security Foundation
Debt >12% = stress, >14% = crisis. Leading indicator of recession.
Weekly to Annual
DS-00005
CDC WONDER
โ€ข Drug overdose deaths
โ€ข Opioid-specific deaths
โ€ข Suicide rates
โ€ข All-cause mortality
๐Ÿšจ Crisis Detection
Deaths of despair reveal community breakdown surveys miss. County-level visibility.
Annual (1-2yr lag)
DS-00006
Census ACS
โ€ข Living alone (isolation)
โ€ข Commute times (time poverty)
โ€ข No internet (digital divide)
โ€ข Household demographics
๐Ÿค Social Connection
Structural isolation and time poverty constrain flourishing. Census tract granularity.
Annual
DS-00007
BLS JOLTS
โ€ข Quit rate (worker agency)
โ€ข Job openings
โ€ข Hire rate
โ€ข Layoff/discharge rate
๐Ÿ†“ "Permission to Quit"
People only quit when they have options. Measures economic freedom and dignity.
Monthly
DS-00008
EPA Air Quality
โ€ข PM2.5 (particulate matter)
โ€ข Ozone (O3)
โ€ข SO2, CO, NO2
โ€ข AQI exceedances
๐ŸŒซ๏ธ Environmental Health
You can't "self-care" out of breathing toxic air. Structural wellbeing constraint.
Real-time

Composite Wellbeing Indices

Tip

Combine multiple data sources to create powerful wellbeing metrics:

  • ๐Ÿ’ธ Financial Stress Composite - Debt + delinquency + evictions + stress index
  • ๐Ÿšจ Crisis Alert Composite - Overdoses + suicides + long-term unemployment
  • ๐Ÿค Community Health Composite - Living alone + commute + digital divide (inverted)
  • ๐Ÿ†“ Worker Agency Index - Quit rate + job openings / unemployment
  • ๐ŸŒซ๏ธ Environmental Health Index - PM2.5 + ozone (inverted)

โ†’ Wellbeing Implementation Guide | โ†’ Data Directory


๐Ÿค– Human & AI Collaboration

Substrate provides the pieces. You and your AI create the connections.

๐Ÿ‘ค Humans Contribute

  • Document problems and solutions
  • Add authoritative data sources
  • Create arguments and claims
  • Link entities explicitly
  • Validate AI suggestions
  • Rate quality of evidence

๐Ÿค– AI Analyzes

  • Scan thousands of components
  • Suggest relationships automatically
  • Detect patterns across datasets
  • Score argument quality
  • Find contradictions
  • Generate knowledge graphs

Everything is designed for dual consumption:

  • โœ… Human-readable - Markdown and CSV anyone can open
  • โœ… Machine-parseable - Consistent formats AI can query
  • โœ… Fully documented - Complete methodology for every dataset
  • โœ… Linked with IDs - Unambiguous entity references

Use Cases

๐Ÿ” OSINT & Investigation
  • Cross-reference public records, corporate filings, government data
  • Link people โ†’ organizations โ†’ transactions โ†’ policies
  • Surface connections invisible in isolated databases
  • Build evidence chains from claims to verifiable records
  • Pattern detection for fraud, corruption, illicit networks
๐Ÿ“Š Research & Analysis
  • Track claims against authoritative data sources
  • Evaluate argument quality based on evidence backing
  • Compare solutions across different implementations
  • Measure progress toward stated goals with real metrics
  • Cross-correlate economic, health, social, environmental data
๐ŸŒ Public Accountability
  • Verify political claims against documented evidence
  • Track campaign promises โ†’ policy outcomes โ†’ measured results
  • Link donations โ†’ voting records โ†’ policy positions
  • Monitor government spending against stated objectives
  • Environmental justice analysis (who breathes toxic air?)

๐Ÿš€ Quick Start

View the Data (No Installation Required)

All datasets are available as CSV and Markdown files you can browse directly:

# Clone the repository
git clone https://github.com/danielmiessler/Substrate.git
cd Substrate

# Explore core datasets
ls Data/*/

# Explore wellbeing data sources
ls Data-Sources/*/

Run the Automation (Optional)

Warning

Requires Bun runtime. Install: curl -fsSL https://bun.sh/install | bash

# Install dependencies
bun install

# Update a specific dataset
cd Data/US-GDP
bun run update.ts

# Update a wellbeing source (requires API key)
export FRED_API_KEY="your_key_here"
cd Data-Sources/DS-00004โ€”FRED_Economic_Wellbeing
bun run update.ts

# Update all datasets
bun run scripts/update-all.ts

Get API Keys (Free)

Data Source Get Key Rate Limit
FRED Economic fred.stlouisfed.org/docs/api 120 req/min
Census ACS api.census.gov/data/key_signup 500 req/day
EPA Air Quality Email: aqs.support@epa.gov 10 req/min
BLS JOLTS bls.gov/developers/home 500 req/day
CDC WONDER No key required Fair use

โ†’ Complete Getting Started Guide | โ†’ Quick Reference


๐Ÿ’ก Contribute

Important

Anyone can submit components. No gatekeeping on ideasโ€”just structured formats.

What You Can Add

๐Ÿ“‹ Problems

  • Water quality issues
  • Healthcare access gaps
  • Climate change impacts

๐Ÿ’ก Solutions

  • Filtration systems
  • Telemedicine networks
  • Infrastructure adaptation

๐Ÿ“ˆ Plans

  • Political platforms
  • Policy proposals
  • Action roadmaps

๐Ÿ—ฃ๏ธ Arguments

  • "This works because X, Y, Z"
  • "This failed due to A, B"
  • (We don't judgeโ€”community rates)

๐Ÿ“Š Data

  • Public records
  • Research datasets
  • Compiled statistics

๐Ÿ’ญ Ideas

  • Theoretical frameworks
  • Novel measurement approaches
  • Conceptual models

๐Ÿ‘ฅ People & Orgs

  • Researchers on problems
  • Organizations implementing
  • Projects with outcomes

๐Ÿ“ Metrics

  • Success criteria
  • Measurement frameworks
  • Progress indicators

๐ŸŽฏ Values

  • Guiding principles
  • Evaluation criteria

How to Submit

  1. Fork the repository on GitHub
  2. Add your component in the appropriate directory (Problems/, Solutions/, etc.)
  3. Follow the format in that directory's README
  4. Submit a Pull Request

Note

We're building a web interface to make this easier for non-technical contributors!

โ†’ Contribution Guidelines


๐Ÿ“š Documentation

Getting Started

Technical


๐Ÿ—บ๏ธ Roadmap

โœ… Completed

Phase 1: Foundation (July 2024)
  • โœ… Single-repo structure with 17+ object types
  • โœ… Core framework and documentation
  • โœ… Public launch with initial datasets
  • โœ… Community contribution framework
Phase 2: Community (Aug-Sep 2024)
  • โœ… Claims, Arguments, and Values frameworks
  • โœ… 6+ community contributors
  • โœ… 10+ merged pull requests
  • โœ… TELOS integration
Phase 3: Data Infrastructure (Oct 2025) ๐Ÿ”ฅ
  • โœ… 13 authoritative data sources (5 core + 8 wellbeing)
  • โœ… Library science methodology (8-dimension evaluation)
  • โœ… TypeScript automation system with Bun runtime
  • โœ… 6,000+ lines of documentation across all sources
  • โœ… Comprehensive wellbeing indicators (economic, health, social, labor, environmental)
  • โœ… Free API access with rate limiting and retry logic

๐Ÿšง Planned

Phase 4: Enhanced Access (Q4 2025 - Q1 2026)

  • ๐ŸŽจ Web-based contribution interface (no coding required)
  • ๐Ÿ“Š Interactive data visualizations
  • ๐Ÿ”Œ RESTful API for programmatic access
  • ๐Ÿ“ฑ Mobile-friendly exploration

Phase 5: Dataset Expansion (2026)

  • ๐ŸŒ Additional international sources (UNICEF, OECD, IHME)
  • โšก Real-time data feeds integration
  • ๐Ÿ—ณ๏ธ Community-driven dataset requests
  • ๐Ÿค Partnerships with research institutions

Phase 6: Intelligence Layer (2026+)

  • ๐Ÿค– Automated relationship discovery
  • ๐Ÿ“ˆ Confidence scoring for AI-suggested links
  • ๐ŸŽฏ Pattern detection algorithms
  • ๐Ÿ”” Email/Slack notifications for data updates
  • ๐Ÿ“š Machine-readable catalog (DCAT/CKAN compliance)

๐Ÿ”— Integration with TELOS

Substrate provides evidence. TELOS provides intention.

TELOS (Goals & Strategy) Substrate (Evidence & Solutions)
  • Goals - What you want to achieve
  • Strategies - How you'll pursue it
  • Challenges - Obstacles you face
  • Metrics - Progress tracking
  • Problems - What stands in the way
  • Solutions - Proven approaches
  • Data - Measured evidence
  • Plans - Implementation roadmaps

Together: Complete system for intention + evidence-based action.


๐Ÿ™ Credits

Created By

Daniel Miessler โ€ข July 2024

Twitter Follow Newsletter

Special Thanks

Inspiration & Contributions:

  • Jonathan Dunn @xssdoctor - Similar vision and collaboration
  • Joel Parish - Structure wisdom and guidance
  • Joseph Thacker - Continuous flow of innovative ideas

Community Contributors:

@ThatNateGuy โ€ข @JaymanW โ€ข @karai114 โ€ข @DesertEaglePWN โ€ข @ktfth


๐Ÿ“„ License

MIT License - see the LICENSE file for details.


๐Ÿ“Š Repository Stats

Data: 13 sources โ€ข 1,700+ data points โ€ข 107-year span (1918-2025)

Code: TypeScript automation โ€ข 6,000+ lines documentation โ€ข GitHub Actions

Community: 6+ contributors โ€ข 10+ PRs merged โ€ข 17 object types


โฌ† Back to Top

Built with โค๏ธ for human understanding and progress

Powered by TypeScript โ€ข Bun โ€ข Open Data


Star History

Star History Chart

About

An Open-source Framework for Human Understanding, Meaning, and Progress.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  

Packages

No packages published