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

Feature Request: Implement Nodeinfo endpoints for federation discovery #16758

Closed
techknowlogick opened this issue Aug 20, 2021 · 2 comments · Fixed by #16953
Closed

Feature Request: Implement Nodeinfo endpoints for federation discovery #16758

techknowlogick opened this issue Aug 20, 2021 · 2 comments · Fixed by #16953
Assignees
Labels
topic/federation type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@techknowlogick
Copy link
Member

Nodeinfo is a way to expose certain metadata about a server for use of discovery regarding functionality of its federation capabilities.

Two endpoints are required:

  1. /.well-known/nodeinfo which informs client where it can find the location of the location of its metadata (including which version of the schema is used)
  2. the endpoint which exposes the metadata in json format according to schema.

Notes:

  • openRegistrations is a required field, but I propose to set to false as default in case someone writes a crawler to discover "open" gitea instances
  • to limit data leakage I also propose to not include the usage field (note it is required so it should be included, but left as empty).

More info:
https://github.com/jhass/nodeinfo
https://github.com/jhass/nodeinfo/tree/main/schemas/2.1
http://nodeinfo.diaspora.software/protocol.html

cc: @pilou-

@techknowlogick
Copy link
Member Author

I claim 2,500€ from the fedeproxy Gitea federation grant for the work I did to create this issue and implement the associated pull request, where 25% will be split among the reviewers, and 25% will go to the project (via opencollective).

@lunny / @lafriks do you approve this? (more info linked here: https://forum.fedeproxy.eu/t/howto-5-000-grant-earmarked-for-gitea-federation/330/17)

@lafriks
Copy link
Member

lafriks commented Sep 28, 2021

I approve

@go-gitea go-gitea locked and limited conversation to collaborators Apr 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
topic/federation type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants