Projet

Général

Profil

Actions

Demande #4490

fermé

Publier des métadonnées (NodeInfo2, host-meta + ServiceInfo)

Ajouté par pitchum . il y a environ 4 ans. Mis à jour il y a plus de 3 ans.

Statut:
Fermé
Priorité:
Normale
Assigné à:
Début:
16/05/2020
Echéance:
% réalisé:

70%

Temps estimé:
Difficulté:
3 Moyen

Description

NodeInfo2 est un format de méta-données pour rendre publiques des informations concernant le ou les services fédérés disponibles sur un domaine. Cela permet notamment d'alimenter le site the-federation.info qui recense les "nodes" de services fédérés comme mastodon, xmpp et bien d'autres (d'ailleurs pouet.chapril.org y est déjà).

Concrètement pour être recensé il suffit de publier du JSON à l'adresse en /.well-known/x-nodeinfo2.
Exemple chez jabber.fr : https://jabber.fr/.well-known/x-nodeinfo2

À garder à l'esprit, la spécification continue d'évoluer. Des échanges sur le forum feneas (feneas = Federated Networks Association) évoquent certaines évolutions comme la possibilité de déclarer plusieurs services pour un même domaine et aussi d'adopter la RFC6415 Web Host Metadata.
Ces échanges ont abouti à une nouvelle spécification nommée ServiceInfo qui ne semble pas encore vraiment utilisée.

J'ai simulé l'enregistrement de chapril.org et il n'y a pas eu d'appels à /.well-known/host-meta (XRD) ni à /.well-known/host-meta.json (JRD):

95.216.145.65 - - [16/May/2020:08:54:48 +0200] "GET /.well-known/x-nodeinfo2 HTTP/1.1" 301 185 "-" "python/federation/0.20.0-dev" 
95.216.145.65 - - [16/May/2020:08:54:48 +0200] "GET /.well-known/x-nodeinfo2 HTTP/1.1" 404 244 "-" "python/federation/0.20.0-dev" 
95.216.145.65 - - [16/May/2020:08:54:48 +0200] "GET /.well-known/x-nodeinfo2 HTTP/1.1" 301 185 "-" "python/federation/0.20.0-dev" 
95.216.145.65 - - [16/May/2020:08:54:48 +0200] "GET /.well-known/x-nodeinfo2 HTTP/1.1" 301 185 "-" "python/federation/0.20.0-dev" 
95.216.145.65 - - [16/May/2020:08:54:48 +0200] "GET /.well-known/x-nodeinfo2 HTTP/1.1" 404 244 "-" "python/federation/0.20.0-dev" 
95.216.145.65 - - [16/May/2020:08:54:48 +0200] "GET /.well-known/nodeinfo HTTP/1.1" 301 185 "-" "python/federation/0.20.0-dev" 
95.216.145.65 - - [16/May/2020:08:54:48 +0200] "GET /.well-known/nodeinfo HTTP/1.1" 404 244 "-" "python/federation/0.20.0-dev" 
95.216.145.65 - - [16/May/2020:08:54:48 +0200] "GET /.well-known/nodeinfo HTTP/1.1" 301 185 "-" "python/federation/0.20.0-dev" 
95.216.145.65 - - [16/May/2020:08:54:49 +0200] "GET /.well-known/nodeinfo HTTP/1.1" 301 185 "-" "python/federation/0.20.0-dev" 
95.216.145.65 - - [16/May/2020:08:54:49 +0200] "GET /.well-known/nodeinfo HTTP/1.1" 404 244 "-" "python/federation/0.20.0-dev" 
95.216.145.65 - - [16/May/2020:08:54:49 +0200] "GET /api/v1/instance HTTP/1.1" 301 185 "-" "python/federation/0.20.0-dev" 
95.216.145.65 - - [16/May/2020:08:54:49 +0200] "GET /api/v1/instance HTTP/1.1" 200 932 "-" "python/federation/0.20.0-dev" 
95.216.145.65 - - [16/May/2020:08:54:49 +0200] "GET /_matrix/federation/v1/version HTTP/1.1" 301 185 "-" "python/federation/0.20.0-dev" 
95.216.145.65 - - [16/May/2020:08:54:49 +0200] "GET /_matrix/federation/v1/version HTTP/1.1" 200 941 "-" "python/federation/0.20.0-dev" 
95.216.145.65 - - [16/May/2020:08:54:49 +0200] "POST /api/meta HTTP/1.1" 301 185 "-" "python-requests/2.23.0" 
95.216.145.65 - - [16/May/2020:08:54:50 +0200] "GET /api/meta HTTP/1.1" 200 926 "-" "python-requests/2.23.0" 
95.216.145.65 - - [16/May/2020:08:54:50 +0200] "GET /statistics.json HTTP/1.1" 301 185 "-" "python/federation/0.20.0-dev" 
95.216.145.65 - - [16/May/2020:08:54:50 +0200] "GET /statistics.json HTTP/1.1" 404 244 "-" "python/federation/0.20.0-dev" 
95.216.145.65 - - [16/May/2020:08:54:50 +0200] "GET /statistics.json HTTP/1.1" 301 185 "-" "python/federation/0.20.0-dev" 
95.216.145.65 - - [16/May/2020:08:54:50 +0200] "GET /statistics.json HTTP/1.1" 301 185 "-" "python/federation/0.20.0-dev" 
95.216.145.65 - - [16/May/2020:08:54:50 +0200] "GET /statistics.json HTTP/1.1" 404 244 "-" "python/federation/0.20.0-dev" 

Actions

Formats disponibles : Atom PDF