Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Implementation of Web Standards in Mastodon

Hiroshi Kawada
September 20, 2017

Implementation of Web Standards in Mastodon

Mastodon starts to support ActivityPub!

Hiroshi Kawada

September 20, 2017
Tweet

Other Decks in Technology

Transcript

  1. *NQMFNFOUBUJPOPG8FC4UBOEBSET
    JO.BTUPEPO
    3VCZ,BJHJ-JHIUOJOH5BMLT
    4FQUFNCFS
    !@GVSPTIJLJ

    View full-size slide

  2. )JSPTIJ,BXBEB
    w 5XJUUFS*%!@GVSPTIJLJ
    w &OHJOFFSJOH.BOBHFSBUQJYJW*OD
    w .BOBHFSPG1BXPPBOEQJYJW
    4LFUDIUFBNT
    w *OUFSFTUFEJOXFCTUBOEBSETBOE
    XFCQFSGPSNBODF
    1BXPPQJYJW4LFUDI.FNCFST

    View full-size slide

  3. 8IBUJTɹɹɹɹɹ
    w 0VSNJTTJPO

    ʠ4QJDFVQZPVSDSFBUJOHQSPDFTTʡ

    ʢKB૑࡞׆ಈΛ΋ͬͱָ͘͠ʂʣ
    w NJMMJPOSFHJTUFSFEVTFSTJOPWFS
    *OUFSOFUTFSWJDFTGPSDSFBUPST
    BOEUIFJSGBOT
    w .BOZ3VCZQSPEVDUTQJYJW$PNJD
    #005) QJYJW'"$503: QJYJW4LFUDI
    1BXPP .BTUPEPO
    QJYJW1":FUD
    4IJCVZB4FOEBHBZB 5PLZP

    View full-size slide

  4. 8IBUJT.BTUPEPO

    View full-size slide

  5. .BTUPEPOJT
    w "TPDJBMOFUXPSL
    w "NJDSPCMPHHJOHTFSWJDFMJLF5XJUUFS
    w "(1-'-044
    w "OZQFSTPODPNQBOZDBOGPSLUIFTPVSDF
    DPEFBOEDVTUPNJ[FWJTVBMEFTJHO
    GFBUVSFTBOEBEBQUUPJOUFSFTUFEVTFST
    w #BDLFOE3VCZPO3BJMT
    w 'SPOUFOESFBDUKT
    w .BJO%FWFMPQFS&VHFO3PDILP
    QBXPPOFU
    GSJFOETOJDP
    NTUEOKQ
    $VTUPNJ[FE
    .BTUPEPO4PVSDF$PEF
    YYYSC YYYSC
    'PSL
    'PSL 'PSL
    $VTUPNJ[FE
    $VTUPNJ[FE
    $VTUPNJ[FE
    $VTUPNJ[FE
    $VTUPNJ[FE
    $VTUPNJ[FE
    $VTUPNJ[FE
    $VTUPNJ[FE

    View full-size slide

  6. w %FDFOUSBMJ[FEGFEFSBUJPO GFEJWFSTF

    w 8IFOSVOOJOHB.BTUPEPOTFSWFS
    LOPXOBTBOJOTUBODF
    JUQBSUJDJQBUFT
    JOUIFGFEFSBUFETPDJBMOFUXPSL
    w 8IFOZPVGPMMPXBVTFSPOBOPUIFS
    JOTUBODF ZPVDBOTFFUIBUVTFSTQPTUT
    LOPXOBTUPPUT
    POZPVSJOTUBODFWJB
    UIFGFEFSBUFETPDJBMOFUXPSL
    w JOTUBODFTBSFDPOOFDUBCMF BOE
    VTFSTDPOOFDUUPUIJT
    OFUXPSL 1BXPPIBTTIBSF

    *OTUBODF
    'FEFSBUFETPDJBM
    OFUXPSL
    )FMMP
    )FMMP
    *OTUBODF *OTUBODF
    .BTUPEPOJT

    View full-size slide

  7. #VJMEJOHGFEFSBUFETPDJBM
    OFUXPSLXJUI04UBUVT
    w #BTJDBMMZDPNQPTFECZTUBOEBSET
    w 8FC'JOHFS%JTDPWFSJOGPSNBUJPOBCPVU
    VTFSTJOSFNPUFJOTUBODF 3'$

    w 1VC4VC)VCCVC 1V4)
    "QSPUPDPMUP
    TFOEUPPUTUPSFNPUFJOTUBODF$VSSFOUMZ
    DBMMFE8FC4VC 8$

    w 4BMNPO"QSPUPDPMGPSSFQMZBOEOPO
    DPOUFOUSFBDUJPO VTFSGPMMPX MJLF SFQMZ
    FUD
    UPPSJHJOBMJOTUBODF
    w "DUJWJUZ4USFBNT"DUJWJUZ#BTF
    4DIFNB1V4)BOE4BMNPOEBUBGPSNBUT
    3FNPUFVTFSGPMMPXT
    MPDBMVTFS
    4BMNPOWFSCGPMMPX
    "DUJWJUZ4USFBNT
    8FC'JOHFSSFTPVSDF
    -PDBMVTFSQPTUTBUPPU
    3FNPUFVTFSTFOET
    GBWPSJUFUPUIBUUPPU
    4BMNPOWFSCGBWPSJUF
    "DUJWJUZ4USFBNT
    1V4)4VCTDSJCF
    "DUJWJUZ4USFBNT
    -PDBM 3FNPUF
    (&5
    1045
    1045
    1045

    View full-size slide

  8. /FUXPSLIBT1SPCMFNT
    w1FSGNBUUFST
    w-FHBDZ4UBOEBSE

    View full-size slide

  9. 1FSG.BUUFST
    4JEFLJR 4JEFLJR 4JEFLJR
    ʜ
    w $PNNVOJDBUJPOCFUXFFOJOTUBODFT
    EFQFOETPO4JEFLJRQFSGPSNBODF
    w 1SPDFTTJOH6TFSBDUJWJUZ 1V4)
    4BMNPOFUD
    FORVFVFTTJEFLJR XIJDI
    GPSNBUTBDUJWJUZEBUBBOETFOET
    NFTTBHFUPSFNPUFJOTUBODFGPSFBDI
    VTFSBDUJWJUZBOEJOTUBODFT
    w 1SPCMFN5PPNVDI)551$POOFDUJPO
    PWFSIFBE
    *OTUBODF *OTUBODF
    4JEFLJR
    4JEFLJR 4JEFLJR 4JEFLJR
    )5513FRVFTU
    )5513FRVFTU
    )5513FRVFTU
    )5513FRVFTU
    )5513FRVFTU
    )5513FRVFTU
    )5513FRVFTU

    View full-size slide

  10. -FHBDZ4UBOEBSE
    w 04UBUVTJTUPPMFHBDZ
    w /PCPEZNBJOUBJOTGPSBGFXZFBST
    w 4PNFTQFDTBSFMJOLSPU

    View full-size slide

  11. 8IFSFJT4BMNPO1SPUPDPM4QFD
    :PVDBOTFFPO*OUFSOFU"SDIJWF

    View full-size slide

  12. -FHBDZ4UBOEBSE
    w 04UBUVTJTUPPMFHBDZ
    w /PCPEZNBJOUBJOTGPSBGFXZFBST
    w 4PNFTQFDTBSFMJOLSPU
    w 'JSTUMZ .BTUPEPOSFGFSTUP(/64PDJBM
    w 4VQQPSUJOH(/6TPDJBMCVHT

    View full-size slide

  13. 4BWJOHJOUFSPQFSBCJMJUZXJUI(/6TPDJBM
    #SPLFO#"4&GPSNBU

    View full-size slide

  14. -FHBDZ4UBOEBSE
    w 04UBUVTJTUPPMFHBDZ
    w /PCPEZNBJOUBJOTGPSBGFXZFBST
    w 4PNFTQFDTBSFMJOLSPU
    w 'JSTUMZ .BTUPEPOSFGFSTUP(/64PDJBM
    w 4VQQPSUJOH(/64PDJBM#VH
    (/64PDJBM
    (/64PDJBM
    $PNNPO
    'FBUVSF
    #SPLFO
    .BTUPEPO
    0SJHJOBM
    'FBUVSF
    w 4PNFNPEFSOGFBUVSFPGTPDJBM
    OFUXPSLOFFETOPOTUBOEBSE
    JNQMFNFOUBUJPO

    View full-size slide

  15. /0504UBUVT /05(/64PDJBM

    View full-size slide

  16. "DUJWJUZ1VC
    "OFXTUBOEBSEGPSGFEFSBUFETPDJBMOFUXPSL

    View full-size slide

  17. .BTUPEPO
    TVQQPSUTTPNFQBSUTPG"DUJWJUZ1VC
    .BTUPEPO
    SFEVDFT04UBUVTJNQMFNFOUBUJPO
    6TJOH"DUJWJUZ1VC0/-:UPJNQMFNFOUQSJWBUFNFTTBHFGFBUVSF

    View full-size slide

  18. 1BXPPTUBSUFEUPTVQQPSU
    "DUJWJUZ1VC
    EBZTBHP

    View full-size slide

  19. 3FNPUFVTFSGPMMPXT
    MPDBMVTFS
    4BMNPO
    WFSCGPMMPX
    8FC'JOHFSSFTPVSDF
    -PDBMVTFSQPTUTBUPPU
    3FNPUFVTFSTFOET
    GBWPSJUFUPUIBUUPPU
    4BMNPO
    WFSCMJLF
    1V4)
    4VCTDSJCF
    "DUJWJUZ1VC
    'PMMPX"DUJWJUZ
    "DUJWJUZ1VC
    -JLF"DUJWJUZ
    "DUJWJUZ1VC
    %FMJWFSZJOCPY
    04UBUVT "DUJWJUZ1VC
    -PDBM 3FNPUF -PDBM 3FNPUF
    *OUFHSBUJOH
    TQFDJpDBUJPOT
    (&5
    1045
    1045
    1045
    3FNPUFVTFSGPMMPXT
    MPDBMVTFS
    -PDBMVTFSQPTUTBUPPU
    3FNPUFVTFSTFOET
    GBWPSJUFUPUIBUUPPU
    "DUJWJUZ1VC
    "DUPS0CKFDU

    View full-size slide

  20. "DUJWJUZ1VC
    w "DUJWJUZ1VC
    w 8$$BOEJEBUF3FDPNNFOEBUJPO8F
    DBOTFFNBJOUBJOFETQFDPO*OUFSOFU
    w &YQFDUJOHNPEFSOTPDJBMOFUXPSL
    GFBUVSF
    w "VEJFODF5BSHFUJOH&OBCMFTUP
    TFOE1SJWBUF%JSFDU.FTTBHF
    GFBUVSFT
    JOCPY PVUCPY
    1PTU
    %BUB
    (FU
    %BUB
    FOEQPJOU
    FOEQPJOU

    View full-size slide

  21. 3FTPMWFQFSGNBUUFST
    w TIBSFE*OCPY4FOEJOHNVMUJQMFBDUJWJUJFT
    UPSFNPUFJOTUBODF #VMLUSBOTNJTTJPO

    w 3FEVDF)551PWFSIFBE
    ʜ
    *OTUBODF *OTUBODF
    )5513FRVFTU
    4JEFLJR 4JEFLJR
    )5513FRVFTU

    View full-size slide

  22. #BMTFGFTUJWBM
    XJMMCFIFMEJOEBZT
    1BXPPXJMMSFDFJWFBMBSHFBNPVOUPGUPPUT

    View full-size slide

  23. .BZCF TIBSFE*OCPY
    DBOSFTPMWF

    View full-size slide

  24. #VUTIBSFE*OCPYTUJMMJT
    VOTVQQPSUFE

    View full-size slide

  25. 5IBOLZPVGPS
    ZPVSDPPQFSBUJPO
    !@GVSPTIJLJ

    View full-size slide