{"id":34933220,"url":"https://github.com/zigster64/datastar-zig-train","last_synced_at":"2026-05-23T10:38:13.425Z","repository":{"id":283276521,"uuid":"949848713","full_name":"zigster64/datastar-zig-train","owner":"zigster64","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-23T07:57:18.000Z","size":30,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-10T22:26:00.933Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Zig","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/zigster64.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-17T08:36:34.000Z","updated_at":"2025-06-23T07:57:21.000Z","dependencies_parsed_at":"2025-03-19T12:37:39.716Z","dependency_job_id":null,"html_url":"https://github.com/zigster64/datastar-zig-train","commit_stats":null,"previous_names":["zigster64/datastar-zig-train"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zigster64/datastar-zig-train","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigster64%2Fdatastar-zig-train","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigster64%2Fdatastar-zig-train/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigster64%2Fdatastar-zig-train/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigster64%2Fdatastar-zig-train/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zigster64","download_url":"https://codeload.github.com/zigster64/datastar-zig-train/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zigster64%2Fdatastar-zig-train/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28057570,"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-12-26T02:00:06.189Z","response_time":55,"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":"2025-12-26T17:31:32.289Z","updated_at":"2025-12-26T17:31:32.841Z","avatar_url":"https://github.com/zigster64.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# datastar-zig-train\n\nTraining app for learning Datastar ... and maybe updating the Zig SDK\n\n## Hacks - Datastar SDK\n\nImplemented a PoC of just the MergeFragments part of the Datastar SDK\n\nThis one presents a MergeFragments object that can provide a std Writer interface, that knows \nhow to wrap its data as a D* MergeFragment protocol packet\n\nPretty simple\n\nI might take this further (after this experiment), and do the same thing with the whole SDK\n\nAlso - implemented this using generics / anytype, so the resultant SDK shouldnt need to have \nany deps at all. The compiler should just work it out at comptime based on what type of \nreq Object you pass to the SDK\n\n## Hacks - http.zig modification\n\nSmall hack to the `req.startEventStream()` function - this now takes no params, and returns the stream\nafter setting it up for SSE, and writing the initial header\n\nThe returned stream is still in non-blocking mode\n\nActually seems to work !\n\n## Hacks - Merge in Tardy (lib behind zzz)\n\nNow, after the App code starts handling the /hello request with an SSE response, I want to \nhand this off to a coroutine, using the Tardy package\n\nInteresting - because Tardy is derived from zzz, so we have come full circle here :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzigster64%2Fdatastar-zig-train","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzigster64%2Fdatastar-zig-train","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzigster64%2Fdatastar-zig-train/lists"}