{"id":19892532,"url":"https://github.com/rusterlium/html5ever_elixir","last_synced_at":"2025-05-15T20:01:30.886Z","repository":{"id":39713802,"uuid":"78877170","full_name":"rusterlium/html5ever_elixir","owner":"rusterlium","description":"NIF wrapper of html5ever using Rustler","archived":false,"fork":false,"pushed_at":"2025-03-06T15:14:16.000Z","size":514,"stargazers_count":86,"open_issues_count":7,"forks_count":31,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-05-08T04:05:59.225Z","etag":null,"topics":["binding","elixir","erlang","html-parser","html5ever","nif","rustler"],"latest_commit_sha":null,"homepage":"https://hexdocs.pm/html5ever","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rusterlium.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","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":"2017-01-13T18:55:04.000Z","updated_at":"2025-03-18T05:07:57.000Z","dependencies_parsed_at":"2024-03-12T19:51:31.872Z","dependency_job_id":"87f015b6-fd45-42ca-9ad1-1ee2ab25543c","html_url":"https://github.com/rusterlium/html5ever_elixir","commit_stats":{"total_commits":193,"total_committers":8,"mean_commits":24.125,"dds":0.5647668393782384,"last_synced_commit":"d4bca33101b664eb642b1ca5735994f2ad0a4bb6"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rusterlium%2Fhtml5ever_elixir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rusterlium%2Fhtml5ever_elixir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rusterlium%2Fhtml5ever_elixir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rusterlium%2Fhtml5ever_elixir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rusterlium","download_url":"https://codeload.github.com/rusterlium/html5ever_elixir/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254414457,"owners_count":22067263,"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":["binding","elixir","erlang","html-parser","html5ever","nif","rustler"],"created_at":"2024-11-12T18:24:02.118Z","updated_at":"2025-05-15T20:01:30.431Z","avatar_url":"https://github.com/rusterlium.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Html5ever binding for Elixir\n\n[![CI](https://github.com/rusterlium/html5ever_elixir/actions/workflows/ci.yml/badge.svg)](https://github.com/rusterlium/html5ever_elixir/actions/workflows/ci.yml)\n\nNIF binding of [html5ever](https://github.com/servo/html5ever) using [Rustler](https://github.com/rusterlium/rustler).\n\nIt is currently functional with basic features.\n\n## Installation\n\nThe package can be installed by adding `html5ever` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [{:html5ever, \"~\u003e 0.16.0\"}]\nend\n```\n\nOr with [`Mix.install/1`](https://hexdocs.pm/mix/Mix.html#install/2):\n\n```elixir\nMix.install([:html5ever])\n```\n\n## Forcing compilation\n\nBy default **you don't need Rust installed** because the lib will try to download\na precompiled NIF file. In case you want to force compilation set the\n`HTML5EVER_BUILD` environment variable to `true` or `1`. Alternatively you can also set the\napplication env `:build_from_source` to `true` in order to force the build:\n\n```elixir\nconfig :html5ever, Html5ever, build_from_source: true\n```\n\nYou also need to add Rustler to your dependencies when you want to force\nthe compilation:\n\n```elixir\ndef deps do\n  [\n    {:html5ever, \"~\u003e 0.16.0\"},\n    {:rustler, \"\u003e= 0.0.0\", optional: true}\n  ]\nend\n```\n\n## License\n\nLicensed under either of\n\n * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\nat your option.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frusterlium%2Fhtml5ever_elixir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frusterlium%2Fhtml5ever_elixir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frusterlium%2Fhtml5ever_elixir/lists"}