{"id":19565233,"url":"https://github.com/t18n/notion-cloudflare-worker","last_synced_at":"2025-04-27T01:30:45.707Z","repository":{"id":46245880,"uuid":"315759096","full_name":"t18n/notion-cloudflare-worker","owner":"t18n","description":"A Github Action CI wrapper for Fruition setup for automatic deployment to CloudFlare Worker, to help you use your Notion with custom domain","archived":false,"fork":false,"pushed_at":"2023-01-07T23:44:36.000Z","size":419,"stargazers_count":23,"open_issues_count":5,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-04T19:11:32.567Z","etag":null,"topics":["cloudflare-workers","githubactions","typescript","wrangler"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/t18n.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-24T21:41:49.000Z","updated_at":"2025-01-24T18:15:33.000Z","dependencies_parsed_at":"2023-02-08T03:31:50.167Z","dependency_job_id":null,"html_url":"https://github.com/t18n/notion-cloudflare-worker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t18n%2Fnotion-cloudflare-worker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t18n%2Fnotion-cloudflare-worker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t18n%2Fnotion-cloudflare-worker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t18n%2Fnotion-cloudflare-worker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/t18n","download_url":"https://codeload.github.com/t18n/notion-cloudflare-worker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251076728,"owners_count":21532578,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloudflare-workers","githubactions","typescript","wrangler"],"created_at":"2024-11-11T05:25:43.389Z","updated_at":"2025-04-27T01:30:45.444Z","avatar_url":"https://github.com/t18n.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Personal Blog with Notion and CI deploy for CloudFlare Workers\n\nI have been a [Notion](https://notion.so) user for well over a year and really enjoyed it. I have been using it heavily for note taking and interested in turning it to my personal blog, so I don't have to maintain the content separately. While Notion still do not provide support for custom domain, there are some solutions out there like Super, NotionHost, Potion, etc. offering you a solution for a few bucks a month. I've tried only Super but later switch to Fruition due to its flexibility and I can have more control over the code. Please visit [Fruition](https://fruitionsite.com/) first before continue digging to this repo.\n\nThis is a CI wrapper for [Fruition](https://fruitionsite.com/) for automatic deployment to CloudFlare. The reason I wanted this is because:\n- Editting flexibility: I want to be able to quickly add a `slug`, run `git push` and have my Worker updated automatically instead of going through CloudFlare dashboard.\n- Code versioning, of course\n\n## Set up your site\n1. Follow [Fruition](https://fruitionsite.com/) tutorial to set up your Notion `hello-world` site first, once it is running, get back here.\n2. Clone this project\n3. Create a Github repo, add `Secrets` for accessing CloudFlare with [this guide](https://developers.cloudflare.com/workers/learning/getting-started#6-configure-your-project-for-deployment)\n  - `CF_API_TOKEN`: Your CF token\n  - `CF_ACCOUNT_ID`: Your Worker account id\n  - `CF_ZONE_ID`: Zone ID to deploy to\n4. Config `wrangler.toml` file, change\n  - `name` to the name of your worker\n  - `route` to the route you want to serve your content\n5. Push your change to Github and check CloudFlare Workers, you should see it deployed.\n\n## Resources\n- [Wrangler Action](https://github.com/cloudflare/wrangler-action)\n- [Wrangler Configuration](https://developers.cloudflare.com/workers/cli-wrangler/configuration)\n- [Fruition](https://fruitionsite.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ft18n%2Fnotion-cloudflare-worker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ft18n%2Fnotion-cloudflare-worker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ft18n%2Fnotion-cloudflare-worker/lists"}