Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 672 Bytes

README.md

File metadata and controls

15 lines (8 loc) · 672 Bytes

site2md

Convert any website to Markdown or structured JSON. An ideal solution to provide content to LLMs(.txt). This project uses FastAPI and Trafilatura. It serves a simple API with optional KV (Materia, Redis, Valkey) caching and rate limiting.

Usage

See the example directory to get started.

Development & Tests

Install optional dependencies and run pytest to run the tests. If a KV local server is not running, corresponding tests will be skipped.

License

This project is licensed under the terms of the MIT license. See the LICENSE file.