Sunrise
๐ Sunrise - osu! server written in C#
Install / Use
/learn @SunriseCommunity/SunriseREADME
๐ Sunrise - osu! private server
<p align="center"> <img src="./.github/readme.jpg" alt="Artwork made by torekka. We don't own the rights to this image."> </p>Sunrise is a private server for osu! written in C#. This repository has both endpoints for game-client and for the website. The server is currently in development and is not yet ready for public use.
[!NOTE] Want to help? Have a question? :shipit: Feel free then to join our Discord server, there you can ask any question to maintainers of this project!
๐ผ๏ธ Preview

Features ๐
Core features
- [x] Login and registration system
- [x] Score submission and leaderboards
- [x] Chat implementation
- [x] Chat Bot (as a replacement for Bancho Bot)
- [x] Multiplayer
- [x] !mp commands (mostly)
- [x] Server website (located at Sunset)
- [x] Support for non-standard gamemodes (e.g. Relax, Autopilot, ScoreV2)
- [x] Custom beatmap status system
- [x] osu!Direct
- [x] Spectating
- [x] Beatmap hype system
- [x] Achievements (Medals)
- [x] Rank snapshots
- [x] Ability to upload custom server backgrounds
- [x] Version enforcement for the osu! clients
Additional features
- [x] Automated tests (unit and integration)
- [x] Telemetry system with Prometheus, Loki and Tempo
- [x] Rate limiter for both internal and external requests
- [x] Redis caching for faster response times
- [x] Docker support
- [x] Database migrations
- [x] Database backups
[!IMPORTANT] The list of features is in priority order. The higher the feature is, the more important it is.
Installation Using Solar System Orchestrator (Recommended, Docker) ๐
If you are planning to host your own instance of Sunrise, please highly consider using the Solar System orchestrator.

It includes Sunrise and other all required services for a fully functional Sunrise server. As a bonus, it also includes a website and a Discord bot!
This is the recommended way to set up your Sunrise server without the need to manually set up each service.
If you are looking for the official documentation, please refer to docs.sunrize.uk.
Standalone installation with self-signed certificate (Docker) ๐ณ
- Clone the repository
- Open the project's folder in any CLI environment.
- Set up production environment
-
Create the file
Sunrise.Server/appsettings.Production.jsonand fill it following theSunrise.Server/appsettings.Production.json.exampleexample.cp Sunrise.Server/appsettings.Production.json.example Sunrise.Server/appsettings.Production.json -
Set the environment variables in the
.envfile.cp .env.example .env
-
[!WARNING] Make sure to update
WEB_DOMAINandAPI_TOKEN_SECRETvalues!
- Set up the beatmap manager by following the instructions in
the Observatory repository. After setting up the beatmap manager,
you need to set the
General:ObservatoryUrlin theSunrise.Server/appsettings.Production.jsonfile to the address of the beatmap manager.- NB: Make sure that the PORT is defined properly (sunrise checks port 3333 by default) and POSTGRES_PORT value doesn't conflict with other PC ports.
- โ ๏ธ Please create
sunrise.pfxfile and move it toSunrise/sunrise.pfxfolder, for more instructions follow Local connection โ๏ธ. - Start server by running:
docker compose -f docker-compose.yml up -d - (Optional) If you want to connect to the server locally, please refer to the Local connection โ๏ธ section.
[!TIP] Your final docker setup should look like this:
Development installation โ๏ธ
- Clone the repository
- Open the project's folder in any CLI environment.
- Set up development environment by running:
docker compose -f docker-compose.dev.yml up -d - Set up the beatmap manager by following the instructions in
the Observatory repository. After setting up the beatmap manager,
you need to set the
General:ObservatoryUrlin theSunrise.Server/appsettings.{Your Environment}.jsonfile to the address of the beatmap manager.- NB: Make sure that the PORT is defined properly (sunrise checks port 3333 by default) and POSTGRES_PORT value doesn't conflict with other PC ports.
- โ ๏ธ Please create
sunrise.pfxfile and move it toSunrise/sunrise.pfxfolder, for more instructions follow Local connection โ๏ธ. - Run the project
- (Optional) If you want to connect to the server locally, please refer to the Local connection โ๏ธ section.
Local connection โ๏ธ
If you want to connect to the server locally, follow these steps:
-
Add a launch argument
-devserver sunrise.localto your osu! shortcut. -
Open the
hostsfile located inC:\Windows\System32\drivers\etc\hosts(C:\ is your system drive) with a text editor and add the following line:... (rest of the file) # Sunrise Web Section 127.0.0.1 sunrise.local 127.0.0.1 api.sunrise.local # Sunrise osu! Section 127.0.0.1 osu.sunrise.local 127.0.0.1 a.sunrise.local 127.0.0.1 c.sunrise.local 127.0.0.1 assets.sunrise.local 127.0.0.1 cho.sunrise.local 127.0.0.1 c4.sunrise.local 127.0.0.1 b.sunrise.local
[!WARNING] Don't forget to save the file after editing.
-
Generate a self-signed certificate for the domain
sunrise.localby running the following commands in the terminal:openssl req -x509 -newkey rsa:4096 -sha256 -days 3650 -nodes -keyout sunrise.local.key -out sunrise.local.crt -subj "/CN=sunrise.local" -addext "subjectAltName=DNS:sunrise.local,DNS:*.sunrise.local,IP:10.0.0.1" -
Convert the certificate to the PKCS12 format (for ASP.Net) by running the following command in the terminal:
openssl pkcs12 -export -out sunrise.pfx -inkey sunrise.local.key -in sunrise.local.crt -password pass:password -
Import the certificate to the Trusted Root Certification Authorities store by running the following command in the terminal:
certutil -addstore -f "ROOT" sunrise.local.crt -
Move the generated
sunrise.pfxfile to theSunrisedirectory. -
Run the server and navigate to
https://api.sunrise.local/docsto check if the server is running.
Dependencies ๐ฆ
Contributing ๐
If you want to contribute to the project, feel free to fork the repository and submit a pull request. We are open to any suggestions and improvements.
Related Skills
node-connect
347.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.2kQQBot ๅฏๅชไฝๆถๅ่ฝๅใไฝฟ็จ <qqmedia> ๆ ็ญพ๏ผ็ณป็ปๆ นๆฎๆไปถๆฉๅฑๅ่ชๅจ่ฏๅซ็ฑปๅ๏ผๅพ็/่ฏญ้ณ/่ง้ข/ๆไปถ๏ผใ
