{"id":19670214,"url":"https://github.com/mcpt/event-server","last_synced_at":"2026-05-15T04:03:46.436Z","repository":{"id":130349779,"uuid":"354419344","full_name":"mcpt/event-server","owner":"mcpt","description":"Partial implementation of the DMOJ event server","archived":false,"fork":false,"pushed_at":"2021-04-04T00:17:01.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-27T04:48:29.790Z","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/mcpt.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":"2021-04-04T00:00:30.000Z","updated_at":"2021-04-04T00:17:03.000Z","dependencies_parsed_at":"2023-05-12T04:45:48.826Z","dependency_job_id":null,"html_url":"https://github.com/mcpt/event-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mcpt/event-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcpt%2Fevent-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcpt%2Fevent-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcpt%2Fevent-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcpt%2Fevent-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mcpt","download_url":"https://codeload.github.com/mcpt/event-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcpt%2Fevent-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33053146,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-15T02:00:06.351Z","response_time":103,"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":"2024-11-11T17:05:17.045Z","updated_at":"2026-05-15T04:03:46.418Z","avatar_url":"https://github.com/mcpt.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Event Server\n\nThis is a partial implementation of the WebSockets [event server](https://github.com/DMOJ/online-judge/blob/master/websocket/daemon.js) created by DMOJ. Unlike the original, it does not support slow polling and only accepts WebSockets connections.\n\n## Install\n\nTo install, clone the repository and run `npm i`.\n\n```\ngit clone https://github.com/mcpt/event-server.git\ncd event-server\nnpm i\n```\n\n## Configure\n\nFollow the [DMOJ docs](https://docs.dmoj.ca/#/site/installation?id=configuration-of-event-server), but instead of using the one provided in the `websockets` directory, use this instead.\n\nThe configuration (`config.js`) should look something like:\n\n```js\nmodule.exports = {\n\tsubscriber: {\n\t\thost: '127.0.0.1',\n\t\tport: 15100\n\t},\n\tpublisher: {\n\t\thost: '127.0.0.1',\n\t\tport: 15101\n\t}\n}\n```\n\nThe subscriber should match the nginx settings, while the publisher should match `EVENT_DAEMON_POST` in `local_settings.py`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcpt%2Fevent-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcpt%2Fevent-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcpt%2Fevent-server/lists"}