{"id":18301280,"url":"https://github.com/spider-rs/readability","last_synced_at":"2025-04-05T14:30:51.322Z","repository":{"id":255202478,"uuid":"848840210","full_name":"spider-rs/readability","owner":"spider-rs","description":"The readability library for LLM's","archived":false,"fork":false,"pushed_at":"2024-10-25T13:23:36.000Z","size":43,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-21T05:42:59.687Z","etag":null,"topics":["clean-data","data-cleaning","llm-training","readability","rust","safari-reader"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/llm_readability","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}},"created_at":"2024-08-28T13:58:15.000Z","updated_at":"2025-03-19T13:02:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"7854e5d5-a28c-4bce-9afa-d956960b3249","html_url":"https://github.com/spider-rs/readability","commit_stats":null,"previous_names":["spider-rs/llm-readability","spider-rs/readability"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spider-rs%2Freadability","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spider-rs%2Freadability/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spider-rs%2Freadability/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spider-rs%2Freadability/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spider-rs","download_url":"https://codeload.github.com/spider-rs/readability/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247352293,"owners_count":20925245,"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":["clean-data","data-cleaning","llm-training","readability","rust","safari-reader"],"created_at":"2024-11-05T15:15:01.835Z","updated_at":"2025-04-05T14:30:51.047Z","avatar_url":"https://github.com/spider-rs.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# llm_readability\n\nThe Rust readability library built for performance, AI, and multiple locales.\nThe library is used on [Spider Cloud](https://spider.cloud) for data cleaning.\n\n## Usage\n\n```toml\n[dependencies]\nllm_readability = \"0\"\n```\n\n```rust\nuse llm_readability::extractor;\n\nfn main() {\n  match extractor::extract(\u0026mut \"\u003chtml\u003e...\u003c/html\u003e\".as_bytes(), \"https://example.com\", None) {\n      Ok(product) =\u003e {\n          println!(\"------- html ------\");\n          println!(\"{}\", product.content);\n          println!(\"---- plain text ---\");\n          println!(\"{}\", product.text);\n      },\n      Err(_) =\u003e println!(\"error occured\"),\n  }\n}\n```\n\nThis project is a rewrite of `readability-rs` for performance and bug fixes.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspider-rs%2Freadability","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspider-rs%2Freadability","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspider-rs%2Freadability/lists"}