Skip to content

feat: add redirection support for demonlist via /demonlist/levelid/<level_id>#355

Open
jhk1090 wants to merge 1 commit into
stadust:masterfrom
jhk1090:master
Open

feat: add redirection support for demonlist via /demonlist/levelid/<level_id>#355
jhk1090 wants to merge 1 commit into
stadust:masterfrom
jhk1090:master

Conversation

@jhk1090

@jhk1090 jhk1090 commented Jun 26, 2026

Copy link
Copy Markdown

Adding a redirection route for /demonlist/levelid/<level_id>. This behaves identically to the current /demonlist/permalink/<demon_id> behavior (redirecting to the current position).

It would improve developer and user experience, making it easier to share or link to specific demons programmatically.

Why this is needed:

  1. Fixes Broken Links due to Rank Fluctuations: Currently, referencing a demon by its list position (e.g., /demonlist/1/) is unreliable because the leaderboard is dynamic. When new top demons are added or placements shift, the old URL points to a completely different level.
  2. True Immutable Permalink: In contrast to internal demon_id, Geometry Dash's level_id is an immutable, universally recognized identifier within the community. Utilizing it as a redirection route guarantees a permanent, unbreakable link to a specific demon, regardless of future rank variations.

Example:

  • Request: https://pointercrate.com/demonlist/levelid/127323087 (127323087 is Society's level id)
  • Behavior: Redirects to the current demon page (e.g., https://pointercrate.com/demonlist/1/)

It resolves #354

License Acceptance

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Add redirection support for demonlist via /demonlist/levelid/<level_id>

1 participant