Skip to main content

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

site2md-0.1.2.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

site2md-0.1.2-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

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

Hashes for site2md-0.1.2.tar.gz
Algorithm Hash digest
SHA256 78ba432aa71e90f7fcfa3b4ec3d33e399121332df683e7320149792432feea06
MD5 160799f0d342a795b70dc0850fa42955
BLAKE2b-256 8f4eabc273846ed59cf8918de1dc681dbc8c3607ad0420bcff11bcf278e50ff5

See more details on using hashes here.

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

Hashes for site2md-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0f89d0c6711fd346b150c634012cb660d98e161f9ede48aa4e23e70f74d24b6a
MD5 f645a42693a02674dce051b3d483becc
BLAKE2b-256 7b7c701def75f9a09426ef5afd9cea6479a824fe3c9849eed5078b8e058c913a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page