Host an API to convert websites to markdown with optional features
Project description
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.
License
This project is licensed under the terms of the MIT license. See the LICENSE file.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file site2md-0.1.2.tar.gz.
File metadata
- Download URL: site2md-0.1.2.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
78ba432aa71e90f7fcfa3b4ec3d33e399121332df683e7320149792432feea06
|
|
| MD5 |
160799f0d342a795b70dc0850fa42955
|
|
| BLAKE2b-256 |
8f4eabc273846ed59cf8918de1dc681dbc8c3607ad0420bcff11bcf278e50ff5
|
File details
Details for the file site2md-0.1.2-py3-none-any.whl.
File metadata
- Download URL: site2md-0.1.2-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f89d0c6711fd346b150c634012cb660d98e161f9ede48aa4e23e70f74d24b6a
|
|
| MD5 |
f645a42693a02674dce051b3d483becc
|
|
| BLAKE2b-256 |
7b7c701def75f9a09426ef5afd9cea6479a824fe3c9849eed5078b8e058c913a
|