{"id":24986936,"url":"https://github.com/rinpatch/fast_sanitize","last_synced_at":"2026-02-03T19:32:28.942Z","repository":{"id":273828014,"uuid":"249554112","full_name":"rinpatch/fast_sanitize","owner":"rinpatch","description":"A faster Elixir HTML sanitization library with similar behavior to HTMLSanitizeEx. THIS IS A MIRROR, real repo at https://git.pleroma.social/pleroma/elixir-libraries/fast_sanitize","archived":false,"fork":false,"pushed_at":"2020-08-31T06:53:50.000Z","size":72,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-26T22:51:34.385Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":false,"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/rinpatch.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-03-23T22:02:56.000Z","updated_at":"2020-08-31T06:53:47.000Z","dependencies_parsed_at":"2025-01-23T08:19:33.032Z","dependency_job_id":"d3759a74-9eef-4fae-9a3a-607b6b22804a","html_url":"https://github.com/rinpatch/fast_sanitize","commit_stats":null,"previous_names":["rinpatch/fast_sanitize"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/rinpatch/fast_sanitize","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rinpatch%2Ffast_sanitize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rinpatch%2Ffast_sanitize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rinpatch%2Ffast_sanitize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rinpatch%2Ffast_sanitize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rinpatch","download_url":"https://codeload.github.com/rinpatch/fast_sanitize/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rinpatch%2Ffast_sanitize/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29054693,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T15:43:47.601Z","status":"ssl_error","status_checked_at":"2026-02-03T15:43:46.709Z","response_time":96,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2025-02-04T11:33:59.601Z","updated_at":"2026-02-03T19:32:28.919Z","avatar_url":"https://github.com/rinpatch.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FastSanitize\n\nA high performance HTML sanitization library built on [FastHTML][fh], our\nrewrite of Myhtmlex.  It was created to improve HTML sanitization performance\nin [Pleroma][pl], a high-performance, versatile federated social networking\nplatform.\n\n   [fh]: https://git.pleroma.social/pleroma/myhtmlex\n   [pl]: https://pleroma.social\n\n## Features\n\n* Meta-programming: build your own scrubbing policies with macros, mostly\n  compatible with HtmlSanitizeEx.\n* Performance: on average, 2-3 times faster than HtmlSanitizeEx with typical\n  documents with considerably less memory usage.\n* Uses the MyHTML parsing engine which parses HTML in the same way browsers\n  do.\n* Uses an efficient AST for scrubbing HTML nodes and Erlang iolists for\n  efficient HTML generation.\n\n## Installation\n\nThe package can be installed by adding `fast_sanitize` to your list of\ndependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:fast_sanitize, \"~\u003e 0.1.0\"}\n  ]\nend\n```\n\nDocs can be found at [https://hexdocs.pm/fast_sanitize](https://hexdocs.pm/fast_sanitize).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frinpatch%2Ffast_sanitize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frinpatch%2Ffast_sanitize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frinpatch%2Ffast_sanitize/lists"}