{"repo":"innolitics/n2y","free":true,"listed":false,"github":"https://github.com/innolitics/n2y","clone":"git clone https://github.com/innolitics/n2y.git","description":"Notion to YAML (and Markdown)","language":"Python","stars":26,"topics":["cms","markdown","notion","yaml","notion-api","notion-py","word"],"license":null,"category":"cli-tools","readme_excerpt":"Notion to YAML This commandline tool exports data from selected Notion pages and databases into YAML and markdown files. Internally, it converts the Notion pages into a Pandoc AST, which enables fine-grained customization of the conversion process. We use it at Innolitics to generate pages for our website, thus allowing us to use Notion as a content management system. We also use it to generate PDFs and Word Documents from Notion pages. Installation Install first pandoc and mermaid CLIs. Please note that n2y has only been tested with pandoc 2.19.2 and mermaid-cli 9.4.0 . This pandoc link will take you to their 2.19.2 github releases page. This mermaid link will take you to their github page where you will find installation instructions. If using npm to install mermaid , append @9.4.0 to the npm command to install that specific version. Finally, install n2y : Authorization Before you'll be able to export any content from your Notion account you'll first need to give n2y permission to access the pages. You'll need to be an admin. To do this, go to the \"Settings and Members\" page in Notion. You should see an \"Integrations\" option in the side bar. Click the link that says \"Develop your own integrations\" and follow the instructions on the page. Copy the \"Internal Integration Token\" into the NOTION ACCESS TOKEN environment variable. Finally, in Notion you'll need to share the relevant pages with your internal integration---just like you'd share a page with another person. Configura","default_branch":null,"files":null,"tree":[],"storefront":"/r/innolitics","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/innolitics/n2y/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."}