Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Investigate: Migrate deployment from Netlify to Cloudflare

オープン
#274 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
38/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
next.js, node.js
領域
cloud, devops, web-dev

調査の方向性

2つのアダプターオプションを Next.js アプリと比較し、Sentry の設定、src/utils/blogPosts.tsx の getBlogContent()、netlify.toml、および @netlify/plugin-nextjs を確認します。動的インポートと generate:all の Node.js ビルドステップが機能することを確認し、その後、ブランチまたはプレビュー環境に proof-of-concept デプロイを作成して、後続の移行変更を文書化します。

索引モデルが issue の本文から書いたものです。

説明

Motivation

Netlify has sparse documentation and has proven unreliable. The site has no stateful backend (no long-running process, no in-memory state, no WebSockets) — it's a Next.js app with static generation and edge-compatible server components, making it a good fit for Cloudflare's edge runtime.

Investigation scope

Pick an adapter

Two options for running Next.js on Cloudflare:

  1. @cloudflare/next-on-pages — Cloudflare's official adapter. Compiles Next.js output to run on Cloudflare Pages (V8 isolate runtime, not Node.js). Straightforward but stricter — anything using Node-specific APIs at runtime will break.
  2. opennextjs-cloudflare (OpenNext) — Community-driven, broader Next.js compatibility, handles more Node.js edge cases. Generally more capable for complex apps.

Assess which is the better fit and document the reasoning.

Known potential pain points to investigate
  • Sentry (@sentry/nextjs) — needs Cloudflare-specific configuration; assess whether it works out of the box or requires changes
  • Dynamic imports of compiled post files — getBlogContent() in src/utils/blogPosts.tsx uses dynamic imports of .mjs files from src/generated/mdx/; verify these work in the edge runtime
  • netlify.toml / @netlify/plugin-nextjs — both go away; document what replaces them
  • Build pipeline — the generate:all step runs in Node.js at build time, so it should be unaffected; confirm this
Deliverable

A proof-of-concept deploy on a branch/preview environment, plus a follow-up issue documenting what needs to change for a full migration.

主要言語
MDX
スター
3
フォーク
1
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

dwjohnston/blacksheepcode のほかの issue

dwjohnston/blacksheepcode の issue をすべて見る

似ている issue

Cloud の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。