ãã®è¨äºã¯Mastodon Advent Calendar 2017 - Adventarã®1æ¥ç®ã®è¨äºã§ãã ç§ã®ã¢ã«ã¦ã³ãã¯@[email protected]ã§ãã
ç§ã¯ãiMastãã¨ããiOSããã¤ã¹åãã®Mastodonã¯ã©ã¤ã¢ã³ããä½ã£ã¦ãã¾ãã ä»åã®è¨äºã¯ãiMastãç¥ããªã人ã®ããã®ç°¡åãªèª¬æã¨ãiMastãéçºããçç±ãéçºä¸ã«è¦å´ãããã¨ãªã©ãæ¸ãã¾ãã
- iMastã¨ã¯
- éçºãã¯ãããã¾ã§
- éçºä¸
- ããã¦å ¬é
- å ¬éå¾ã®ã¢ãããã¼ã
- Open Source ð
- ãã¾ã: iMast 2.6ãæ¬æ¥9æãªãªã¼ã¹ã§ã
iMastã¨ã¯
iMastã¯ãä¸ã§ãæ¸ããããã«iOSããã¤ã¹(iPhone, iPad, iPod Touch)åãã®Mastodonã¯ã©ã¤ã¢ã³ãã§ãç§å人ã趣å³ã§éçºããã¦ãã¾ãã App Storeã¸ã®å ¬éã«ããã£ã¦ã¯ãååä¼ç¤¾ããçãã¾ã®ä»¥ä¸ã®å¶åº¦ãå©ç¨ããã¦ããã ãã¾ããã
iMastã¯ãiOSã®ããã¼ã¦ã¼ã¶ã¼åãã¨å¼ã°ããããã¤ãã®Twitterã¯ã©ã¤ã¢ã³ã*1ã«å½±é¿ããã¤ã¤ããiOSãããããã以ä¸ã®ãããªUIãæã£ã¦ãã¾ãã
App Storeã®ãã¼ã¸ã¯ãã¡ãã
éçºãã¯ãããã¾ã§
æã¯2017å¹´4æãã¡ããã© ãã³ãã³è¶ ä¼è°2017 ã®åãããããnullkalãããéå¶ãã mstdn.jp(æ§mastodon.nil.nuã4æ11æ¥ã«å ¬éããã4æ15æ¥ã«ãããã¯ã©ã¦ãã¸ã®ç§»è¡ã®ãããã¼ã¿æ¶å») ããã¯ã·ãæ ªå¼ä¼ç¤¾ã®éå¶ãã Pawoo(4æ14æ¥å ¬é) ãæ ªå¼ä¼ç¤¾ãã¯ã³ã´ã®éå¶ãã friends.nico(4æ19æ¥å ¬é) ãªã©ã®ã¤ã³ã¹ã¿ã³ã¹ãçé ã«ç¬¬ä¸æ¬¡Mastodonãã¼ã ãæ¥ã¦ãã¾ããã
ãã®ããã¯ãã¹ããã®Mastodonã¯ã©ã¤ã¢ã³ãã¯iPhoneã§ããã° Amaroq ã Androidã§ããã° Tusky ãããªããããªç¶æ ã§ããã ç§ã¯Android端æ«ãææãã¦ããããiPhoneã使ã£ã¦ããã®ã§ãå¿ ç¶çã«Amaroqãå©ç¨ãããã¨ã«ãªãã¾ããã
ããããå½æã®Amaroqã¯ä»ã®Amaroqã¨ã¯éãããã«ãã¢ã«ã¦ã³ãã«å¯¾å¿ãã¦ãã¾ããã§ãããããã®ä»ã«ã以ä¸ã®ãããªæ¬ ç¹ãããã¾(ã|ãã)ã
- UIãè±èªã ãã ã£ã(使ããªãã¬ãã«ã§ã¯ãªã)
- CWãè¨å®ããããã¥ã¼ãã表示ããéãCWã§é ããã¦ããå 容ã¶ãã ãé«ããåããã¦ãã(ããé·æãé ãããã«CWã使ããã¦ãããããã®ä»æ§ã ã¨é ããã¦ããé·æã®åã ãé«ãããã£ããããé常ã«ä¸ä¾¿ã§ãããæã«ã¯æ稿ãä¸ç»é¢ã§åã¾ããªããã¨ãããã¾ãã)
- ãã°ã¤ã³ãå¤ãªæ¹æ³ã§å®è£ ãã¦ãããã¨ã«ãããfriends.nicoã®ããã³ãã³ã¢ã«ã¦ã³ãã§ãã°ã¤ã³ãæ©è½ãå§ãã¨ããã¤ã³ã¹ã¿ã³ã¹ã®ç¬èªå®è£ ã«ããä»ãµã¼ãã¹ã§ã®OAuthãã°ã¤ã³æ©è½ãæ£ããåä½ããªãã£ã *2
- ãã£ããOAuthã§èªè¨¼ããã®ã«Safariã§èªè¨¼ç»é¢ã表示ããWebViewå
ã§ãã°ã¤ã³ããã¦ãã
*3 - ç»é¢ä¸ã«è¡¨ç¤ºã§ãããã¥ã¼ãæ°ãå°ãªã *4
ãã®ãããªæ¬ ç¹ãè¸ã¾ããããã£ãã®ãã¨èªåã§ã¯ã©ã¤ã¢ã³ããä½ã£ã¦ãã¾ãã°ããã®ã§ã¯ãªãããã¨èããiMastã®éçºã«åããããã¾ããã
éçºä¸
iOSã¢ããªã®éçºã¯ã»ã¼åãã¦*5ã§ãMastodon APIã ãã§ãªãSwiftãiOSã®UIKitã«ã詳ãããªãã£ãã®ã§ãããªãè¦å´ããã¾ãããå ·ä½çã«ã¯:
- ããããMastodon APIã§ã©ããã£ã¦èªè¨¼ããã°ããã®ãããããªãã£ã(Amaroqã®ãªã¯ã¨ã¹ãããã£ããè¦ã¦ã¿ããã©ããããªãã£ãã人ããèãã¦è§£æ±º)
- Mastodon APIãè¿ãæ稿å 容ãHTML(ãªããããã¹ãã表示ããç©ã«HTMLããã¼ã¹ããæ©è½ããã£ãã®ã§ããã§è§£æ±º)
- ãªããTLã®ã¹ã¯ãã¼ã«ãã¬ã¯ã¬ã¯ã ã£ã(æ稿ã®viewãç»é¢å¤ã«åºãã¨ç ´æ£ããã¦ãããããviewããã£ãã·ã¥ãããã¨ã§è§£æ±º)
ãªã©ã§ã(è¨æ¶ããããªãã®ã§ã³ããããã°ããæ¨å¯ãã¾ãã)ã
ã¾ããéçºãä¸æ¬ã«ããããã£ã6æããããiOSã¢ããªã®Î²çãé ä¿¡ã§ãããTestFlightãã¨ãããµã¼ãã¹ã§ãã¼ã¿çã®é å¸ãéå§ãã¾ããã βãã¹ãã«ä»ããã£ã¦ãã ãã£ã¦ãã*6ä¸é¨ã® imastodon.net ã mstdn.maud.io ã friends.nico ã®ã¿ãªããããããã¨ããããã¾ããããã¦ãããããããããããé¡ããã¾ã!
ããã¦å ¬é
ç§ã¯ã¢ã¤ãã«ãã¹ã¿ã¼ã·ã³ãã¬ã©ã¬ã¼ã«ãºã¨ããã²ã¼ã ã大好ããªã®ã§ããããã®ä¸ã§ç§ãæ å½*7ãã¦ãããæ¸è°·åãã¨ããã¢ã¤ãã«ã®èªçæ¥(8æ10æ¥)ã«ãªãªã¼ã¹ãããã¨ãå½åãã決ãã¦ãã¾ããã
8æ1æ¥ã«ãªãªã¼ã¹çãæåºãã¦ãä½åããªã¸ã§ã¯ãâä¿®æ£ããããã¨8æ10æ¥ã®æ¼ããã«ç¡äºãªãªã¼ã¹ããã¾ããã
ãããããªãªã¼ã¹æ¥ã決ãã¦æ°è¦ã¢ããªãåºãå ´åãä½åããªã¸ã§ã¯ããããäºãèãã¦äºé±éåã«ã¯ãªãªã¼ã¹çã審æ»ã«éãã¦ããã¨ããããããã¾ãã(ããªãã®ãªã®ãªã§ããªãªã¼ã¹æ¥ã®æ¼ã«ãã£ã¨å¯©æ»ãéãã¾ãã)ã
å ¬éå¾ã®ã¢ãããã¼ã
ãªãªã¼ã¹æ¥ã¯ãã¹ã¦ã¢ã¤ãã«ãã¹ã¿ã¼ã·ãªã¼ãºã®æ å½oræ¨ãã®èªçæ¥ã«ãã¦ãã¾ããéå»ä½åº¦ãéã«ãããªããªãããã«ãªãã¾ãããããªãã¨ãå®ãã¦ãã¾ãã
ãªãªã¼ã¹æ¥ | ãã¼ã¸ã§ã³çªå· | èªçæ¥ã®ã¢ã¤ãã« |
---|---|---|
8/10 | 2.0(åç) | æ¸è°·å/äºååµé¿å |
8/27 | 2.1 | æ£®ä¹ ä¿ä¹ã |
9/5 | 2.2 | åæ¡å è® |
9/16 | 2.3 | ç¥è°·å¥ç· |
10/27 | 2.4 | 鷺沢æé¦ |
11/12 | 2.5 | åã¶å´ç¾å |
12/1 | 2.6 | æ¬ç°æªå¤® |
ã¨ããé çªã§ãªãªã¼ã¹ããã¦ãã¾ããã 2.4以éã®ãªãªã¼ã¹ãã¼ãã¯GitHubãªãã¸ããªã®ReleasesãApp Storeã§ç¢ºèªã§ãã¾ãã
ä¸çªè¦å´ããã¢ãããã¼ã: ãã³çããã¥ã¼ãã®è¡¨ç¤º
Mastodon 1.6ãããã³çããã¥ã¼ããå®è£ ããã¦ãiMastã§ããã³çãããããã¥ã¼ãã®è¡¨ç¤ºã«å¯¾å¿ããã®ã§ããããã³çããã¥ã¼ããåå¾ããAPIãããã¾ãã²ã©ããã®ã§ãã(ããã¦æªã ã«æ¹åããã¦ãã¾ãã)ã
ã¾ããããã¢ã«ã¦ã³ããæ稿ãããã¥ã¼ãä¸è¦§ã¯/api/v1/accounts/ã¢ã«ã¦ã³ãID/statuses
ã§åå¾ã§ããã®ã§ããããã³çããã¥ã¼ãã¯ã¢ã«ã¦ã³ãã®ãã¥ã¼ãä¸è¦§ãåå¾ããAPIã«?pinned=1
ã¨ãããã©ã¡ã¼ã¿ãä»ãã¦åå¾ããä»æ§ã«ãªã£ã¦ãã¾ãã
ãããã1.6以åã®ã¤ã³ã¹ã¿ã³ã¹ã§ãã³çããã¥ã¼ããåå¾ãããã¨ããã¨ããã®ãã©ã¡ã¼ã¿ãç¡è¦ãããã¢ã«ã¦ã³ãã®æ®éã®ãã¥ã¼ãä¸è¦§ãè¿ã£ã¦ããã®ã§ããã¾ãããããAPIã¬ã¹ãã³ã¹ããå¤æããæ¹æ³ã¯ããã¾ããã
ãã®ãããå®è£
ããéã«ã/api/v1/instance
ããå¾ããããã¼ã¸ã§ã³ããã¼ã¹ãã¦1.6rc1
以ä¸ã ã£ãããã³çããã¥ã¼ããåå¾ããå¦çãæ¸ãå¿
è¦ããããå®éã«æ¸ãã¾ããã
ã¡ãªã¿ã«ãPawooã®ç¬èªæ¡å¼µã®æ¹ã®ãã³çããã¥ã¼ãã¯ã¡ããã¨ã¨ã³ããã¤ã³ããåããã¦ãã¾ãããªãã¨ã³ããã¤ã³ããåããªãã£ãã®ã...
Open Source ð
æ£ç¢ºã«ã¯ã¾ã ã©ã¤ã»ã³ã¹ã決ã¾ã£ã¦ããªã(ãã¤ã«ãªã£ãã決ã¾ããã )ã®ã§ãªã¼ãã³ã½ã¼ã¹ã¨è¨ãããã¯å¾®å¦ã§ãããiMast 2.4ããGitHubã§ã½ã¼ã¹ã³ã¼ããå ¬éãã¦ãã¾ãã æ±ãã¦éå¹çãªã³ã¼ãã°ããã ã¨æãã¾ãããèå³ãããã°ã©ããã
ãã¾ã: iMast 2.6ãæ¬æ¥9æãªãªã¼ã¹ã§ã
ä»åã¯æ·»ä»ç»åã®ãµã ãã¤ã«è¡¨ç¤ºã®å®è£ ãç®çã§ãã å¤ãã®äººãããiMastã§ä¸çªæ¬²ããã¨è¨ããã¦ããç¨åº¦ã«ã¯æ¬²ããã¨è¨ããã¦ããæ©è½ã§ãç§èªèº«ããã£ã¨å®è£ ãããã£ãã®ã§ãã綺éºãªå®è£ ã®ä»æ¹ãæãã¤ãããæè¿ãã£ã¨ããããªå®è£ ã®æ¹æ³ãããã£ãã®ã§ä»åã¤ãã«å®è£ ã§ãã¾ããã ãªãªã¼ã¹ãã¼ãã¯GitHubãªãã¸ããªã®ReleasesãApp Storeã§ç¢ºèªã§ãã¾ãã
ææ¥ã¯ç§ãå± åãã¦ããMastodonã¤ã³ã¹ã¿ã³ã¹imastodon.netã®ç®¡ç人ãããµã®ã³ããã§ãã
*1:TheWorld, hel2umç
*2:ãã®å¤ãªå®è£ ã®å½±é¿ã§Mastodon2.0ã®ã¤ã³ã¹ã¿ã³ã¹ã§ãã°ã¤ã³ã§ããªããªãããã®å¯¾å¿ãè¡ãªãããçµææ®éã®æ¹æ³ã§ãã°ã¤ã³ã§ããããã«ãªã£ãã®ã§ãããããã¯ã¾ãå¥ã®ã話
*3:æ²ãããã¨ã«ãç¾å¨iOS App Storeã§å ¬éããã¦ããMastodonã¯ã©ã¤ã¢ã³ãã®åæ°ç¨åº¦ãWebViewå ã§ãã°ã¤ã³ãããã¦ãã¾ããOAuthã®èªè¨¼ç»é¢ã¯ã§ãããããã¢ããªå WebViewã§ãªãOSã®ããã©ã«ããã©ã¦ã¶ã使ã£ã¦è¡¨ç¤ºããã¹ãã§ãããã®æ¹ãã¢ããªã®ä¿¡é ¼çã«ãç¹ããã¾ã
*4:ç§ã¯iPhone 5sã使ã£ã¦ããã®ã§ãããiPhone 5sã®ç»é¢ãµã¤ãºã§ã¯ã¨ãã«ã¤ããã£ãã§ã
*5:å®ãè¨ãã¨Macãè²·ã£ãç´å¾(å»å¹´ã®ä»ãã)ã«èº«å åãã®SNSã¯ã©ã¤ã¢ã³ãã®å¶ä½ã«ãã©ã¤ããææãããã¾ããããæ«æãã¾ãã
*6:βãã¹ãã¯ä»ã§ãç¶ç¶ä¸ã§ãApp Storeã§ãªãªã¼ã¹ããåã®ãã¼ã¸ã§ã³ããã¹ããã¦ããã ãã¦ãã¾ã
*7:ãããããæ¨ããã®ãããªãã®ã§ãã¢ã¤ãã«ãã¹ã¿ã¼ã¯æ°ããã¢ã¤ãã«ã®ä¸ããèªåã§ãããã¥ã¼ã¹ãããã¢ã¤ãã«ãé¸æãã¦ãããã¥ã¼ã¹ãããã¨ããã²ã¼ã ãªã®ã§ãããèªåããã®ä¸ã§ãããã¥ã¼ã¹ãã¦ããã¢ã¤ãã«ãæ å½ã¢ã¤ãã«ãã¨å¼ã¶æåãããã¾ããç§ãã¡ããã¨èª¬æã§ããããã§ã¯ãªãã®ã§ã詳ããç¥ããããã°Googleçã§æ¤ç´¢ãã¦ã¿ã¦ãã ãã