Custom domain and pretty URLs
+Serve your Notion Site on your own domain and map pages to readable paths such as /about or /blog.
+diff --git a/index.html b/index.html index 75c26b9..6c20d1b 100644 --- a/index.html +++ b/index.html @@ -2,109 +2,367 @@
+ +Free and open source
++ Worknot generates a Cloudflare Worker script that serves + your published Notion pages on your custom domain, with + pretty URLs, SEO metadata and analytics. +
+ +Your visitors open
+https://www.example.com/about
+Cloudflare Worker generated by Worknot
+ +Your page on Notion Sites
+https://example.notion.site/About-1a2b3c
++ Configure each option in the generator below. Worknot is + maintained by + Classmethod (Europe) GmbH, + a Cloudflare and Notion partner. +
+Serve your Notion Site on your own domain and map pages to readable paths such as /about or /blog.
+Set page titles, descriptions, Open Graph tags, JSON-LD, hreflang, a sitemap.xml and an RSS feed.
+Add Google Analytics 4 or a Facebook Pixel without changing your Notion pages.
+Resize, convert and compress Notion images at the edge with Cloudflare Image Transformations.
+Add custom CSS and JavaScript, a Google Font, your favicon, header HTML and a custom 404 page.
+Every day at 06:00 UTC, a scheduled job checks Notion's client code and opens a GitHub issue when something changes.
++ You need a page published with Notion Sites and a domain + whose DNS is managed by Cloudflare. +
+In Notion, open Share, choose Publish and copy the notion.site URL of your page.
+Enter your domain and the Notion URL below, add pretty links and optional settings, then copy the script.
+In the Cloudflare dashboard, create a Worker, replace its code with the script and deploy it.
+Add your domain to the Worker as a Custom Domain. Your Notion Site is now available at your own address.
++ The script is generated in your browser as you type. Your + settings are not sent anywhere. +
+Yes. Worknot is open source under the MIT License. You need a Cloudflare account to run the Worker. A first visit to a Notion Site makes roughly 700 Worker requests, so the Workers Free plan (100,000 requests per day) suits small sites. Use Workers Paid for sites with regular traffic.
+No. Worknot works with any page you publish to the web with Notion Sites. It does not use Notion's own custom domain feature.
+A GitHub Actions workflow checks Notion's client code and renders a test site every day at 06:00 UTC, and opens an issue when something changes. When a fix is released, generate the script again here and redeploy your Worker.
+No. The generator runs entirely in your browser and does not send your settings anywhere. Your site's traffic goes through the Worker in your own Cloudflare account.
+Worknot started as a fork of Fruition by Stephen Ou. Classmethod (Europe) GmbH maintains it and keeps it compatible with current Notion Sites.
+無料・オープンソース
++ Worknot は、Notion Sites で公開したページを独自ドメインで配信する + Cloudflare Worker のスクリプトを生成します。読みやすい URL、SEO + メタデータ、アナリティクスにも対応しています。 +
+ +訪問者が開く URL
+https://www.example.com/about
+Worknot が生成する Cloudflare Worker
+ +Notion Sites のページ
+https://example.notion.site/About-1a2b3c
++ 各機能は下のジェネレーターで設定できます。Worknot は、Cloudflare と + Notion のパートナーである + Classmethod (Europe) GmbH + がメンテナンスしています。 +
+Notion Sites のページを独自ドメインで配信し、/about や /blog のような読みやすいパスに割り当てられます。
+ページタイトル、説明文、Open Graph タグ、JSON-LD、hreflang、sitemap.xml、RSS フィードを設定できます。
+Notion のページを変更せずに、Google Analytics 4 や Facebook Pixel を追加できます。
+Cloudflare Image Transformations で、Notion の画像をエッジでリサイズ、変換、圧縮します。
+カスタム CSS と JavaScript、Google Fonts のフォント、ファビコン、ヘッダー HTML、カスタム 404 ページを追加できます。
+毎日 06:00 UTC に Notion のクライアントコードを自動でチェックし、変更があれば GitHub に Issue を作成します。
++ Notion Sites で公開したページと、DNS を Cloudflare で管理しているドメインが必要です。 +
+Notion で「共有」を開いて「公開」を選び、ページの notion.site の URL をコピーします。
+下のフォームにドメインと Notion の URL を入力し、必要に応じて Pretty Link やオプションを設定して、スクリプトをコピーします。
+Cloudflare のダッシュボードで Worker を作成し、コードをスクリプトに置き換えてデプロイします。
+Worker にドメインをカスタムドメインとして追加します。これで Notion Sites のページが独自ドメインで表示されます。
++ スクリプトは入力に合わせてブラウザー内で生成され、設定内容はどこにも送信されません。フォームは英語表記です。 +
+はい。Worknot は MIT ライセンスのオープンソースです。Worker を動かすには Cloudflare のアカウントが必要です。Notion Sites のページを初めて開くと Worker へのリクエストが約 700 件発生するため、Workers Free プラン(1 日 100,000 リクエスト)は小規模なサイト向けです。継続的にアクセスがあるサイトでは Workers Paid をお使いください。
+いいえ。Notion Sites で Web に公開したページであれば利用できます。Notion の独自ドメイン機能は使用しません。
+GitHub Actions のワークフローが毎日 06:00 UTC に Notion のクライアントコードのチェックとテストサイトの表示確認を行い、変更を検出すると Issue を作成します。修正がリリースされたら、このページでスクリプトを生成し直し、Worker を再デプロイしてください。
+いいえ。ジェネレーターはすべてブラウザー内で動作し、設定内容をどこにも送信しません。サイトへのアクセスは、お使いの Cloudflare アカウントの Worker を経由します。
+Worknot は Stephen Ou 氏が開発した Fruition のフォークとして始まりました。現在は Classmethod (Europe) GmbH がメンテナンスし、最新の Notion Sites に対応させています。
+