{"id":28665308,"url":"https://github.com/spider-rs/spider_transformations","last_synced_at":"2026-01-20T16:43:20.483Z","repository":{"id":297840697,"uuid":"998062863","full_name":"spider-rs/spider_transformations","owner":"spider-rs","description":"HTML transformation library for Rust","archived":false,"fork":false,"pushed_at":"2025-06-07T20:12:54.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-07T20:27:39.142Z","etag":null,"topics":["html-to-markdown","html-transformation","transform-data"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/spider_transformations","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spider-rs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-07T19:35:10.000Z","updated_at":"2025-06-07T20:12:57.000Z","dependencies_parsed_at":"2025-06-07T20:40:14.663Z","dependency_job_id":null,"html_url":"https://github.com/spider-rs/spider_transformations","commit_stats":null,"previous_names":["spider-rs/spider_transformations"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/spider-rs/spider_transformations","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spider-rs%2Fspider_transformations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spider-rs%2Fspider_transformations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spider-rs%2Fspider_transformations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spider-rs%2Fspider_transformations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spider-rs","download_url":"https://codeload.github.com/spider-rs/spider_transformations/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spider-rs%2Fspider_transformations/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259654290,"owners_count":22890987,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["html-to-markdown","html-transformation","transform-data"],"created_at":"2025-06-13T13:38:21.352Z","updated_at":"2025-10-30T05:48:46.550Z","avatar_url":"https://github.com/spider-rs.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spider_transformations\n\nA high-performance transformation library for Rust, used by [Spider Cloud](https://spider.cloud) for AI-powered content cleaning across multiple locales.\n\nThis project depends on the `spider` crate.\n\n## Usage\n\n```toml\n[dependencies]\nspider_transformations = \"2\"\n```\n\n```rust\nuse spider_transformations::transformation::content;\n\nfn main() {\n    // page comes from the spider object when streaming.\n    let mut conf = content::TransformConfig::default();\n    conf.return_format = content::ReturnFormat::Markdown;\n    let content = content::transform_content(\u0026page, \u0026conf, \u0026None, \u0026None);\n}\n```\n\n### Transform types\n\n1. Markdown\n1. Commonmark\n1. Text\n1. Markdown (Text Map) or HTML2Text\n1. WIP: HTML2XML\n\n#### Enhancements\n\n1. Readability\n1. Encoding\n\n## Chunking\n\nThere are several chunking utils in the transformation mod.\n\nThis project has rewrites and forks of html2md, and html2text for performance and bug fixes.\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspider-rs%2Fspider_transformations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspider-rs%2Fspider_transformations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspider-rs%2Fspider_transformations/lists"}