{"id":19143662,"url":"https://github.com/cobyism/domani","last_synced_at":"2026-02-15T09:16:17.256Z","repository":{"id":8399608,"uuid":"9979917","full_name":"cobyism/domani","owner":"cobyism","description":"An idea for an experimental UI for DOM navigation and markup editing.","archived":false,"fork":false,"pushed_at":"2013-05-10T11:12:03.000Z","size":116,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-22T19:29:45.710Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cobyism.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-05-10T11:11:29.000Z","updated_at":"2014-01-27T00:19:23.000Z","dependencies_parsed_at":"2022-07-31T02:18:10.449Z","dependency_job_id":null,"html_url":"https://github.com/cobyism/domani","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cobyism/domani","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cobyism%2Fdomani","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cobyism%2Fdomani/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cobyism%2Fdomani/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cobyism%2Fdomani/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cobyism","download_url":"https://codeload.github.com/cobyism/domani/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cobyism%2Fdomani/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279005653,"owners_count":26083942,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2024-11-09T07:32:26.706Z","updated_at":"2025-10-11T00:36:29.834Z","avatar_url":"https://github.com/cobyism.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Domani\n\nImagine if we could traverse the nodes that make up the DOM of the HTML we’re building *as we write markup*. You could do neath things like:\n\n- Move from one node down further into the tree to select between nested nodes.\n- Use CSS selector-style keyboard shortcuts such as `.` to edit the class of a node, and `#` to edit the ID.\n- Edit other attributes and `data-` values for each node.\n- Use vim-like keyboard shortcuts like `i` to insert/edit contents of a selected node.\n- Type a shortcut for a new element, then type the tag name, and have it default to the necessary attributes.\n- Hit `z` to enter an emmet/zen coding sequence and have it expanded into the navigable DOM tree.\n- Export the markup.\n- Drag and drop files (or even URLs) onto the tool to import the DOM and begin editing/navigating.\n- Open/import DOM from GitHub blob URL or Gist URL.\n- Copy/export markup to clipboard.\n- Hitting `t` selects a text node as the one to add.\n- Use `\u0026` as a shortcut to bring up a selection/autocompletion of symbols/html-entities.\n- Maybe one day have a side-by-side preview of the rendered markup.\n\nThings that might be tricky from an IA perspective:\n\n- Inline nodes. How do we split a paragraph with an inline element into the necessary 3 nodes (a text node of what is before the inline element, the inline element, and another text node of what was after the inline element) in such a way that it still feels \"inline\" (note: I initially presumed the tree structure would be a vertical one like markup, but that’s not necessarily a safe assumption—having a horizontal DOM node explorer could be interested itself.\n- One-off things like `DOCTYPE`? Not sure if there are others that would fall into this category?\n- In-file `\u003cstyle\u003e` and `\u003cscript\u003e` tags.\n- Implied nodes—i.e. HTML will almost always contain basic meta tags and so forth.\n- Implementing a modal system for navigation versus insertion (horizontal cursor/caret for a vertical node structure).\n\nIt would be amazing if the demo was the project opening up it’s own DOM for you to navigate. Just sayin’.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcobyism%2Fdomani","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcobyism%2Fdomani","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcobyism%2Fdomani/lists"}