{"id":19777174,"url":"https://github.com/ppy/osu-server-spectator","last_synced_at":"2025-04-30T19:31:37.178Z","repository":{"id":37966465,"uuid":"305634395","full_name":"ppy/osu-server-spectator","owner":"ppy","description":"osu! spectator server","archived":false,"fork":false,"pushed_at":"2024-05-23T02:53:01.000Z","size":1159,"stargazers_count":65,"open_issues_count":9,"forks_count":13,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-05-23T05:32:25.289Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/ppy.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":"2020-10-20T08:04:23.000Z","updated_at":"2024-06-25T07:55:28.563Z","dependencies_parsed_at":"2024-01-14T19:05:02.773Z","dependency_job_id":"94a34e6a-d7d2-465d-8f6e-bb21154a8cf6","html_url":"https://github.com/ppy/osu-server-spectator","commit_stats":null,"previous_names":[],"tags_count":60,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppy%2Fosu-server-spectator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppy%2Fosu-server-spectator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppy%2Fosu-server-spectator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppy%2Fosu-server-spectator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ppy","download_url":"https://codeload.github.com/ppy/osu-server-spectator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224221696,"owners_count":17275896,"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-12T05:23:29.592Z","updated_at":"2025-04-30T19:31:37.171Z","avatar_url":"https://github.com/ppy.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# osu-server-spectator [![dev chat](https://discordapp.com/api/guilds/188630481301012481/widget.png?style=shield)](https://discord.gg/ppy)\n\nA server that handles incoming and outgoing spectator data, for active players looking to watch or broadcast to others.\n\n# Testing\n\nTo deploy this as part of a full osu! server stack deployment, [this wiki page](https://github.com/ppy/osu/wiki/Testing-web-server-full-stack-with-osu!) will serve as a good reference.\n\n## Environment variables\n\nFor advanced testing purposes.\n\n| Envvar name | Description | Default value     |\n| :- | :- |:------------------|\n| `SAVE_REPLAYS` | Whether to save received replay frames from clients to replay files. `1` to enable, any other value to disable. | `\"\"` (disabled)   |\n| `REPLAY_UPLOAD_THREADS` | Number of threads to use when uploading complete replays. Must be positive number. | `1`               |\n| `REPLAYS_PATH` | Local path to store complete replay files (`.osr`) to. Only used if [`FileScoreStorage`](https://github.com/ppy/osu-server-spectator/blob/master/osu.Server.Spectator/Storage/FileScoreStorage.cs) is active. | `./replays/`      |\n| `S3_KEY` | An access key ID to use for uploading replays to [AWS S3](https://aws.amazon.com/s3/). Only used if [`S3ScoreStorage`](https://github.com/ppy/osu-server-spectator/blob/master/osu.Server.Spectator/Storage/S3ScoreStorage.cs) is active. | `\"\"`              |\n| `S3_SECRET` | The secret access key to use for uploading replays to [AWS S3](https://aws.amazon.com/s3/). Only used if [`S3ScoreStorage`](https://github.com/ppy/osu-server-spectator/blob/master/osu.Server.Spectator/Storage/S3ScoreStorage.cs) is active. | `\"\"`              |\n| `REPLAYS_BUCKET` | The name of the [AWS S3](https://aws.amazon.com/s3/) bucket to upload replays to. Only used if [`S3ScoreStorage`](https://github.com/ppy/osu-server-spectator/blob/master/osu.Server.Spectator/Storage/S3ScoreStorage.cs) is active. | `\"\"`              |\n| `TRACK_BUILD_USER_COUNTS` | Whether to track how many users are on a particular build of the game and report that information to the database at `DB_{HOST,PORT}`. `1` to enable, any other value to disable. | `\"\"` (disabled)   |\n| `SERVER_PORT` | Which port the server should listen on for incoming connections. | `80`              |\n| `REDIS_HOST` | Connection string to `osu-web` Redis instance. | `localhost`       |\n| `DD_AGENT_HOST` | Hostname under which the [Datadog](https://www.datadoghq.com/) agent host can be found. | `localhost`       |\n| `DB_HOST` | Hostname under which the `osu-web` MySQL instance can be found. | `localhost`       |\n| `DB_PORT` | Port under which the `osu-web` MySQL instance can be found. | `3306`            |\n| `DB_USER` | Username to use when logging into the `osu-web` MySQL instance. | `osuweb`          |\n| `SENTRY_DSN` | A valid Sentry DSN to use for logging application events. | `null` (required in production) |\n| `SHARED_INTEROP_DOMAIN` | The root URL of the osu-web instance to which shared interop calls should be submitted | `http://localhost:80` |\n| `SHARED_INTEROP_SECRET` | The value of the same environment variable that the target osu-web instance specifies in `.env`. | `null` (required) |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fppy%2Fosu-server-spectator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fppy%2Fosu-server-spectator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fppy%2Fosu-server-spectator/lists"}