FChannel0 / FChannel-Server Public
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
Protocol specification? #9
Comments
|
On my platform: thread { reply { I imagine I can import remote threads as belonging to just a single tag, like "Technology" or "Random". I can imagine exporting posts and taking the first tag. Or just exporting as "random". |
|
Another question, how is the fact that on different chans different media types are allowed dealt with? |
|
Last (probably) question, how is the status of locked/archived threads synchronized? |
|
incoming POST request outgoing POST request thread object reply object When processing incoming or making outgoing POST requests the thread/reply objects are wrapped in an activitystream. |
Each instance stores their own media and only the media url is stored in remote instances.
That can work, to get the boards (actors) names just make a request with content-type application/activity+json and parse the json to get the boards(actors) prefered name to tag. For example if you make a get request with content-type header application/activity+json to https://fchan.xyz/prog you will get all its information in json form, for summary or tagging purposes
when you parse the json object, with examples above if the "mediatype" is not one you support just ignore it and dont embed it. So above if you parse "mediatype" which is "image/jpeg" and you do not support image/jpeg just ingore the media
activitypub objects become tombstoned when they are locked/removed so if you come across and object that is type "Tombstone" you should not allow interaction with it. I am going to add custom object types such as archived and sticky but those are not implemented yet. let me know if you need more clarification or something expanded upon |
It seems like instead of a "creation" object, an "activity" object would be perfect for this. |
|
Ok, I think I've got something. other chans: one board per topic, boards are "actors" Each actor gets its own I/O endpoint url Activities: {hidden, revealed, pinned, unpinned, removed, archived, locked, unlocked, edited} |
I'm working on a new type of forum, but it's pretty incompatible with typical "chan" code. However, I want to make it federate with Fchans. It seems you follow this spec: https://www.w3.org/TR/activitypub/#Overview
So what does an incoming "post" from another instance to mine look like?
What does an outgoing "post" from my instance to another look like?
idem dito for a reply.
Do you mirror media, or fetch it from the other instance somehow?
The text was updated successfully, but these errors were encountered: