Skip to content

fix(template): repair broken Discord badge in the default project template - #403

Open
danilaverbena wants to merge 1 commit into
genlayerlabs:v0.40-devfrom
danilaverbena:fix/template-discord-badge-host
Open

fix(template): repair broken Discord badge in the default project template#403
danilaverbena wants to merge 1 commit into
genlayerlabs:v0.40-devfrom
danilaverbena:fix/template-discord-badge-host

Conversation

@danilaverbena

Copy link
Copy Markdown

Problem

The Discord badge points at dcbadge.vercel.app, which no longer serves badges — the request returns HTTP 404, so the badge renders as a broken image:

404  https://dcbadge.vercel.app/api/server/8Jm4v89VAu?compact=true&style=flat

The project moved to dcbadge.limes.pink, which keeps the exact same API path and query parameters:

200  https://dcbadge.limes.pink/api/server/8Jm4v89VAu?compact=true&style=flat

(The old host answers 404 to any user agent; the new host returns 200 — it does reject some non-browser agents with 403, which is why a naive checker can miss it.)

Fix

Swap the host, nothing else — same path, same query string, so the badge renders exactly as before:

-[![Discord](https://dcbadge.vercel.app/api/server/8Jm4v89VAu?compact=true&style=flat)](...)
+[![Discord](https://dcbadge.limes.pink/api/server/8Jm4v89VAu?compact=true&style=flat)](...)

The Discord invite link itself is untouched.

Why this one matters a bit more

This README lives in templates/default/, so it is scaffolded into every new project created with the CLI. Right now each generated project ships with a broken Discord badge in its README from the first commit.

Note (not changed here)

The same template block also carries a star-chart badge pointing at yeagerai/genlayer-project-boilerplate / star-history.com/#yeagerai/genlayer-js, which is both the old org and a different repository. I left it alone since it's arguably a separate question for a scaffolded template (a generated project probably shouldn't advertise the boilerplate's stars at all) — happy to fix or drop it in a follow-up if you have a preference.

Docs-only, one line.

dcbadge.vercel.app returns 404 and no longer serves badges, so every project
scaffolded from templates/default started with a broken Discord badge. The
service moved to dcbadge.limes.pink, which keeps the same API path and query
parameters, so this is a host-only swap and the badge renders unchanged.
@github-actions
github-actions Bot changed the base branch from main to v0.40-dev August 1, 2026 18:37
@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown

This PR targeted main, which is only the default/static branch.

I retargeted it to v0.40-dev, the active development branch. Pushes to v0.40-dev automatically fast-forward main.

@coderabbitai

coderabbitai Bot commented Aug 1, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: eebb28c6-0b60-4988-9f38-e8bf76eb234a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

1 participant