{"id":28513821,"url":"https://github.com/livepeer/current-viewers","last_synced_at":"2025-10-24T07:10:36.494Z","repository":{"id":227996967,"uuid":"661848855","full_name":"livepeer/current-viewers","owner":"livepeer","description":"Overlay for current viewers of a Catalyst stream","archived":false,"fork":false,"pushed_at":"2023-07-03T19:50:18.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-06-30T02:49:01.941Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/livepeer.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}},"created_at":"2023-07-03T19:50:01.000Z","updated_at":"2023-07-03T19:50:23.000Z","dependencies_parsed_at":"2024-03-22T14:51:10.411Z","dependency_job_id":null,"html_url":"https://github.com/livepeer/current-viewers","commit_stats":null,"previous_names":["livepeer/current-viewers"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/livepeer/current-viewers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livepeer%2Fcurrent-viewers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livepeer%2Fcurrent-viewers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livepeer%2Fcurrent-viewers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livepeer%2Fcurrent-viewers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/livepeer","download_url":"https://codeload.github.com/livepeer/current-viewers/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livepeer%2Fcurrent-viewers/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263467743,"owners_count":23471120,"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":"2025-06-09T01:08:01.656Z","updated_at":"2025-10-24T07:10:31.473Z","avatar_url":"https://github.com/livepeer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# current-viewers\n\nSingle-file JavaScript that queries Prometheus/Grafana for the current number of\nviewers of a stream in a Catalyst node and exposes an overlay suitable for\nincluding in OBS.\n\n### Usage\n\n```\nGRAFANA_SERVICE_TOKEN=\"CHANGEME\" \\\nGRAFANA_DATASOURCE_UID=\"CHANGEME\" \\\nGRAFANA_QUERY_URL=\"https://example.com/grafana/api/ds/query\" \\\nGRAFANA_ORG_ID=\"1\" \\\nnode current-viewers.mjs\n```\n\nThen you can access the overlay at http://localhost:1730/PLAYBACK_ID.html. If\nyou want to query the data yourself, it's at\nhttp://localhost:1730/PLAYBACK_ID.json\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flivepeer%2Fcurrent-viewers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flivepeer%2Fcurrent-viewers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flivepeer%2Fcurrent-viewers/lists"}