{"id":20809916,"url":"https://github.com/rayyannafees/astro-reveal","last_synced_at":"2025-07-09T23:32:46.371Z","repository":{"id":214872651,"uuid":"737547879","full_name":"RayyanNafees/astro-reveal","owner":"RayyanNafees","description":"RevealJS client app hosted on Astro Server via Server Sent Events","archived":false,"fork":false,"pushed_at":"2024-01-04T11:29:38.000Z","size":116,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T04:28:15.857Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Astro","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/RayyanNafees.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":"2023-12-31T13:25:25.000Z","updated_at":"2023-12-31T13:26:53.000Z","dependencies_parsed_at":"2023-12-31T15:28:08.626Z","dependency_job_id":"e121db33-59b2-48af-a26f-a5ee49d6d436","html_url":"https://github.com/RayyanNafees/astro-reveal","commit_stats":null,"previous_names":["rayyannafees/astro-reveal"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RayyanNafees/astro-reveal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RayyanNafees%2Fastro-reveal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RayyanNafees%2Fastro-reveal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RayyanNafees%2Fastro-reveal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RayyanNafees%2Fastro-reveal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RayyanNafees","download_url":"https://codeload.github.com/RayyanNafees/astro-reveal/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RayyanNafees%2Fastro-reveal/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264505263,"owners_count":23618911,"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-11-17T20:18:18.797Z","updated_at":"2025-07-09T23:32:46.356Z","avatar_url":"https://github.com/RayyanNafees.png","language":"Astro","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 03_sse-counter\n[../03_sse-counter](../03_sse-counter)\n\n* integration : [@astrojs/node](https://docs.astro.build/en/guides/integrations-guide/node/)\n* adapter : node-standalone\n* [Server Endpoints](https://docs.astro.build/en/core-concepts/endpoints/#server-endpoints-api-routes)\n* [ReadableStream](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream)\n* remove Listener on cancel () thanks to https://github.com/0xk1f0/astro-sse-example\n\nSSE: Server Sent Events. global var using a timer and Emitter\n\nServer keeps couter state. reloading the page has no effect on the counter\n\nrequires Node18 for ReadableStream(), currently only on Gitpod\n\n\u003cimg src=\"../media/03_sse-counter.drawio.svg\" width=\"700\"\u003e\n\n\u003cimg src=\"../media/03_sse-counter.png\" width=\"400\"\u003e\n\n[![open in Gitpod](../media/gitpod.svg)](https://gitpod.io/?on=gitpod#https://github.com/MicroWebStacks/astro-examples/tree/main/03_sse-counter)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frayyannafees%2Fastro-reveal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frayyannafees%2Fastro-reveal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frayyannafees%2Fastro-reveal/lists"}