{"repo":"victornpb/notion-jam","free":true,"listed":false,"github":"https://github.com/victornpb/notion-jam","clone":"git clone https://github.com/victornpb/notion-jam.git","description":"Sync pages from Notion to GitHub to be used as a static website (JAM)","language":"JavaScript","stars":81,"topics":["github-actions","github-pages","jamstack","notion","notion-integrations","cli","markdown"],"license":null,"category":"cli-tools","readme_excerpt":"notion-jam Sync pages from Notion to GitHub to be used as a static website ([JAM][jamstack]) - Notion pages are converted to markdown files. - Database properties are automatically added as yaml frontmatter - All images are downloaded locally and path rewritten to relative paths - Page cover is downloaded - Thumbnail property is added automatically to the frontmatter using page cover, first image, icon, or image number (configured by post) --- Usage Quick Start 1. Create a new Notion Integration 2. Add Notion secret to GitHub repository 1. Go to github.com/{user}/{repo}/settings/secrets/actions 2. Set NOTION SECRET of Notion to your repository secret. 3. Share the Database with the integration 4. Create a workflow in .github/workflows/ .yml of your repository ### Example Workflow Configuration Parameters Name Description Required Default --- --- --- --- NOTION SECRET Notion API Token secret ✅ NOTION DATABASE Notion Database URL or ID (example: https://notion.so/00112233445566778899aabbccddeeff) ✅ FILTER PROP Property on the database used to query pages Status FILTER VALUES Return pages with the FILTER PROP is equal this list of values Ready,Published CONVERT PROP CASE Convert the database property names before adding to the frontmatter (camel,pascal,kebab,snake,none) snake ARTICLE PATH Path template to where to save markdown files posts/{title}/README.md ASSETS PATH Path to save images, if started with . will be relative to ARTICLE PATH, otherwise absolute ./ PARALLEL PAGES F","default_branch":null,"files":null,"tree":[],"storefront":"/r/victornpb","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/victornpb/notion-jam/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."}