[{"data":1,"prerenderedAt":629},["ShallowReactive",2],{"tag-CMS-1":3},{"items":4,"tagArticleCount":545,"categoryesArticleCount":614,"parPage":551,"PageCount":573,"currentPage":573,"selectedCategory":-1,"selectedTag":15},[5,426],{"_path":6,"_dir":7,"_draft":8,"_partial":8,"_locale":9,"title":10,"description":11,"category":12,"tags":14,"sumb":19,"sumb_alt":20,"createdAt":21,"updatedAt":21,"draft":8,"excerpt":22,"body":57,"_type":420,"_id":421,"_source":422,"_file":423,"_stem":424,"_extension":425},"\u002Fpost\u002F2026-07-20","post",false,"","ブログの編集をするのにVSCodeを使うのをやめた話","ブログ構築当初は記事書くのVSCodeでもいいか～と思っていたが、だんだんしんどくなってきて更新頻度が下がってきてしまっていた。",[13],"開発・技術",[15,16,17,18],"CMS","Nuxt","Python","VSCode","2026-07-20\u002F02.webp","writing blog","2026-07-20 22:01",{"type":23,"children":24},"root",[25,32,46],{"type":26,"tag":27,"props":28,"children":29},"element","p",{},[30],{"type":31,"value":11},"text",{"type":26,"tag":27,"props":33,"children":34},{},[35,37,44],{"type":31,"value":36},"なんでかな？と思って思い返してみると、やはり",{"type":26,"tag":38,"props":39,"children":41},"code",{"className":40},[],[42],{"type":31,"value":43},"VSCode開くのめんどい",{"type":31,"value":45},"ってことかな。と。",{"type":26,"tag":27,"props":47,"children":48},{},[49,51,55],{"type":31,"value":50},"ということで、思い切ってVSCodeで記事を書くのをやめてみた。",{"type":26,"tag":52,"props":53,"children":54},"br",{},[],{"type":31,"value":56},"\nというお話。",{"type":23,"children":58,"toc":401},[59,63,73,81,87,92,102,112,118,123,165,183,188,198,213,223,228,235,245,250,255,260,270,276,281,296,301,305,310,336,351,356,361,366,371,381,386,391],{"type":26,"tag":27,"props":60,"children":61},{},[62],{"type":31,"value":11},{"type":26,"tag":27,"props":64,"children":65},{},[66,67,72],{"type":31,"value":36},{"type":26,"tag":38,"props":68,"children":70},{"className":69},[],[71],{"type":31,"value":43},{"type":31,"value":45},{"type":26,"tag":27,"props":74,"children":75},{},[76,77,80],{"type":31,"value":50},{"type":26,"tag":52,"props":78,"children":79},{},[],{"type":31,"value":56},{"type":26,"tag":82,"props":83,"children":85},"h2",{"id":84},"変更前の構成",[86],{"type":31,"value":84},{"type":26,"tag":27,"props":88,"children":89},{},[90],{"type":31,"value":91},"構成っていうほどでもないんですが。",{"type":26,"tag":27,"props":93,"children":94},{},[95,97,100],{"type":31,"value":96},"NuxtContentsで構築したブログのPostフォルダをVSCodeで開き、Markdownを手打ちで編集していた。",{"type":26,"tag":52,"props":98,"children":99},{},[],{"type":31,"value":101},"\nPushもVSCode上からできるし結構便利じゃん？みたいな。",{"type":26,"tag":27,"props":103,"children":104},{},[105,107,110],{"type":31,"value":106},"公開はAmazon CodeCommitにPushされたのをトリガーにCodeBuildでビルドしてS3にアップロードしている。",{"type":26,"tag":52,"props":108,"children":109},{},[],{"type":31,"value":111},"\nのでランニングコストはほぼかかってない構成になってる。",{"type":26,"tag":113,"props":114,"children":116},"h3",{"id":115},"問題点",[117],{"type":31,"value":115},{"type":26,"tag":27,"props":119,"children":120},{},[121],{"type":31,"value":122},"問題点は以下の２点",{"type":26,"tag":124,"props":125,"children":126},"ol",{},[127,147],{"type":26,"tag":128,"props":129,"children":130},"li",{},[131,133],{"type":31,"value":132},"Frontmatter書くのがめんどい",{"type":26,"tag":134,"props":135,"children":136},"ul",{},[137],{"type":26,"tag":128,"props":138,"children":139},{},[140,142,145],{"type":31,"value":141},"記事の最初の部分に書く必要があるメタデータ的なアレ",{"type":26,"tag":52,"props":143,"children":144},{},[],{"type":31,"value":146},"\n記法が決まってるので手打ちするのは結構めんどい",{"type":26,"tag":128,"props":148,"children":149},{},[150,152],{"type":31,"value":151},"画像の管理が超めんどい",{"type":26,"tag":134,"props":153,"children":154},{},[155],{"type":26,"tag":128,"props":156,"children":157},{},[158,160,163],{"type":31,"value":159},"VSCodeで画像を管理するのであたりまえ・・・",{"type":26,"tag":52,"props":161,"children":162},{},[],{"type":31,"value":164},"\nフォルダに画像を入れた後は相対パスで記事中に参照の定義を書かないといけない。",{"type":26,"tag":27,"props":166,"children":167},{},[168,170,176,178,181],{"type":31,"value":169},"２点しかないじゃんって感じではあるが、",{"type":26,"tag":38,"props":171,"children":173},{"className":172},[],[174],{"type":31,"value":175},"記事を書く",{"type":31,"value":177},"という体験においては文章をどんどん打っていける快感みたいなのが重要で、挙げた２点はどちらもその文章を打っていくというところを致命的に中断させてしまう問題点である。",{"type":26,"tag":52,"props":179,"children":180},{},[],{"type":31,"value":182},"\n中断っていうか、１つ目については記事のつくりはじめのところで、いきなり腰を重くさせてしまう要因でもあった。",{"type":26,"tag":82,"props":184,"children":186},{"id":185},"変更後の構成",[187],{"type":31,"value":185},{"type":26,"tag":27,"props":189,"children":190},{},[191,193,196],{"type":31,"value":192},"リポジトリにPushして自動的にビルドするとかのところは変えていなくて、記事を書くというところだけ楽にできるようにした。",{"type":26,"tag":52,"props":194,"children":195},{},[],{"type":31,"value":197},"\n具体的には、PythonとFlaskを使ってちょっとしたWebアプリを作ってそこから編集できるようにした。",{"type":26,"tag":27,"props":199,"children":200},{},[201,203,206,208,211],{"type":31,"value":202},"DBとかあると管理が面倒なので、一覧系の機能とかタグ検索とかはPythonから直接フォルダをスキャンして実現している。",{"type":26,"tag":52,"props":204,"children":205},{},[],{"type":31,"value":207},"\n現状は記事の数が少ないのでこれでいいかなと。",{"type":26,"tag":52,"props":209,"children":210},{},[],{"type":31,"value":212},"\n今後記事が増えてきて動作が遅くなってきたら対策考えましょう。。。",{"type":26,"tag":27,"props":214,"children":215},{},[216,218,221],{"type":31,"value":217},"以下、各画面の紹介。",{"type":26,"tag":52,"props":219,"children":220},{},[],{"type":31,"value":222},"\nデザインはGeminiがやったんで、あんま気にしないでください。。。",{"type":26,"tag":113,"props":224,"children":226},{"id":225},"記事一覧",[227],{"type":31,"value":225},{"type":26,"tag":229,"props":230,"children":234},"article-image",{"preset":231,"src":232,"alt":233},"article_image","2026-07-22\u002Fimage.webp","記事の一覧画面",[],{"type":26,"tag":27,"props":236,"children":237},{},[238,240,243],{"type":31,"value":239},"メインの画面。記事の一覧を表示する。",{"type":26,"tag":52,"props":241,"children":242},{},[],{"type":31,"value":244},"\n公開ステータスとファイルの更新日が一応表示される。",{"type":26,"tag":27,"props":246,"children":247},{},[248],{"type":31,"value":249},"新規の時は右上のボタン、既存の記事は一覧を選択すれば記事の編集画面に遷移する。",{"type":26,"tag":113,"props":251,"children":253},{"id":252},"イメージライブラリ",[254],{"type":31,"value":252},{"type":26,"tag":229,"props":256,"children":259},{"preset":231,"src":257,"alt":258},"2026-07-22\u002Fimage_1.webp","イメージライブラリ画面",[],{"type":26,"tag":27,"props":261,"children":262},{},[263,265,268],{"type":31,"value":264},"画像の管理をする画面。",{"type":26,"tag":52,"props":266,"children":267},{},[],{"type":31,"value":269},"\nとりあえずで作ったが、編集画面からでもアップロードできるので今のところは間違って上げた画像を削除する用の画面になってる。",{"type":26,"tag":113,"props":271,"children":273},{"id":272},"pushボタン",[274],{"type":31,"value":275},"Pushボタン",{"type":26,"tag":229,"props":277,"children":280},{"preset":231,"src":278,"alt":279},"2026-07-22\u002Fimage_2.webp","Pushボタン画面",[],{"type":26,"tag":27,"props":282,"children":283},{},[284,286,289,291,294],{"type":31,"value":285},"記事の完成後にPushするボタン",{"type":26,"tag":52,"props":287,"children":288},{},[],{"type":31,"value":290},"\nコミットメッセージを自動でつけるか自分でつけるか一応選べる。",{"type":26,"tag":52,"props":292,"children":293},{},[],{"type":31,"value":295},"\nまあ自動といっても、日付と「自動でコミットしました」みたいな一言がつくだけだけど。",{"type":26,"tag":113,"props":297,"children":299},{"id":298},"記事の編集画面",[300],{"type":31,"value":298},{"type":26,"tag":229,"props":302,"children":304},{"preset":231,"src":303,"alt":298},"2026-07-22\u002Fimage_3.webp",[],{"type":26,"tag":27,"props":306,"children":307},{},[308],{"type":31,"value":309},"一番力が入ってる画面。（アタリマエ）",{"type":26,"tag":27,"props":311,"children":312},{},[313,315,318,324,326,329,331,334],{"type":31,"value":314},"真ん中にMarkdownエディタが表示されるのと、右上のほうに普段使いそうなボタンを配置してある。",{"type":26,"tag":52,"props":316,"children":317},{},[],{"type":26,"tag":38,"props":319,"children":321},{"className":320},[],[322],{"type":31,"value":323},"Tags\u002FCateogries",{"type":31,"value":325},"ボタンはタグとカテゴリをほかの記事から引っ張ってきて今開いてる記事に適用できるボタン。",{"type":26,"tag":52,"props":327,"children":328},{},[],{"type":31,"value":330},"\n問題点のところではFrontmatterで一括して書いちゃってたので言及してなかったけど、タグも結構負担だったんだよね。",{"type":26,"tag":52,"props":332,"children":333},{},[],{"type":31,"value":335},"\n記述を統一しないと、タグとかで記事がまとまってくれないので・・・",{"type":26,"tag":27,"props":337,"children":338},{},[339,341,344,346,349],{"type":31,"value":340},"しかも、なんと、この画面、Ctrl+Sで記事を保存できます。",{"type":26,"tag":52,"props":342,"children":343},{},[],{"type":31,"value":345},"\nめちゃ重要！！",{"type":26,"tag":52,"props":347,"children":348},{},[],{"type":31,"value":350},"\n仮保存のためにイチイチ右上のボタンをマウスで押すってのも微妙なので・・・",{"type":26,"tag":82,"props":352,"children":354},{"id":353},"今後追加したい機能",[355],{"type":31,"value":353},{"type":26,"tag":113,"props":357,"children":359},{"id":358},"画像の整理機能",[360],{"type":31,"value":358},{"type":26,"tag":27,"props":362,"children":363},{},[364],{"type":31,"value":365},"ファイルのフォルダ間移動とかリネームとか。",{"type":26,"tag":113,"props":367,"children":369},{"id":368},"プロフィールの編集画面",[370],{"type":31,"value":368},{"type":26,"tag":27,"props":372,"children":373},{},[374,376,379],{"type":31,"value":375},"あんまり変えないだろうけど、今後はVSCodeで開く機会がへるので変えたいときに変えられるといいなって感じ。",{"type":26,"tag":52,"props":377,"children":378},{},[],{"type":31,"value":380},"\n特にアイコンとかは頻繁に変えたいような気もする。",{"type":26,"tag":82,"props":382,"children":384},{"id":383},"まとめ",[385],{"type":31,"value":383},{"type":26,"tag":27,"props":387,"children":388},{},[389],{"type":31,"value":390},"ここまで書いててすでに楽しいので施策は成功！って気がする。",{"type":26,"tag":27,"props":392,"children":393},{},[394,396,399],{"type":31,"value":395},"改善案もどんどん出てくるのでモノづくり的な観点としてもいい感じですね。",{"type":26,"tag":52,"props":397,"children":398},{},[],{"type":31,"value":400},"\nやっぱツール作るのたのしい。",{"title":9,"searchDepth":402,"depth":402,"links":403},4,[404,409,415,419],{"id":84,"depth":405,"text":84,"children":406},2,[407],{"id":115,"depth":408,"text":115},3,{"id":185,"depth":405,"text":185,"children":410},[411,412,413,414],{"id":225,"depth":408,"text":225},{"id":252,"depth":408,"text":252},{"id":272,"depth":408,"text":275},{"id":298,"depth":408,"text":298},{"id":353,"depth":405,"text":353,"children":416},[417,418],{"id":358,"depth":408,"text":358},{"id":368,"depth":408,"text":368},{"id":383,"depth":405,"text":383},"markdown","content:post:2026-07-20.md","content","post\u002F2026-07-20.md","post\u002F2026-07-20","md",{"_path":427,"_dir":7,"_draft":8,"_partial":8,"_locale":9,"title":428,"description":9,"category":429,"tags":430,"sumb":432,"sumb_alt":433,"createdAt":434,"updatedAt":434,"excerpt":435,"body":447,"_type":420,"_id":542,"_source":422,"_file":543,"_stem":544,"_extension":425},"\u002Fpost\u002F2022-12-23","CMSその後",[13],[15,431],"旧ブログ","no-image-logo.png","no image image","2022-12-23 21:00",{"type":23,"children":436},[437,442],{"type":26,"tag":82,"props":438,"children":440},{"id":439},"色々考えた結果",[441],{"type":31,"value":439},{"type":26,"tag":27,"props":443,"children":444},{},[445],{"type":31,"value":446},"色々と検討した結果、結局Wordpress継続でいきます。",{"type":23,"children":448,"toc":535},[449,453,457,467,472,477,482,487,500,510,515,530],{"type":26,"tag":82,"props":450,"children":451},{"id":439},[452],{"type":31,"value":439},{"type":26,"tag":27,"props":454,"children":455},{},[456],{"type":31,"value":446},{"type":26,"tag":27,"props":458,"children":459},{},[460,462,465],{"type":31,"value":461},"（ので12か月追加で借りました。。。）",{"type":26,"tag":52,"props":463,"children":464},{},[],{"type":31,"value":466},"\nGhostかなり良さそうだったけどjsなのでAppサーバーが必要で円安のおかげで維持費が厳しい。。。",{"type":26,"tag":82,"props":468,"children":470},{"id":469},"検討内容",[471],{"type":31,"value":469},{"type":26,"tag":27,"props":473,"children":474},{},[475],{"type":31,"value":476},"費用面と運用面の2点を簡単に考えて断念。",{"type":26,"tag":113,"props":478,"children":480},{"id":479},"費用面",[481],{"type":31,"value":479},{"type":26,"tag":27,"props":483,"children":484},{},[485],{"type":31,"value":486},"ざっと計算すると",{"type":26,"tag":134,"props":488,"children":489},{},[490,495],{"type":26,"tag":128,"props":491,"children":492},{},[493],{"type":31,"value":494},"EC2が4ドルくらい",{"type":26,"tag":128,"props":496,"children":497},{},[498],{"type":31,"value":499},"EBSが1ドルくらい",{"type":26,"tag":27,"props":501,"children":502},{},[503,505,508],{"type":31,"value":504},"雑計算で合計で800円くらいになるので、×12か月分となると1万円に",{"type":26,"tag":52,"props":506,"children":507},{},[],{"type":31,"value":509},"\nEC2は既にいくつか動かしていて、ランニングコストを下げたい感じなので厳しい。。。",{"type":26,"tag":113,"props":511,"children":513},{"id":512},"運用面",[514],{"type":31,"value":512},{"type":26,"tag":27,"props":516,"children":517},{},[518,520,523,525,528],{"type":31,"value":519},"Linuxで建てるとはいえ、さすがにセキュリティアップデートなどの世話を全くしないのも微妙。",{"type":26,"tag":52,"props":521,"children":522},{},[],{"type":31,"value":524},"\nとはいえサーバレスで建てるやる気も費用もないのでその辺が気にならない方式のほうがいいな。",{"type":26,"tag":52,"props":526,"children":527},{},[],{"type":31,"value":529},"\nとなるとレンタルサーバーが圧倒的に強い。",{"type":26,"tag":27,"props":531,"children":532},{},[533],{"type":31,"value":534},"どうしたものか・・・",{"title":9,"searchDepth":402,"depth":402,"links":536},[537,538],{"id":439,"depth":405,"text":439},{"id":469,"depth":405,"text":469,"children":539},[540,541],{"id":479,"depth":408,"text":479},{"id":512,"depth":408,"text":512},"content:post:2022-12-23.md","post\u002F2022-12-23.md","post\u002F2022-12-23",[546,549,552,554,555,556,558,559,561,563,565,567,569,571,574,576,578,580,582,584,586,588,590,592,594,596,598,600,602,604,606,608,610,612,613],{"tag":547,"count":548},"AI",6,{"tag":550,"count":551},"AI初心者講座",5,{"tag":553,"count":408},"エディタ",{"tag":431,"count":408},{"tag":16,"count":408},{"tag":557,"count":405},"WordPress",{"tag":15,"count":405},{"tag":560,"count":405},"Sony",{"tag":562,"count":405},"グルメ",{"tag":564,"count":405},"TWS",{"tag":566,"count":405},"Ape",{"tag":568,"count":405},"iPad",{"tag":570,"count":405},"買ってよかったもの",{"tag":572,"count":573},"PC",1,{"tag":575,"count":573},"Windows",{"tag":577,"count":573},"Radeon",{"tag":579,"count":573},"Android",{"tag":581,"count":573},"Xperia",{"tag":583,"count":573},"スマホ",{"tag":585,"count":573},"Audio-Technica",{"tag":587,"count":573},"YAMAHA",{"tag":589,"count":573},"radius",{"tag":591,"count":573},"Noble Audio",{"tag":593,"count":573},"FALCON2",{"tag":595,"count":573},"レシピ",{"tag":597,"count":573},"ソーラー",{"tag":599,"count":573},"妄想シリーズ",{"tag":601,"count":573},"3Dプリンター",{"tag":603,"count":573},"ルーター",{"tag":605,"count":573},"OpenWrt",{"tag":607,"count":573},"Proxmox",{"tag":609,"count":573},"AWS",{"tag":611,"count":573},"Bedrock",{"tag":17,"count":573},{"tag":18,"count":573},[615,617,619,621,623,625,627],{"category":13,"count":616},11,{"category":618,"count":548},"ものづくり・DIY",{"category":620,"count":551},"勉強",{"category":622,"count":402},"ガジェット・オーディオ",{"category":624,"count":402},"ライフスタイル・雑記",{"category":626,"count":405},"クルマ・バイク",{"category":628,"count":573},"インフラ・NW",1786366042752]