Giter Site home page Giter Site logo

Comments (8)

littledivy avatar littledivy commented on May 18, 2024 1

Wonderful! Soon start working on that...

from spruce.

GrosSacASac avatar GrosSacASac commented on May 18, 2024 1

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

from spruce.

GrosSacASac avatar GrosSacASac commented on May 18, 2024 1

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."
};

from spruce.

littledivy avatar littledivy commented on May 18, 2024

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

from spruce.

littledivy avatar littledivy commented on May 18, 2024

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

from spruce.

dan-online avatar dan-online commented on May 18, 2024

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

from spruce.

GrosSacASac avatar GrosSacASac commented on May 18, 2024

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

from spruce.

dan-online avatar dan-online commented on May 18, 2024

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

from spruce.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.