{"repo":"the-guild-org/notion-github-sync","free":true,"listed":false,"github":"https://github.com/the-guild-org/notion-github-sync","clone":"git clone https://github.com/the-guild-org/notion-github-sync.git","description":"A CloudFlare Worker / script / bot to sync Notion pages publicly as GitHub Discussions.","language":"TypeScript","stars":37,"topics":["bot","github","notion","sync","utility","cloudflare","cloudflare-workers","worker","the-guild"],"license":null,"category":"workflow-automation","readme_excerpt":"notion-github-sync This bot syncs public Notion pages as GitHub Discussions/Issues. It's done periodically, based on the pages shared with the Notion Integration, and based on metadata specific on your Notion page. Usage To use this tool, please make sure to have the following: 1. Deploy this tool or run it locally with the relevant env vars. 2. Make sure to add the user your wish to use as collaborator in your repos (this is needed only in order to delete Discussions) 3. To make a Notion page public and syncable, first make sure to share this page with the Notion Integration you created: 4. If you wish to make the Notion page public (with the Notion url), also tick Share to web : 5. Annotate the top of your Notion page with the repo you wish to sync the page with the following text (NOT as code block, just as text - this should be the first block of your Notion page): You can also specify a custom GitHub Discussion category (the default is General): Or, as an issue: You can also specify a custom GitHub Discussion category (the default is General): You can find a synced example page here: https://github.com/dotansimha/test-notion-sync/discussions/12 To remove a public discussion: 1. Make sure to delete the annotation from your page. 2. Wait for the next sync (or, manually run it) 3. You can also remove now the integration access from the page. Getting started (development) 1. Clone this repo 2. Make sure to install Wrangler CLI: https://developers.cloudflare.com/workers/wrang","default_branch":null,"files":null,"tree":[],"storefront":"/r/the-guild-org","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/the-guild-org/notion-github-sync/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}