ã¢ãã³
ãã®è¨äºã¯ å人ãã¼ã ãã¼ã¸è¨ªå Advent Calender 2024 20æ¥ç®ã®è¨äºã§ãã
å¥ã®ãã¨ãæ¸ããã¨ãããã©æ¤è¨¼ãéã«åã£ã¦ããªãã®ã¨ãä»ã®äººã®ãµã¤ãæ´ãè¦ã¦ãããé¢ç½ããã ã¨æã£ãã®ã§æ¯ãè¿ãç³»ã«ãã¾ããã
æãããã ãã®è¨äºã«ãªããï¼
åæ
çªç¶å§ã¾ããï¼
ãã¯ããµã¤ããªã©æ®ã£ã¦ããªãã®ã§ã¡ã¼ã«ããã¯ã¹ã«ããç»é²æ¥æã§ããããã®ä½¿ç¨ææã調ã¹ã¾ããã
ä¸çªæåã«ä½ã£ãã®ã¯ããããã夢å°èª¬ãµã¤ããã§ãã
ä»ã¯äº¡ããã©ã¬ã¹ããã¼ã¸ã§ä½ãã¾ããã
ï¼ä»ããã®ã¯ãã©ã¬ã¹ããã¼ã¸ãã©ã¹ï¼
æªè¦è´ã®ã¢ãã¡ããããµãã¾ãã£ã¦ãããã©ã³ãã³ã°ã«è¾¿ãçããæ°ããã¾ãã
æ¤ç´¢é¤ãâ¦â¦ããã¦ãªãã£ããã§ããããâ¦â¦â¦â¦ã
ãã¬ãæ±äº¬ã£ã¦å°æ¹ããæ¾éãããªãã£ããã ãâ¦â¦ï¼
ããã¯ä»ãã ãã©ã
ãã
ã夢å°èª¬ããç¥ããªãæ¹ã
åãã«èª¬æããã¨ãç¹å®ã®ã¢ãã¡ããã³ã¬ã®æ¬ç·¨ä¸ã«ãªãªã¸ãã«ãã£ã©ï¼å¤¢ä¸»ï¼ãç»å ´ãããå°èª¬ã®ãã¨ãæãã¾ãã
äºæ¬¡åµä½å°èª¬ã¯åä½ãã£ã©å士ã®ãã¼ããªã·ãã¥ã¨ã¼ã·ã§ã³ã®è©±ã ã¨ãããã夢å°èª¬ã¯å¤¢ä¸»ãç»å ´ããã·ãã¥ã¨ã¼ã·ã§ã³ã¨ãããããã
夢主ã¯èªã¿ææ¬äººã¨ãããã®ãããã°ã容姿ãéå»è¨å®ã¾ã§ãã£ã¤ãä½ãè¾¼ãã ãªãªãã£ã©ããã¾ãã
å人çã«ã¯å¾è
ã®è¨å®ä½ãè¾¼ã¿ç³»ã®ãµã¤ãã«åºæ¿ãåããèªåã§ããµã¤ããä½ãããï¼ãã¨æã£ã¦ä½ãã¾ããã
ãã æ²ãããã¨ã«å¤¢ä¸»ã®è¨å®ãç·´ãã¨ããã«é¢é£ãããªãªãã£ã©ãããããçã¾ãã¦ã夢å°èª¬ãããªãã¦ãããã¬ãã«ã®ä»å è¦ç´ ãçèªãã¾ããã
çµæãããå¥ã«å¤¢å°èª¬ãããªãã¦ãããªâ¦â¦ã¨æã£ã¦ä¸æ¬¡åµä½ã®éã«é²ã¿ã¾ããã
ã¡ãªã¿ã«ãµã¤ãã¯ã»ã¼ä¸èº«ãã£ããããã®ã¾ã¾æ¾ç½®ãã¦çµããã¾ããã
ãã
ä½è«ã§ããååã¯ä»ã§ããã©ã¬ã¹ããã¼ã¸ãã©ã¹ã§ã¡ã¾ã¡ã¾ãµã¤ããéå¶ãã¦ã¾ãã
夢å°èª¬ãµã¤ãã§ã¯ããã¾ããããããã¹ãã¾ã¨ãã軽ãæ¥è¨ãæ¸ãã®ã«ä¾¿å©ï¼
ã«ã¹ã¿ã ç·¨éããéã®å
¥åãã©ã¼ã ãå°ããããã®ããã¡ãªããã§ãããhtmlã¨ãcssã¨ã使ããªãã¡ã¢å¸³ã«æ¸ãã¦ãã©ã¦ã¶ã§ãã¬ãã¥ã¼è¦ã¦ããã³ããããã»ããéãã¨æãã®ã§ãããã¾ãæ°ã«ãªããã§ãã
ãã¼ãã¾ãããã©ã¬ã¹ãï¼ããªãã¦æããã«ãã²ãµã¤ãã«ã¢ã¯ã»ã¹ãã¦ä½æããããµã¤ãé¡ãè¦ã¦ã¿ã¦ãã ããã
ã¯ãã¼ã©ã¼ãæ°ã«ãã人ãªãå
¥ãå£ã«ãã¹ã¯ã¼ããä»ãããã¯ã³ã¯ãã·ã§ã³ãç°¡åã«ä½ããã®ã§ï¼ãæ¯éã«ï¼ï¼
å¥ã«ãã©ã¬ã¹ããã¼ã¸ã®ã¾ããã¢ã³ãããªãã§ããã©ã
ä¸æ
ãã¦ãã©ã³ãã³ã°ãåçã§ãµã¤ãå·¡ãããã¦ãã¾ããããããã¨ã¯å¥ã«ãçµµæãæ²ç¤ºæ¿ã«éã£ã¦ãã¾ããã
ãããã¤ã³ã¿ã使ããã¤ã§ãã
æ²ç¤ºæ¿ã«ã¯ããã¤ããã¼ã¸ãããããã®ä¸ã®ãªãªã¸ãã«ç³»ã®ãã¼ã¸ã§åµä½ãã³ã¬ãæ稿ãã¦ãã人ããã¦ããµã¤ãæã¡ã®æ¹ãã¡ããã¡ããè¦ããã¾ããã
HNã®é£ã«ãµã¤ãã®ãªã³ã¯ãè²¼ãããã§ããã¼æ§ãã§ããããâ¦â¦ã
ãã¡ããæ²ç¤ºæ¿ãªã®ã§ãã³ã¬ã¨è¨ãã©ã1æ稿ã«ã¤ã1pããæ稿ã§ãã¾ããã
令åã®ä»ã¨ãªãã°å±éãé
ãããã¨è¨ããããã§ããããµã¨è¦ãã¨ãã«æ¬¡ã®è©±ãæ´æ°ããã¦ãã¦ã³ã¡ã³ãããã¦ãã³ã¡ã³ããè¿ããããããã ãªç©ºéã好ãã§ããã
ãã
ä¾ã®ãã¨ãåºæ¿ãåããååã¯ãµã¤ããä½ãããã¨æããæ©ãã æ«ã«å¿è
ããã°ã使ããã¨ã«æ±ºãã¾ããã
å½æã¯FC2ãã¼ã ãã¼ã¸ã次ç¹ã§å¿è
ãã¼ã ãã¼ã¸ããã¨ã¯yahooBlogããjugemãããã¡ããã¡ãããã¨ããå°è±¡ã§ããã
ããè¦ãããFC2ã«ããªãã£ãã®ã§ã¯ãªããå¿è
ããã°ã§ãµã¤ãããã£ã¦ãã人ã®ã¬ã¤ã¢ã¦ãããããªã¨æã£ãã®ã§å¿è
ãã¼ã«ãºã使ããã¨ã«ãã¾ããã
ã¡ãªã¿ã«ãã¼ã ãã¼ã¸ã§ã¯ãªãããã°ãªã®ã¯ããã°ã®ã»ãã楽ã ã£ãããâ¦â¦ï¼
å¿è
ããã°ã«ã¯åºå®ãã¼ã¸ããããããã°ä»¥å¤ã®ãã¼ã¸ãä½ãããã¨ãé
åã§ããã
ãã¨ãå½æã¯ãããç»åã®å®¹éç¡å¶éã ã£ãæ°ããã¾ãã
å¥ã«ä»ã容é足ããªãã¨ã¾ã§ã¯æããªããã©ã
ã¨ã¯ãããéå¶ãã¦ããã®ã¯å¤ãã¦æä¸æ´æ°ã¨ããããæ°ãä½ãããã°ã§ããã
ãã¨ãã¨PCã触ãã®ãå«ã ã£ãã®ã§ãPCã§çµµãæãããããã°ã«ã¢ãããã¼ãããè¨äºã¯ãã£ã±ãipod touchã§æ¸ãã¨ãããããã¾ã§ããã
ãã
ã¡ãªã¿ã«å¿è
ããã°ã¯å¿è
ãã¼ã«ãºã®ãµã¼ãã¹ãªã®ã§ãã¢ã«ã¦ã³ããããã°ä»ã«ãããã°ãä½æã§ãã¾ãã
ä½ãè¡è¿·ã£ãããå½æã¯ã¾ã£ã¦ããã¢ããªãã3DSã®ã²ã¼ã ããã®ã¬ãã¥ã¼ãæ¸ãããã°ãä½ã£ããã¨ãããã¾ãã
3DSã¯ã¹ã¯ã·ã§ãæ®ããã®ã§ãæ®å½±ããã¹ã¯ã·ã§ã3DSã®ãã©ã¦ã¶ããå¿è
ããã°ã«ã¢ã¯ã»ã¹ãã¦ç´æ¥ã¢ãããã¼ãããã®ã¯æãããæãåºã§ãã
ä»æãã¨ã¹ã¯ã·ã§æ稿ã®æ¹æ³ãéè®ã§ã¯â¦â¦ï¼ãã¨ããæ°æã¡ã¯ããã¾ããã
SDã«ã¼ãæãã¦PCã«ç»å転éããããæºå¸¯æ©ã§æ¸ã¾ãããªããããè¯ããããªãï¼
PCã«è§¦ãã®å«ããããï¼
å¿è
ãã¼ã«ã«æãã¨ããã¯ã¡ããã¡ããããã¾ãããæ°è¦IDããã£ããåããªããªã£ããããªæ°ãâ¦â¦ããã®ãããã¨ã§ããã§ãã
ã²ã¨ã¤ã®ã¢ã«ã¦ã³ãã§è¤æ°ããã°ãä½ããã®ã§ãããããã²ã¨ã¤ã¢ã«ã¦ã³ãä½ã£ã¦ã¿ãã¼ã¨ãã¡ããã¡ãããã¨ãããbotã¨ãã大éã«IDä½ã£ãããï¼ãã£ã¦ãããæ°è¦ä¼å¡ç»é²ãåºæ¥ãªãã£ãã§ãã
ããããæå³ã§ã¡ãã£ã¨å§ãã«ããã®ã§ããå人çã«ã¯ã¨ã¦ããªã¹ã¹ã¡ããããµã¼ãã¹ã§ãï¼
éå»ã®ããã°ããã¾ã«è¦è¿ãã¦ããã¦ã¼ã¶ã§ããã
å¾æ
ã ãã ãæä¸æ´æ°ãããããã°ããã£ã¦ãã¾ããããè²ã
ãã£ãããããå人èªãä½ãã¾ããã
ãã£ããã ããããµã¤ãããªãããã£ããããããã¨æãå¿æ©ä¸è»¢ãHTML5UPã¨ãããã³ãã¬ã¼ããµã¤ãã§é
å¸ããã¦ãããã³ãã¬ã¼ããä½ã£ã¦æ°ãããµã¤ããä½ãã¾ããã
ä¿ã«ãã移転ã¨ãããã¤ã§ãã
PC触ããããªãããããããæ´æ°ããªãã£ããã©ã
ãµã¤ãã®ã¢ãããã¼ãå
ã¯Netlifyã§ãã
ãã®æã¯æ¢ã«Mastodonã«ç足ãçªã£è¾¼ãã§ãã¦ï¼ããã§å人èªãä½ã£ãï¼ãå¿è
ã¨ãFC2以å¤ã®ãã¼ã«ã使ã£ã¦ãã人ããããã ã¨ããç¨åº¦ã®èå³ã§æãåºãã¾ããã
çµè«ããè¨ãã¨æ¥½ã§ãããããµã¤ããæ¤ç´¢ããæã«ç»åæ¤ç´¢ã§ããããç»åãããããããã¨ã«å«æ°ãããã¦Netlifyã¯ããã¾ããã
ã¾ãåç´ã«æ¤ç´¢é¤ããããã°ããã£ãã®ã§ãããããæ¤ç´¢é¤ããããã¨OGPãåºãªããªããã¨ãç¥ã£ã¦ã¡ãã£ã¨æ²ãããªãã¾ããã
ãã
ããããã¯è¿·èµ°ã§ãã
WordPressã«è§¦ã£ããã®ã®ããã©ã°ã¤ã³ã®æ´æ°é »åº¦ãå¤ãã®ã¨phpã ããæ°è»½ã«å¤è¦³ãç·¨éã§ããªããã¨ã«ã¹ãã¬ã¹ãæãã¦é¢è±ã
éçãµã¤ããç¥ã£ã¦SSGã®hugoã«æãåºãã¦ã«ã¹ã¿ãã¤ãºã楽ããã¨è§¦ãããPCä½æ¥ãå«ãªã®ã§æ¥½ãã¦ã¹ããããæ´æ°ãããã¨æ©ã¿ã¾ãã
obsidianã§gitãæ±ãããã¨ãç¥ããobsidianã¨hexo(SSG)ã§ããã°ãä½ããã³ã³ããªã¯ãã®ãã³ã«åæãç´ããé¢åã¨æãã¾ãã
ãããªãããgithubã®ã¢ãã¤ã«ããgithub actionããã°ãããã¨æã£ã¦ãä»ç¾å¨astro(SSG)ã使ã£ã¦ãã¾ãã
ä¸èº«ã¯ãã¾ã«ã¤ã©ã¹ããã¢ãããã¼ããããããããã°ãµã¤ããã§ãã
å¥ã®è¨äºã«ãæ¸ãã¾ãããã¹ããæ´æ°ã¯ä»ã®æ¹æ³ãä¸çªæ¥½ã§ãã
astroã§è¨äºãæ¸ãã¨ãã¯NotesHubã¨ããgithubã¨é£æºãåºæ¥ããã¼ã¯ãã¦ã³ã¨ãã£ã¿ã使ã£ã¦ãµã¯ãµã¯è¨äºãããã¾ãã
ã¡ãªããã¯ãã¼ã¯ãã¦ã³ä¸ã«ç»åãæ¿å
¥ããã¨åæã«githubã®ã»ãã«ãç»åãã¢ãããã¼ããã¦ããããã¨ï¼
ãã¨ãã©ã¦ã¶çã¯ç¡æï¼ãPWAã§ä½¿ã£ã¦ã¿ããï¼ ãå¸æ½ãããã¨ãã¯ã¢ããªçãè²·ããï¼
ãã¡ãªããã¯ç»åãæ¿å
¥ããèªä¼ã§åæã«å¥åã§ç»åãã¢ãããã¼ãããã¦ãã¾ããã¨ï¼
ç»ååã«æãããã人ã¯githubã®ãã©ã¦ã¶çããç»åãã¢ãããã¼ããã¦æã§åç
§ãã¦ãããã»ããããã§ããäºåº¦æéã§ã¯ãããã©ã
ãã
ãã¼ã¯ãã¦ã³ãæ¸ãããã¨ã¯issueãæ¸ãã¨ããã«ãï¼FTPå¦çãèµ°ãããã«ããã®ã§ãæ°åããããµã¤ãã綺éºã«æ´æ°ããã¾ãã
ååã¯ãããªãããã«æ´æ°å±¥æ´é¢¨ã«issueãæ¸ãã¦ã¾ãã
ãããªãããªãã¦ãpuhå±¥æ´ãããã ãã©ããï¼
github actionã¯ãããâ¦â¦ã
å¸æããã«ã¯æ
å ±é示ãããã®ã§ããactionæè¼ãã¡ããã¾ãã
ãããã®æµ·ã«è»¢ãã£ã¦ããããã§ã¯ããã¾ããã
name: Astro build on: issue_comment: types: [created, deleted] jobs: deploy: runs-on: ubuntu-latest steps: - name: Get latest code uses: actions/checkout@v3 - name: Use Node.js 20 uses: actions/setup-node@v3 with: node-version: "20" - name: Build Project run: | npm install npm run build - name: Sync files uses: SamKirkland/[email protected] with: server: ${{ secrets.FTP_SERVER }} username: ${{ secrets.FTP_USERNAME }} password: ${{ secrets.FTP_PASSWORD }} local-dir: ./dist/ server-dir: ãã¢ãããã¼ãããããµã¼ãã®URLã protocol: ftp
ããããymlã«æ¸ãã¦ä¿åããã°ããã§ãã
FTPé¢é£ã®ã¨ããã¯èªç°å¢ã«æ¸ãæãã¦ãã ããã
ç°å¢å¤æ°ã¯ä½¿ã£ã¦ãããã使ããã§ãè¯ãã
local-dirã¯ãã«ãå¾ã«ä¸èº«ãå
¥ããã£ã¬ã¯ããªãæå®ãã¾ãã
ãã¨ããã¯astroç¨ãªã®ã§ãhugoã®å ´åã¯âã®ããã«æ¸ãæãã¾ãã
ã¡ãªã¿ã«name:ã®ã¨ãã¯ãªãã§ãããã£ã½ãã£ãï¼
name: hugo pages on: issue_comment: types: [created, deleted] jobs: deploy: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: submodules: true # Fetch Hugo themes fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod - name: Setup Hugo uses: peaceiris/actions-hugo@v2 with: hugo-version: '0.102.0' - name: Build run: hugo --minify - name: Deploy uses: SamKirkland/[email protected] with: server: ${{ secrets.FTP_SERVER }} username: ${{ secrets.FTP_USERNAME }} password: ${{ secrets.ftp_password }} local-dir: ./public/ server-dir: ãã¢ãããã¼ãããããµã¼ãã®URLã
githubå´ã®node.jsã¨ãã¼ã¸ã§ã³ãéãã¨ãã«ãã§ããããã¨ãããã®ã§ãã¨ã©ã¼ãåºãããã®ã¸ããè¦è¿ãã¦ã¿ã¦ãã ããã
ãã¨ããã²ã¨ã¤æ³¨æäºé
ã§ããã«ãå¾ã«ã¢ãããã¼ãã§ããªããã¡ã¤ã«ãããã¨FTPã®å¦çã§ããã¾ãã
å
·ä½çã«è¨ãã¨ã¨ãã¯ã¹ãµã¼ãã¯ã~ãã§å§ã¾ããã¡ã¤ã«ã¯FTPã§éããªãï¼ãã£ã½ãã¦æ¯åããã¾ããã
FFFTPã¨ãã®ãã¼ã«ã使ãã¨å
¥ããã§ããã©èªåã¯ç¡çã£ã½ãã£ãã§ãã
ã¾ãããããå¶ç´ãããããããã¼ãã«ãã£ã¦ã¯github acionã§FTPã使ããªãå¯è½æ§ãããã¾ãã
ä¸å¿ãã¼ã«ã«ã§ãã«ããã¦å±ããããªãã¡ã¤ã«ããªãã確èªããã¨ããããã§ãã
ç·æ¬
以ä¸ãèªåã ãã楽ããæ¯ãè¿ãã³ã¼ãã¼ã§ããã
æãã°åæããPC触ã£ã¦ãã¾ããã§ãããã
ã¹ããæ´æ°ã°ãããï¼
ãã£ã¨æ¥½ãªæ´æ°æ¹æ³ããã°æãã¦ãã ããï¼
â¦â¦ã¯ã¦ãªããã°ãåºã¦ãªãï¼
ããã¯ã»ãâ¦â¦ãã¬ãã£ãã«ãªã£ãã¨ãã¨ãã«åãåºãç¨ã®ããã°ã«ãããããâ¦â¦ã
ãã£ï¼ï¼
ãã¾ãï¼æ¸ãã¦ãªããã©ä½¿ã£ããã¨ãããã¼ã«é
ã» Tumbler
ã» JSCMS
ã» ã¦ããã
ã» Grav
ã» bluedit
ã» honkit
ã» PPP
ã» ã·ã³ãã«ããã°
ã» ããããªã¤ã³ã¿ã¼ããã
ã» ã¯ã¦ãªããã°
SNSãåæ£ãã¦ããã©ãµã¤ããåæ£ãã¦ããï¼
令åã§ãå人ãµã¤ããã®ããã¼ãã¤ã¨ã¤ï¼
ãã¼ã ãã¼ã¸ã¯ããããã¼ã¸ã®ãã¨ã ãï¼
以ä¸ï¼