Peertube: Expose node information following the nodeinfo convention

Created on 30 Apr 2018  路  2Comments  路  Source: Chocobozzz/PeerTube

Following some discussion in Pleroma about reporting basic info about a server, there has been some interest for the nodeinfo standard. They seem to be already used by diaspora*, Friendica and Hubzilla, to name a few.

While I know we already have reporting of such info, maybe it could help play nice with other server implementations at some point?

Type

Most helpful comment

I don't really see how it's confusing-- for the wider fediverse, videos are _mostly_ like any kinds of posts.

NodeInfo is generalistic but I think it's a good thing overall; if someone wants to do something _specific_ to PeerTube, he can use the server stats endpoint and it's called videos there. If someone wants to do something _common_ to the fediverse, he can use the nodeinfo endpoint and it will (mostly) work on all servers (Pleroma, Friendica and Hubzilla integrates it) out of the box, including PeerTube.

You could also put in the free-form "metadatas" object something like "postsName" if you'd like, or even go propose something at NodeInfo repository to allow adding a specialized name to "posts" ?

All 2 comments

NodeInfo is a nice thing, but IMHO it's too restricted to social software. Yes we could use localPosts as totalVideos, but it's confusing.

I don't really see how it's confusing-- for the wider fediverse, videos are _mostly_ like any kinds of posts.

NodeInfo is generalistic but I think it's a good thing overall; if someone wants to do something _specific_ to PeerTube, he can use the server stats endpoint and it's called videos there. If someone wants to do something _common_ to the fediverse, he can use the nodeinfo endpoint and it will (mostly) work on all servers (Pleroma, Friendica and Hubzilla integrates it) out of the box, including PeerTube.

You could also put in the free-form "metadatas" object something like "postsName" if you'd like, or even go propose something at NodeInfo repository to allow adding a specialized name to "posts" ?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

milleniumbug picture milleniumbug  路  3Comments

roipoussiere picture roipoussiere  路  3Comments

JohnXLivingston picture JohnXLivingston  路  3Comments

Nutomic picture Nutomic  路  3Comments

sschueller picture sschueller  路  3Comments