๐Ÿค–

Robots.txt Developer Hub

robots-txt-org
Open source tools, SDKs, and infrastructure for intelligent web crawling, sitemap generation, and crawler policy management. Used by 12,000+ developers.
๐Ÿ“ San Francisco, CA & Remote ๐Ÿ”— robots.txt ๐Ÿ“ง dev@robots.txt โญ 4.2k stars ๐Ÿด 890 forks
๐Ÿ“ฆ Overview
๐Ÿ“„ Repositories 47
๐Ÿ“Š Projects
๐Ÿ‘ฅ Teams
โš™๏ธ Packages
๐Ÿ“‹ Discussions
๐Ÿ”’ Security
๐Ÿ“ˆ Insights
Overview
Code 1
Issues 12
Pull requests 3
Actions
Projects
Wiki
Security
๐Ÿ“ packages Updated 3 days ago
๐Ÿ“ cli/ feat: add dry-run flag for policy validation 2d ago
๐Ÿ“ sdk-node/ fix: handle malformed allow directives 4d ago
๐Ÿ“ sdk-python/ chore: bump version to 2.4.1 1w ago
๐Ÿ“„ README.md docs: update installation instructions 5d ago
๐Ÿ“„ package.json build: add workspace configuration 3d ago
๐Ÿ“„ LICENSE initial commit 2y ago

robots-txt-org/developer-hub

Build Passing TypeScript Python CLI

About

A monorepo containing open-source tools for parsing, validating, and generating robots.txt policies across modern web stacks. Designed for scale, accuracy, and zero-config integration.

Quick Start

# Install CLI
npm i -g @robots.txt/cli

# Validate local robots.txt
robots validate ./robots.txt

# Generate optimized policy from sitemap
robots generate --sitemap ./sitemap.xml --output ./robots.txt

# Dry-run against live endpoint
robots check https://example.com/robots.txt --verbose

Supported SDKs

  • Node.js - @robots.txt/sdk-node (v2.4.1)
  • Python - robots_txt_sdk (v2.4.0)
  • Go - github.com/robots-txt/sdk-go (v1.8.2)
  • Rust - robots_txt (v0.9.4)

Architecture

All packages share a core spec engine that implements RFC 9309 and Google/Bing extensions. Policies are compiled to a deterministic AST before rendering, ensuring consistent behavior across crawlers.

Contributing

See CONTRIBUTING.md for guidelines on running the monorepo, writing tests, and submitting PRs. All contributions require passing lint, type-check, and integration suites.

3,842 commits in the last year