Skip to content

Instantly share code, notes, and snippets.

View pfitz's full-sized avatar

Friedrich Pfitzmann pfitz

View GitHub Profile
@pfitz
pfitz / aider-convention-scraper
Created March 4, 2025 06:19 — forked from chr15m/aider-convention-scraper
Convert documentation URLs to Markdown "convention" files to be used by aider and other LLMs
#!/bin/sh
# Scrapes documentation from a URL and converts it to Markdown suitable for aider convention files
# to provide context to the LLM.
if [ $# -eq 0 ]; then
echo "Usage: $(basename "$0") <URL> [URL...]"
echo
echo "Generate aider 'convention' Markdown context from documentation URLs."
echo "suitable for providing LLM context about a project's conventions and style."