{"id":22546632,"url":"https://github.com/prx/the-count","last_synced_at":"2025-03-28T08:45:56.805Z","repository":{"id":66311044,"uuid":"475524849","full_name":"PRX/the-count","owner":"PRX","description":"System for collecting data related to Exchange events","archived":false,"fork":false,"pushed_at":"2024-12-20T17:00:44.000Z","size":163,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-02-02T09:31:11.509Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://exchange.prx.org","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PRX.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":"2022-03-29T16:18:53.000Z","updated_at":"2024-12-20T17:00:48.000Z","dependencies_parsed_at":"2024-12-20T18:19:22.234Z","dependency_job_id":"743ec450-d2f2-49cc-a012-2b0b1dd3fe5b","html_url":"https://github.com/PRX/the-count","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PRX%2Fthe-count","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PRX%2Fthe-count/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PRX%2Fthe-count/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PRX%2Fthe-count/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PRX","download_url":"https://codeload.github.com/PRX/the-count/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245999320,"owners_count":20707554,"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-12-07T15:08:24.888Z","updated_at":"2025-03-28T08:45:56.783Z","avatar_url":"https://github.com/PRX.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The Count\n\nThe Count is a system for collecting data related to events that happen on [The Exchange](https://github.com/PRX/exchange.prx.org). For example, page views, playback of audio, etc.\n\n### action.js\n\nThis is deployed as an AWS Lambda function as an endpoint of an API Gateway. Requests are made to that endpoint to record events. For example:\n\n`example.com/action.gif?event=view`\n\nEvents are recoded to a Kinesis data stream.\n\n### writer.js\n\nA second Lambda function is triggered by that Kinesis data stream. It reads event data in batches, and writes them out, one event per line, to text files in a file system intended to be processed by [The Castle](https://github.com/PRX/TheCastle).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprx%2Fthe-count","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprx%2Fthe-count","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprx%2Fthe-count/lists"}