Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add a shields badge for gitter.im (Now on matrix)? #9714

Open
SeppPenner opened this issue Nov 5, 2023 · 3 comments
Open

How to add a shields badge for gitter.im (Now on matrix)? #9714

SeppPenner opened this issue Nov 5, 2023 · 3 comments
Labels
question Support questions, usage questions, unconfirmed bugs, discussions, ideas

Comments

@SeppPenner
Copy link

Are you experiencing an issue with...

shields.io

🐞 Description

I have tried to add a badge for a new gitter.im (Matrix) room I created, but it doesn't seem to work as expected:

E.g. ![Matrix](https://img.shields.io/matrix/GeoJsonCircleToPolygon%3Agitter.im) leads to an error:

Matrix

Link to the room is https://matrix.to/#/#GeoJsonCircleToPolygon:gitter.im

🔗 Link to the badge

![Matrix](https://img.shields.io/matrix/GeoJsonCircleToPolygon%3Agitter.im)

💡 Possible Solution

A description on how to handle gitter.im after the changes to matrix network.

@SeppPenner SeppPenner added the question Support questions, usage questions, unconfirmed bugs, discussions, ideas label Nov 5, 2023
@chris48s
Copy link
Member

chris48s commented Nov 5, 2023

So I think based on what you've posted, I'd expect the correct badge URL to be https://img.shields.io/matrix/GeoJsonCircleToPolygon%3Agitter.im?server_fqdn=matrix.to but that doesn't work for a different reason: We hit a 405 Method Not Allowed trying to POST to https://matrix.to/_matrix/client/r0/register?kind=guest . I expect that probably means matrix.to doesn't allow guest accounts, which are necessary for this badge to work.

There is a bit more info on this at https://shields.io/badges/matrix

I don't think I can provide any more help on this though. I don't use either matrix or gitter myself.

@SeppPenner
Copy link
Author

@chris48s Still thank you for your tries. I have no idea either how to handle this...

@t3chguy
Copy link

t3chguy commented May 7, 2024

We hit a 405 Method Not Allowed trying to POST to matrix.to/_matrix/client/r0/register?kind=guest . I expect that probably means matrix.to doesn't allow guest accounts, which are necessary for this badge to work.

matrix.to isn't a Matrix server, just a tiny stateless SPA

server_fqdn=gitter.im would be ideal but that server doesn't allow guests, so you'd need actual credentials for it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Support questions, usage questions, unconfirmed bugs, discussions, ideas
Projects
None yet
Development

No branches or pull requests

3 participants