{"id":30697479,"url":"https://github.com/ppy/osu-server-replay-store","last_synced_at":"2025-09-02T09:10:00.914Z","repository":{"id":312064884,"uuid":"1045000361","full_name":"ppy/osu-server-replay-store","owner":"ppy","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-28T09:31:24.000Z","size":124,"stargazers_count":3,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-28T16:30:35.826Z","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":null,"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,"zenodo":null}},"created_at":"2025-08-26T14:06:52.000Z","updated_at":"2025-08-28T09:31:28.000Z","dependencies_parsed_at":"2025-08-28T16:47:15.136Z","dependency_job_id":null,"html_url":"https://github.com/ppy/osu-server-replay-store","commit_stats":null,"previous_names":["ppy/osu-server-replay-store"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/ppy/osu-server-replay-store","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppy%2Fosu-server-replay-store","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppy%2Fosu-server-replay-store/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppy%2Fosu-server-replay-store/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppy%2Fosu-server-replay-store/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ppy","download_url":"https://codeload.github.com/ppy/osu-server-replay-store/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppy%2Fosu-server-replay-store/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273258303,"owners_count":25073658,"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","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"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":"2025-09-02T09:10:00.396Z","updated_at":"2025-09-02T09:10:00.904Z","avatar_url":"https://github.com/ppy.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# osu-server-replay-store\n\nHandles all replay-related storage.\n\n## Environment variables\n\nFor advanced testing purposes.\n\nThis project supports three environment setups.\nThe choice of the environment is steered by the `ASPNETCORE_ENVIRONMENT` environment variable.\nDepending on environment, the configuration \u0026 config requirements change slightly.\n\n- `ASPNETCORE_ENVIRONMENT=Development`:\n  - Developer exception pages \u0026 API docs (`/api-docs`) are enabled.\n  - Sentry \u0026 Datadog integrations are optional.\n- `ASPNETCORE_ENVIRONMENT=Staging`:\n   - Developer exception pages \u0026 API docs are disabled.\n   - Sentry integration is mandatory.\n   - Datadog integration is optional.\n- `ASPNETCORE_ENVIRONMENT=Production`:\n   - Developer exception pages \u0026 API docs are disabled.\n   - Sentry \u0026 Datadog integrations are mandatory.\n\n| Envvar name                   | Description                                                                                                                                                                                                                                         |              Mandatory?               | Default value |\n|:------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-------------------------------------:|:--------------|\n| `DB_HOST`                     | Hostname under which the `osu-web` MySQL instance can be found.                                                                                                                                                                                     |                 ❌ No                  | `localhost`   |\n| `DB_PORT`                     | Port under which the `osu-web` MySQL instance can be found.                                                                                                                                                                                         |                 ❌ No                  | `3306`        |\n| `DB_USER`                     | Username to use when logging into the `osu-web` MySQL instance.                                                                                                                                                                                     |                 ❌ No                  | `root`        |\n| `DB_PASS`                     | Password to use when logging into the `osu-web` MySQL instance.                                                                                                                                                                                     |                 ❌ No                  | `\"\"`          |\n| `DB_NAME`                     | Name of database to use on the indicated MySQL instance.                                                                                                                                                                                            |                 ❌ No                  | `osu`         |\n| `REDIS_HOST`                     | Host name under which a Redis instance can be found.                                                                                                                                                                                           |                 ❌ No                  | `localhost`         |\n| `REPLAY_STORAGE_TYPE`        | Which type of replay storage to use. Valid values are `local` and `s3`.                                                                                                                                                                            |                ✔️ Yes                 | None          |\n| `REPLAY_CACHE_HOURS`                     | Cache duration for replays, in hours.                                                                                                                                                                                            |                 ❌ No                  | `24`         |\n| `LOCAL_REPLAY_STORAGE_PATH`  | The path of a directory where solo replays should reside.                                                                                                                                                                                 |  ⚠️ If `REPLAY_STORAGE_TYPE=local`   | None          |\n| `LOCAL_LEGACY_REPLAY_STORAGE_PATH`  | The path of a directory where legacy replays should reside.                                                                                                                                                                                 |  ⚠️ If `REPLAY_STORAGE_TYPE=local`   | None          |\n| `S3_ACCESS_KEY`               | A valid Amazon S3 access key ID.                                                                                                                                                                                                                    |    ⚠ If `REPLAY_STORAGE_TYPE=s3`     | None          |\n| `S3_SECRET_KEY`               | The secret key corresponding to the `S3_ACCESS_KEY`.                                                                                                                                                                                                |    ⚠ If `REPLAY_STORAGE_TYPE=s3`     | None          |\n| `S3_REPLAYS_BUCKET_NAME`      | The name of the S3 bucket to use for solo replays.                                                                                                                                                         |    ⚠ If `REPLAY_STORAGE_TYPE=s3`     | None          |\n| `S3_REPLAYS_BUCKET_REGION`    | The name of the region for the replay buckets.                                                                                                                                                                               |    ⚠ If `REPLAY_STORAGE_TYPE=s3`     | None          |\n| `S3_LEGACY_REPLAYS_BUCKET_NAME`     | The name of the S3 bucket to use for legacy replays.                                                                                                                                                                             |    ⚠ If `REPLAY_STORAGE_TYPE=s3`     | None          |\n| `SENTRY_DSN`                  | A valid Sentry DSN to use for logging application events.                                                                                                                                                                                           | ⚠ In staging \u0026 production environment | None          | \n| `DD_AGENT_HOST`               | A hostname pointing to a Datadog agent instance to which metrics should be reported.                                                                                                                                                                |      ⚠ In production environment      | None          |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fppy%2Fosu-server-replay-store","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fppy%2Fosu-server-replay-store","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fppy%2Fosu-server-replay-store/lists"}