Awesome List Generator
A powerful, Python-based CLI tool designed to automate the generation of beautiful, structured "Awesome Lists" in both Markdown and HTML formats from simple YAML data files.
Stop manually formatting your markdown links and managing table of contents. Just define your resources in a YAML file, and let the generator do the heavy lifting!
✨ Features
- Dual Output Formats: Generates both a standard GitHub-flavored
README.mdand a fully responsive, searchable, dark-mode-enabled Bootstrap 5 HTML site. - Auto-Enrichment: Automatically scrapes websites for Open Graph titles and descriptions if you don't provide them.
- GitHub Integration: Intercepts GitHub URLs and uses the GitHub REST API to fetch real-time Stars (⭐), Forks (🍴), and License data.
- Built-in Link Linter: Fast, stream-based health checks to detect and report broken links (
404s, parked domains, etc.) so your list never goes stale. - Smart Categorization: Supports nested subcategories, custom visual labels, images, and emojis.
- Change Tracking: Automatically builds a
latest-changes.mddiff to track what was added, changed, or removed between builds.
🚀 Getting Started
Prerequisites
- Python 3.12+
- uv (Recommended for dependency management)
Installation
Clone the repository and install the dependencies using uv:
git clone https://github.com/derekvincent/awesome-list-generator.git
cd awesome-list-generator
uv sync
💻 Usage
The CLI provides two main commands: generate and lint.
Generate the List
To parse your YAML file, fetch metadata, and generate both the Markdown and HTML outputs:
uv run awesome-lists-generator generate path/to/your/projects.yaml
Tip: Add --debug for verbose logging output.
Lint the List
To run a fast health check on all the URLs in your list without generating any output files. This will exit with a non-zero status code if broken links are found, making it perfect for CI/CD pipelines.
uv run awesome-lists-generator lint path/to/your/projects.yaml
⚙️ Configuration
The generator is driven by a single YAML file (e.g., projects.yaml). Here is a basic example of the structure:
config:
output_file: output/README.md
html_folder: output/web
list_title: Awesome Example!
markdown_header_file: config/header.md
labels:
- label: "github"
name: "GitHub"
image: "https://github.githubassets.com/favicons/favicon.svg"
categories:
- name: tools
label: Development Tools
description: Useful tools for development.
items:
- link_id: https://github.com/derekvincent/awesome-list-generator
name: Awesome List Generator
category: tools
labels: ["github"]
GitHub API Rate Limits
To prevent hitting unauthenticated rate limits when querying GitHub repository metadata, you can export a GITHUB_TOKEN environment variable before running the generator:
export GITHUB_TOKEN="your_personal_access_token"
uv run awesome-lists-generator generate projects.yaml
🤝 Contributing
Contributions are very welcome! If you'd like to add a feature, fix a bug, or improve the documentation, please check out our Contributing Guidelines and our Code of Conduct.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
📄 License
Distributed under the MIT License. See LICENSE for more information.
Metadata
Release files for awesome-lists-generator 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| awesome_lists_generator-0.3.2.tar.gz | 23.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| awesome_lists_generator-0.3.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 48.0 kB
Release files / awesome_lists_generator-0.3.2.tar.gz
| Download URL | awesome_lists_generator-0.3.2.tar.gz |
|---|---|
| Size | 23.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5c24ab542b03ad543776edd8deb25efffb443fba432011d87869a84239b9bafb
|
|
BLAKE2b-256 checksum How to use checksums |
e02634128fea6b8944cb1e594f97afb92d2f8e89860aaa2faaa5fcf50d5ab57d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 28, 2026.
Transparency logRelease files / awesome_lists_generator-0.3.2-py3-none-any.whl
| Download URL | awesome_lists_generator-0.3.2-py3-none-any.whl |
|---|---|
| Size | 24.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8350fc2e9f2e908c8a647caccaadb507cb1a6388a468e4d67535d6458be91806
|
|
BLAKE2b-256 checksum How to use checksums |
c7a1831eabc7506125363bbd5b806ed25e81c59355d34b8329b5702ba9d4da20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 28, 2026.
Transparency log