{"id":19401595,"url":"https://github.com/adebola-io/tarantula","last_synced_at":"2026-05-16T18:11:01.678Z","repository":{"id":170017011,"uuid":"645723806","full_name":"adebola-io/tarantula","owner":"adebola-io","description":"Implementation of the Document Object Model (DOM) in Rust.  ","archived":false,"fork":false,"pushed_at":"2023-07-21T07:03:38.000Z","size":350,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-24T14:37:44.405Z","etag":null,"topics":["css","dom","html","layout","rust","web"],"latest_commit_sha":null,"homepage":"","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/adebola-io.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":"2023-05-26T09:40:28.000Z","updated_at":"2023-10-07T04:15:12.000Z","dependencies_parsed_at":"2025-01-07T12:13:49.878Z","dependency_job_id":"401086a0-a6cf-4691-ac4a-b1f55fe5d152","html_url":"https://github.com/adebola-io/tarantula","commit_stats":null,"previous_names":["adebola-io/tarantula"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/adebola-io/tarantula","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adebola-io%2Ftarantula","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adebola-io%2Ftarantula/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adebola-io%2Ftarantula/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adebola-io%2Ftarantula/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adebola-io","download_url":"https://codeload.github.com/adebola-io/tarantula/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adebola-io%2Ftarantula/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33113547,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["css","dom","html","layout","rust","web"],"created_at":"2024-11-10T11:19:09.219Z","updated_at":"2026-05-16T18:11:01.625Z","avatar_url":"https://github.com/adebola-io.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tarantula 🕷\n\n[![status](https://img.shields.io/badge/status-stable-blue.svg)](https://github.com/adebola-io/tarantula/tree/master)\n\nThis (experimental) project hopes be a (somewhat) faithful implementation of the [WHATWG Document Object Model](https://dom.spec.whatwg.org/) in Rust. \n\nThe purpose is to see how possible it is to wrangle the DOM out of Javascript and squeeze it into a Rust API, possibly for GUI clients, who knows.\n\nBecause of the differences in the languages, The API **will** diverge from the specification in situations where there is no feasible implementation. A list of all concessions and compromises so far can be seen [here](https://github.com/adebola-io/tarantula/blob/master/docs/notes.md).\n\n## Theoretical Usage\n\n```rust\nuse tarantula::prelude::*;\n\nfn main() {\n   if let Err(e) = Window::new(\"index.html\", context, None).run() {\n      eprintln!(\"{}\", e);\n      std::process::exit(1);\n   };\n}\n\nfn context(mut window: Window) -\u003e DOMResult {\n   let mut document = window.document();\n\n   let mut element = document.create_element(\"div\");\n   element.set_inner_text(\"Hello, there!\");\n   element.style_mut().set_property(\"color\", \"green\");\n\n   document.body_mut().append(\u0026mut element)?;\n   Ok(())\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadebola-io%2Ftarantula","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadebola-io%2Ftarantula","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadebola-io%2Ftarantula/lists"}