Wiki, Changelog, and News
g0v0 implements the three groups of osu! endpoints — wiki, changelog and news — so that the Wiki, Changelog and News overlays of the client show custom content.
Given that these three kinds of content are large in volume and should be maintained separately, g0v0 reads them from specified external repositories and returns them following the osu! API spec, while providing simple caching.
| Feature | Endpoint | Where the client shows it | Content source |
|---|---|---|---|
| Wiki | GET /api/v2/wiki/{locale}/{path} | Wiki overlay | WIKI_REPOSITORY (default ppy/osu-wiki) |
| Wiki images | GET /wiki/images/{path} | Wiki / news banners | WIKI_CONTENT_ROOT of the same repository |
| Changelog | GET /api/v2/changelog, /api/v2/changelog/{stream}/{build}, /{version} | Changelog overlay | CHANGELOG_CONTENT_ROOT of CONTENT_REPOSITORY |
| News | GET /api/v2/news, /api/v2/news/{news} | News overlay | NEWS_CONTENT_ROOT of CONTENT_REPOSITORY |
| Image wrapper | GET /media-url?url=... | Every Markdown | — |
Features
The three content serving paths share the same reading and caching mechanism:
- A single format only. g0v0 always returns Markdown; the HTML format fields of a response are left empty, and the client should handle them as needed.
- GitHub compatible. Text is read from
*_RAW_BASE_URL/{owner}/{repo}/{branch}/{path}and directories are listed through*_LISTING_BASE_URL/repos/{owner}/{repo}/contents/{path}. - Background warm-up. Caches are warmed in the background at startup; repository access problems affect neither the other core features nor the existing content cache.
- Strict handling. An invalid content file is skipped outright; no fallback value is provided.
Wiki
Article layout
The wiki uses the layout of osu-wiki — one file per language, per page:
{WIKI_CONTENT_ROOT}/{path}/{locale}.mdWith the defaults WIKI_REPOSITORY=ppy/osu-wiki, WIKI_BRANCH=master and WIKI_CONTENT_ROOT=wiki.
Paths and redirects
{path} accepts whatever the client can produce — Gameplay/Accuracy, /wiki/Gameplay/Accuracy, Accuracy.md.
When a page does not exist, g0v0 also consults the redirect.yaml of the repository and serves the page after redirection (at the server level).
Page metadata
| Field | Source |
|---|---|
title | The title of the front matter → the first level-1 heading (link text) → derived from the path |
layout | The layout of the front matter; (main_page uses the main page layout) |
tags | The tags of the front matter (inline list or single string) |
subtitle | Title of the parent page; empty when the parent is not an article |
markdown | Passed through as written |
available_locales | The languages found by listing the directory |
Images and /media-url
osu-wiki writes its images as /wiki/shared/... (absolute) or img/... (relative to the article). The client resolves both and rewrites the /wiki/ segment into /wiki/images/, so the server offers:
GET /wiki/images/{path}— returns wiki images.
Pointing at your own repository
# Your own fork or mirror
WIKI_REPOSITORY=your-name/osu-wiki
WIKI_BRANCH=master
WIKI_CONTENT_ROOT=wiki
WIKI_RAW_BASE_URL=https://raw.githubusercontent.com
WIKI_LISTING_BASE_URL=https://api.github.com
# Listing goes through the GitHub API, which is rate limited when unauthenticated
WIKI_GITHUB_TOKEN=ghp_xxxxxxxx
WIKI_FALLBACK_LOCALE=enWIKI_RAW_BASE_URL may also point at a repository of your own, as long as it follows the osu-wiki structure.
Changelog
Directory layout
{CHANGELOG_CONTENT_ROOT}/
streams.json # optional, describes the streams
g0v0/
2026.1009.0-g0v0.json # one file per build
2026.1002.0-g0v0.json
robin/
2026.1015.0-robin.jsonThe directory is the stream name (changelog/g0v0/ is served at /api/v2/changelog/g0v0/...) and the file name is the version of the build.
A build file:
{
"version": "2026.1009.0-g0v0",
"created_at": "2026-10-09 12:00:00 +0000",
"entries": [
{
"type": "add",
"category": "Client",
"title": "Spectator mode",
"message": "Watching a multiplayer room no longer requires a client restart.",
"url": "https://github.com/GooGuTeam/g0v0-server/pull/512"
}
]
}| Key | Required | Notes |
|---|---|---|
version | yes | Both 2026.1009.0 and 2026.1009.0-g0v0 are accepted. A -suffix names the stream, so it has to match the directory |
entries | yes | At least one. |
id | no | Derived from the digits of version. Declare it when two builds spell the same digits |
display_version | no | Defaults to version without the -suffix and any non-numeric characters, which is what the client shows |
created_at | no | Defaults to the date carried by version, at midnight UTC; neither means the build is refused |
users | no | Users on this build, 0 by default. |
youtube_id | no | Video shown above the changelog, as the bare identifier |
An entry requires type, which is one of add, fix or misc, and at least one of title and message. category defaults to Miscellaneous; url, repository, github_url, github_pull_request_id, major, created_at and github_user are also accepted.
Streams
streams.json describes only the streams to be displayed; the list may be top level or under a streams key:
{
"streams": [
{ "name": "g0v0", "id": 1, "display_name": "g0v0", "is_featured": true },
{ "name": "robin", "id": 2, "display_name": "robin" }
]
}namehas to be the directory name, and is limited to lowercase letters, digits and dashes.iddefaults to the position in the list,display_nametoname.- Featured streams are listed first.
user_countis not allowed here. (g0v0 computes the active users of each stream in real time.)- A directory nobody describes still shows up, under the directory name.
- A stream with no builds does not appear.
Three ways to address a build
| Request | Meaning |
|---|---|
GET /api/v2/changelog/{stream}/{build} | A version of a given stream |
GET /api/v2/changelog/{version} | By version; a stream name is also accepted and resolves to its newest build |
GET /api/v2/changelog/{version}?key=id | By build identifier |
Both {build} and {version} accept the version with or without its suffix: when the exact match fails, the lookup is retried against display_version (the version without the -suffix and non-numeric characters), so a 2026.1009.0 link copied out of the client does not 404.
What a response says
- A listing is newest first and always 21 builds per page (
search.limitreports that figure), filtered bystream,from,toandmax_id. - Markdown bodies are returned unless
message_formats[]is sent withoutmarkdown, in which casemessageisnull.message_htmlis alwaysnull. - The single-build endpoints carry
versions.nextandversions.previous(within the same stream); builds listed inside a page do not. streams[]of a listing carriesuser_countandlatest_build; theupdate_streamnested in a build carries the four identifying fields only.usersanduser_countare what the files declare: the server does not track which build a client actually runs.
News
Post format
A post is written the way osu-wiki writes its news/ articles — one Markdown file per post, whose file name without .md is its slug, that is the {news} of /api/v2/news/{news}. Posts may sit in a directory per year, or flat.
---
title: A title
author: GooGuTeam
date: 2026-10-28 08:00:00 +0000
updated: 2026-10-28 09:30:00 +0000
---

