Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Fedify — ActivityPub 서버 프레임워크
Search
Hong Minhee (洪 民憙)
November 22, 2024
Programming
1
13
Fedify — ActivityPub 서버 프레임워크
Open Contribution Jam 2024에서 Fedify 프로젝트에 대한 소개
Hong Minhee (洪 民憙)
November 22, 2024
Tweet
Share
More Decks by Hong Minhee (洪 民憙)
See All by Hong Minhee (洪 民憙)
여러 .NET 구현과 플랫폼을 두루 지원하는 라이브러리 (오픈 소스로) 만들기
minhee
3
990
첫 이더리움 스마트 콘트랙트 개발 이야기
minhee
1
1.2k
파이썬과 다이아스포라
minhee
3
2.1k
Python and Diaspora
minhee
2
400
RPC 프레임워크 제작 삽질기
minhee
7
2.5k
All docs lead to Sphinx
minhee
3
6.5k
유니코드 스터디
minhee
9
2.1k
하스켈과 타입
minhee
2
1.1k
Geofront 개발 후기: Python 2와 작별하고 Python 3로 개발하기
minhee
11
3k
Other Decks in Programming
See All in Programming
Laravel や Symfony で手っ取り早く OpenAPI のドキュメントを作成する
azuki
2
120
Streams APIとTCPフロー制御 / Web Streams API and TCP flow control
tasshi
2
350
[Do iOS '24] Ship your app on a Friday...and enjoy your weekend!
polpielladev
0
110
AWS Lambdaから始まった Serverlessの「熱」とキャリアパス / It started with AWS Lambda Serverless “fever” and career path
seike460
PRO
1
260
色々なIaCツールを実際に触って比較してみる
iriikeita
0
330
LLM生成文章の精度評価自動化とプロンプトチューニングの効率化について
layerx
PRO
2
190
ふかぼれ!CSSセレクターモジュール / Fukabore! CSS Selectors Module
petamoriken
0
150
Duckdb-Wasmでローカルダッシュボードを作ってみた
nkforwork
0
130
Make Impossible States Impossibleを 意識してReactのPropsを設計しよう
ikumatadokoro
0
230
CSC509 Lecture 11
javiergs
PRO
0
180
Tauriでネイティブアプリを作りたい
tsucchinoko
0
370
とにかくAWS GameDay!AWSは世界の共通言語! / Anyway, AWS GameDay! AWS is the world's lingua franca!
seike460
PRO
1
890
Featured
See All Featured
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
How GitHub (no longer) Works
holman
310
140k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
25
1.8k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
1.9k
Bash Introduction
62gerente
608
210k
4 Signs Your Business is Dying
shpigford
180
21k
Agile that works and the tools we love
rasmusluckow
327
21k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.7k
Statistics for Hackers
jakevdp
796
220k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
42
9.2k
Raft: Consensus for Rubyists
vanstee
136
6.6k
Transcript
ഘ൞ (hongminhee.org) Fedify ActivityPub ࢲߡ ۨਕ
ࣗ࣍ ٣য അ ঔഋ ۖಬ ೠ҅ • ױੌ ӝস Ѿী
ઓ • Twitter → X۽ ߸҃ • Facebook झ ରױ (ഐ·நա) • ࢲ࠺झ р ࣗా ࠛоמ • Facebook ࢎਊח X ѱदޛী ؆Ӗਸ ׳ ࣻ হ • Instagram ࢎਊח YouTube ز࢚ী ߈ਸ թӡ ࣻ হ • цझ۞ ࢲ࠺झ ױ • Google+ ઙܐ (2019֙) • Vine ઙܐ (2016֙)
ಕ٣ߡझ(fediverse)ۆ? ఎঔചػ ࣗ࣍ ٣য ࣁ҅ • Fediverse = federated +
universe • ೠҴীࢲח “ো”ۄҊب ࠛܿ • ݫੌۢ زೞח ࣗ࣍ ٣য • @
[email protected]
↔ @
[email protected]
• ־ҳա न ࢲߡܳ оמ • ݃ী ٘ח ࢲߡܳ ࢶఖ೧ оੑ • ܲ ࢲߡ ࢎਊٜҗ ਬ܂ѱ ࣗా
ಕ٣ߡझ അ নೠ ࢲ࠺झٜ ೞա۽ োѾ • Mastodon • о
ੋӝ ח ݃۽࠶۽Ӓ (ಕ٣ߡझ౸ X) • 800݅ ࢎਊ • Meta Threads • Instagramҗ োز • ӝఋ ࢲ࠺झٜ • Pixelfed (ࢎ, ಕ٣ߡझ౸ Instagram) • PeerTube (ز࢚, ಕ٣ߡझ౸ YouTube) • Lemmy (ನۢ, ಕ٣ߡझ౸ Reddit)
ಕ٣ߡझ അ নೠ ࢲ࠺झٜ ೞա۽ োѾ • Mastodon • о
ੋӝ ח ݃۽࠶۽Ӓ (ಕ٣ߡझ౸ X) • 800݅ ࢎਊ • Meta Threads • Instagramҗ োز • ӝఋ ࢲ࠺झٜ • Pixelfed (ࢎ, ಕ٣ߡझ౸ Instagram) • PeerTube (ز࢚, ಕ٣ߡझ౸ YouTube) • Lemmy (ನۢ, ಕ٣ߡझ౸ Reddit)
ActivityPub ࣗѐ ಕ٣ߡझܳ оמೞѱ ೞח ળ • W3C ળ ۽ష
(2018֙ थੋ) • Social Web Working Group Ѿҗޛ • JSON-LD ӝ߈ ഛ оמೠ যൃ { "@context": "https: / / www.w3.org/ns/activitystreams", "type": "Note", "content": "Hello, World!", "to": "https: / / www.w3.org/ns/activitystreams#Public" }
ActivityPub ӝࣿ ౠ ঘఠ৬ ঘ౭࠺౭ • ݽٚ ࢚ഐਊ ঘ౭࠺౭۽ അؽ
• Ӗॳӝ → Create(Note) • ౹۽ → Follow • જইਃ → Like • HTTP۽ ాन • п ঘఠח Ҋਬೠ ࣻनೣ(inbox)ਸ о • ࢲݺػ HTTP POST ਃਵ۽ ׳
ActivityPub ࢲߡ ҳഅ য۰ ৵ Fedifyо ਃೠо • ࠂೠ ۽ష
• WebFinger, HTTP Signatures, JSON-LD… • ࠁউ ҳഅ য۰ • ࢲݺ Ѩૐ, ః ҙܻ, ӂೠ ഛੋ… • ࢚ഐਊࢿ • Mastodon ١җ ഐജࢿ • ҳഅ߹ ର
Fedify ࣗѐ TypeScript/JavaScript۽ ݅٘ח ಕ٣ߡझ federation.setActorDispatcher("/users/{identifier}", async (ctx, identifier) =
> { return new Person({ id: ctx.getActorUri(identifier), name: "John Doe", preferredUsername: identifier, inbox: ctx.getInboxUri(identifier), }); }); • Node.js, Deno, Bun ਗ • Express, Fresh, Hono ١ ۨਕ৬ ా
Fedify উೞҊ Ѩૐػ ҳഅ • ఋੑ উࢿ • TypeScript
ъ۱ೠ ఋੑ दझమ • ۠ఋ য়ܨ ߑ • ࠁউ ӝמ ղ • HTTP Signatures, Linked Data Signatures, Object Integrity Proofs… • ః ҙܻ زച • ࢚ഐਊࢿ Ѩૐ • Mastodon, Misskey, Threads…
য়ט ೣԋ ӝৈ೧ࠁӝ ۄب ҡଳইਃ • ۠ Ѫٜਸ ೧ࠅ ࣻ
णפ • ޙࢲ ѐࢶೞӝ • ઁ ٘ ࢿೞӝ • పझ ୶оೞӝ • ߡӒ ࣻೞӝ
য়ט ೣԋ ӝৈ೧ࠁӝ ۄب ҡଳইਃ • ೣԋ ب৬٘݀פ • ѐߊ
ജ҃ ࢸ • ग Ҋܰӝ • ٘ ࢿ • ಽ ܻ௮झ ઁ
ݛ݈ ೣԋ ݅٘ח ఎঔചػ ࣗ࣍ ٣য • GitHub: https://github.com/dahlia/fedify •
ޙࢲ: https://fedify.dev/ • Discord: https://bit.ly/fedify-discord