{"id":14992338,"url":"https://github.com/swanandx/html-to-rsx","last_synced_at":"2025-06-11T07:09:18.558Z","repository":{"id":174471603,"uuid":"652278117","full_name":"swanandx/html-to-rsx","owner":"swanandx","description":"Convert HTML to RSX, a meta language used by dioxus","archived":false,"fork":false,"pushed_at":"2023-06-11T17:22:28.000Z","size":7,"stargazers_count":20,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T05:22:50.959Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/swanandx.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-06-11T16:41:01.000Z","updated_at":"2025-02-16T18:39:41.000Z","dependencies_parsed_at":"2023-07-28T03:30:47.874Z","dependency_job_id":null,"html_url":"https://github.com/swanandx/html-to-rsx","commit_stats":null,"previous_names":["swanandx/html-to-rsx"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swanandx%2Fhtml-to-rsx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swanandx%2Fhtml-to-rsx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swanandx%2Fhtml-to-rsx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swanandx%2Fhtml-to-rsx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swanandx","download_url":"https://codeload.github.com/swanandx/html-to-rsx/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swanandx%2Fhtml-to-rsx/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259219697,"owners_count":22823576,"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":[],"created_at":"2024-09-24T15:00:57.724Z","updated_at":"2025-06-11T07:09:18.531Z","avatar_url":"https://github.com/swanandx.png","language":"Rust","funding_links":[],"categories":["GUI"],"sub_categories":[],"readme":"# HTML to RSX\n\nRSX is a meta language used by [dioxus](https://github.com/DioxusLabs/dioxus).\nThis is a simple utility to convert HTML to RSX to save you some time!\n\nYou can clone the repo and execute using:\n```sh\ncargo r -- \u003cPATH TO HTML FILE\u003e\n```\n\nOr you can pass HTML from stdin as well\n```sh\ncat \u003cHTML FILE\u003e | cargo r\n```\n\nFor example, \nHTML:\n```html\n\u003cdiv id=\"hero\" class=\"container\"\u003e\n  \u003cp\u003eThis is awesome!\u003c/p\u003e\n  \u003cbr /\u003e\n\u003c/div\u003e\n```\nRSX:\n```\ndiv { \n    id: \"hero\",\n    class: \"container\",\n    p { \"This is awesome!\"}\n    br { }\n}\n```\n\nWe are curretly bare bone and WIP, lot of work needs to be done. e.g. formatting the RSX, having `r#type` instead of type for input, etc.\n\nFeel free to open issues/ PR and contribute to the project \u003c3\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswanandx%2Fhtml-to-rsx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswanandx%2Fhtml-to-rsx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswanandx%2Fhtml-to-rsx/lists"}