The opening paragraph becomes the preview in the listing.| Key | Required | Notes |
|---|---|---|
title | yes | Shown in the listing and the notification |
author | yes | Credited as written |
date | yes | Publication time. Orders the listing, and the post goes public at this moment |
updated | no | Defaults to date |
id | no | Numeric identifier, derived to the second from date when absent |
series | no | Free text for now (not checked against a list); omitted by default |
The first image of the body becomes the listing banner:
/wiki/...or/wiki/images/...→ served by the wiki image endpoint of this server- an absolute
http(s)://URL → used as written - any other relative path → resolved against the content repository
Caching
| What | Lifetime |
|---|---|
| Wiki article text (404 included) | WIKI_CACHE_EXPIRE_SECONDS (300s) |
| Wiki image bytes | WIKI_RESOURCE_CACHE_EXPIRE_SECONDS (3600s); a missing image is remembered for 300s |
| Wiki directory listing / redirects | WIKI_RESOURCE_CACHE_EXPIRE_SECONDS (3600s) |
| Content files (404 included) | CONTENT_CACHE_EXPIRE_SECONDS (300s) |
| Parsed metadata (by blob SHA) | 30 days (the key changes only when the file content changes) |
| Parsed snapshot | CONTENT_INDEX_EXPIRE_SECONDS (600s), refreshed in the background |
| Content directory listing | CONTENT_LISTING_CACHE_EXPIRE_SECONDS (1800s) |
Troubleshooting
| Symptom | Cause and fix |
|---|---|
/api/v2/changelog or /api/v2/news answers 503 | CONTENT_LISTING_BASE_URL is empty (nothing can be listed), or listing the repository failed (rate limit, private repository without a token) |
| The log says "No build ... could be read" | The directory holds files, but all of them failed validation. The log names the file and the field — fix the file, not the server |
| A new post or build does not show up | Wait for CONTENT_INDEX_EXPIRE_SECONDS and CONTENT_LISTING_CACHE_EXPIRE_SECONDS, or clear the matching Redis keys to publish it now |
content or message_html is null | Expected: the server only returns Markdown |
| A post 404s although the file is there | Its date is in the future, or its slug differs from the file name |
| A wiki page 404s although the file is there | Check WIKI_CONTENT_ROOT, the language file name, and the case of the path (repository paths are case sensitive) |
| Wiki images are broken | Images are served by this server: ENABLE_WIKI has to be on, and /wiki/images/... has to resolve |
A browser gets 403 from /media-url | Expected: the endpoint refuses browser requests |