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

Consider connecting to the fediverse #12

Closed
GrosSacASac opened this issue Apr 18, 2019 · 8 comments
Closed

Consider connecting to the fediverse #12

GrosSacASac opened this issue Apr 18, 2019 · 8 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@GrosSacASac
Copy link

https://peertube.social/videos/watch/d9bd2ee9-b7a4-44e3-8d65-61badd15c6e6
ActivityPub https://www.w3.org/TR/activitypub/

@littledivy
Copy link
Collaborator

Wonderful! Soon start working on that...

@littledivy
Copy link
Collaborator

I had no idea about activity streams..
Please tell me how to implement them on Nodejs

@GrosSacASac
Copy link
Author

I can help you later this weekend, I am also new to this topic so I am reading the documentation still.

@GrosSacASac
Copy link
Author

Some notes, as far as I understand:

To be activitypub compatible we need to have an HTTP endpoints that accepts well defined POST GET requests
with an activity as the body.

An activity or action defined http://w3c.github.io/activitystreams/core/

uses   MIME media type "application/activity+json"
is encoded with utf-8
is a JSON-LD with a context "https://www.w3.org/ns/activitystreams"

the time format  used is defined https://tools.ietf.org/html/rfc3339#section-5.6
(seconds may be omitted)
for example 2019-05-23T16:00:01Z

vocabulary is defined https://w3c.github.io/activitystreams/vocabulary/

example:

const activity = {
  "@context": "https://www.w3.org/ns/activitystreams",
  "summary": "A note",
  "type": "Note",
  "content": "My dog has fleas."
};

@littledivy
Copy link
Collaborator

Well,
I got this https://github.com/GetStream/stream-node-orm

@littledivy littledivy added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels May 19, 2019
@dan-online
Copy link
Member

@GrosSacASac you are also welcome to create a pr and we can work on this there

@GrosSacASac
Copy link
Author

Thanks, I don't have much time in the near future but I'll see what I can do

@dan-online
Copy link
Member

I'll close this issue for now but we can always revisit this later!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants