{"id":15060882,"url":"https://github.com/angelmunoz/hox","last_synced_at":"2025-04-10T06:12:14.819Z","repository":{"id":217998894,"uuid":"745305483","full_name":"AngelMunoz/Hox","owner":"AngelMunoz","description":"Async HTML rendering and a simplistic but extensible DSL based on css selectors.","archived":false,"fork":false,"pushed_at":"2025-03-29T21:21:47.000Z","size":225,"stargazers_count":18,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-03T05:30:00.060Z","etag":null,"topics":["async-rendering","dotnet","dsl","fsharp","html","html-dsl","library","stream-html","webserver"],"latest_commit_sha":null,"homepage":"https://hox.tunaxor.me/","language":"F#","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/AngelMunoz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-19T03:35:25.000Z","updated_at":"2025-03-29T21:21:32.000Z","dependencies_parsed_at":"2024-01-22T05:25:35.475Z","dependency_job_id":"f1c318a4-fbd7-4f69-b39a-2c4d828e7f46","html_url":"https://github.com/AngelMunoz/Hox","commit_stats":{"total_commits":129,"total_committers":1,"mean_commits":129.0,"dds":0.0,"last_synced_commit":"b6545796737f1c99d27942f0473ec25c3482f28e"},"previous_names":["angelmunoz/htmelo","angelmunoz/hox"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AngelMunoz%2FHox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AngelMunoz%2FHox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AngelMunoz%2FHox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AngelMunoz%2FHox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AngelMunoz","download_url":"https://codeload.github.com/AngelMunoz/Hox/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248166925,"owners_count":21058481,"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":["async-rendering","dotnet","dsl","fsharp","html","html-dsl","library","stream-html","webserver"],"created_at":"2024-09-24T23:05:53.882Z","updated_at":"2025-04-10T06:12:14.799Z","avatar_url":"https://github.com/AngelMunoz.png","language":"F#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hox\n\n\u003e Check the documentation at [hox's website'](https://hox.tunaxor.me) for more details.\n\nHox is an extensible HTML rendering library, it provides a set of functions to work with **Nodes** and compose them together as well as a couple of async rendering functions that support cancellation.\n\nThe core features are:\n\n- A single core `Node` type that drives the whole rendering mechanism.\n- Side-by-side Asynchronous Nodes, you can add sync or async nodes into sync/async parents/sibling nodes.\n- Cancellable sync/async Rendering process that leverages ValueTasks.\n- Render to a single string or `IAsyncEnumerable\u003cstring\u003e`.\n- A simplistic core DSL based on css selector parsing to generate nodes.\n\nA couple of opt-in extra supported features are:\n\n- Declarative Shadow DOM support for built-in html elements (e.g. div, article, nav, etc.)\n- Templating functions for Declarative Shadow DOM custom elements.\n- C# and VB.NET compatibility out of the box for the core constructs.\n- Feliz-like API thanks to Feliz.Engine for an F# flavored style.\n\nThe core bits are somewhat low level building blocks to enable these kinds of features and possibly more in the future.\nFeel free to chime in if you have a use case that could be solved by this library!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangelmunoz%2Fhox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fangelmunoz%2Fhox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangelmunoz%2Fhox/lists"}