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.1.tar.gz (8.4 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.1-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file site2md-0.1.1.tar.gz.

File metadata

  • Download URL: site2md-0.1.1.tar.gz
  • Upload date:
  • Size: 8.4 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.1.tar.gz
Algorithm Hash digest
SHA256 fef73a8a07c156bc37b221c83967e17a8f3fdf2c8cfd2095bd39c00488b7789c
MD5 78e861f470053ad1da4cb4b8dee3f3ef
BLAKE2b-256 431e69fc83df9da18646967407ba389fc0b40dbcd6d040d0cf109b9efc317662

See more details on using hashes here.

File details

Details for the file site2md-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: site2md-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4af71fda19d683d3d4b3eb367758a382534828cf795a2f26a84d4021ba4cfa01
MD5 a28341cadcfe13d57a873a55ecb2e8e0
BLAKE2b-256 c67343cea23c8a8b7396841671cb1daa3e38266ffef7adf8b190086f66573e50

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