Email or username:

Password:

Forgot your password?
Top-level
lionalex

@skobkin @drq

Guys, I'd like to use your expertise a bit :)
I'm totally new in fediverse, and I'd like to create an ActivityPub server with my own content and make it accessible via Mastodon. What should I start from?
What libs do you suggest? (preferable in Go)

11 comments
Alexey Skobkin replied to lionalex

@lionalex @drq
You should ask @grishka about that. He wrote some nice post about basics of ActivityPub for humans.

Considering the libraries, I'm not so sure. I'd start with looking for existing AP projects in Go and checked out which libraries they use.

Григорий Клюшников replied to Alexey

Alexey Skobkin, I was meaning to write about ActivityPub but have never gotten around to doing that. There were two posts by Eugen about building a minimal ActivityPub server in Ruby (but trivially portable to any language). I send links to them to anyone who wants to get started quickly.

Григорий Клюшников replied to Alexey

Alexey Skobkin, one thing to keep in mind tho: they are outdated and if you follow them as is your implementation won't work with modern Mastodon. The Digest header is now required. It's a sha256 of the request body and you need to include it in the signature as well.

lionalex replied to Григорий

@grishka @skobkin @drq

Thank you, guys! Will take a closer look.

What I'm thinking about is a kinda federative media. Someone writes an article on the media's ActivityPub server. The problem here is censorship. The server could be banned by RKN and it would be great to read the article via other servers in the federation.

For instance, it could be a mobile app that connects to a random server (without auth) and use it to get access to the article.

Dr. Quadragon ❌ replied to lionalex

@lionalex Make federated Livejournal

@ludivokrug would be thankful for that

@grishka @skobkin

lionalex replied to Dr. Quadragon ❌

@drq @ludivokrug @grishka @skobkin
That's an option, but the problem is the number of servers and it would be great to utilize existing infrastructure

Alexey Skobkin replied to lionalex

@lionalex @drq @ludivokrug @grishka

I'm not sure if what're you planning to do is the same as for what purpose ActivityPub was created.

Dr. Quadragon ❌ replied to lionalex

@lionalex there's a go-fed library, although some may not be happy about its quality

@skobkin

Go Up