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
14
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
1k
첫 이더리움 스마트 콘트랙트 개발 이야기
minhee
1
1.2k
파이썬과 다이아스포라
minhee
3
2.2k
Python and Diaspora
minhee
2
400
RPC 프레임워크 제작 삽질기
minhee
7
2.5k
All docs lead to Sphinx
minhee
3
6.5k
유니코드 스터디
minhee
9
2.2k
하스켈과 타입
minhee
2
1.1k
Geofront 개발 후기: Python 2와 작별하고 Python 3로 개발하기
minhee
11
3k
Other Decks in Programming
See All in Programming
CSC305 Lecture 26
javiergs
PRO
0
140
短期間での新規プロダクト開発における「コスパの良い」Goのテスト戦略」 / kamakura.go
n3xem
2
170
create_tableをしただけなのに〜囚われのuuid編〜
daisukeshinoku
0
250
SymfonyCon Vienna 2025: Twig, still relevant in 2025?
fabpot
3
1.2k
HTTP compression in PHP and Symfony apps
dunglas
2
1.7k
Итераторы в Go 1.23: зачем они нужны, как использовать, и насколько они быстрые?
lamodatech
0
770
「Chatwork」Android版アプリを 支える単体テストの現在
okuzawats
0
180
PHPで学ぶプログラミングの教訓 / Lessons in Programming Learned through PHP
nrslib
2
260
KMP와 kotlinx.rpc로 서버와 클라이언트 동기화
kwakeuijin
0
140
Beyond ORM
77web
6
740
[JAWS-UG横浜 #76] イケてるアップデートを宇宙いち早く紹介するよ!
maroon1st
0
460
これでLambdaが不要に?!Step FunctionsのJSONata対応について
iwatatomoya
2
3.6k
Featured
See All Featured
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.9k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
Designing on Purpose - Digital PM Summit 2013
jponch
116
7k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Java REST API Framework Comparison - PWX 2021
mraible
28
8.3k
A Philosophy of Restraint
colly
203
16k
Facilitating Awesome Meetings
lara
50
6.1k
How to Think Like a Performance Engineer
csswizardry
22
1.2k
YesSQL, Process and Tooling at Scale
rocio
169
14k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
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