{"repo":"MerkulovDaniil/notion4ever","free":true,"listed":false,"github":"https://github.com/MerkulovDaniil/notion4ever","clone":"git clone https://github.com/MerkulovDaniil/notion4ever.git","description":"🏛 Python tool for export all your content of Notion page using official Notion API. Includes: all nested subpages, markdown files and HTMLs, nice urls, downloading locally all its content.","language":"Python","stars":177,"topics":["notion","notion-api","static-site","python","markdown"],"license":"MIT","category":"databases-storage","readme_excerpt":"NOTION4EVER Notion4ever is a small python tool that allows you to free your content and export it as a collection of markdown and HTML files via the official Notion API. ✨ Features Export ready to deploy static HTML pages from your Notion.so pages. Supports nice urls. Downloads all your Notion content, which is accessible via API to a raw JSON file. Uses official Notion API (via notion-sdk-py, but you can use curls if you want). Supports arbitrary page hierarchy. Supports galleries and lists Note that Notion API does not provide information about the database view yet. That is why notion4ever will render the database as a list if any database entries do not have a cover. Suppose all entries have covers, then it will be displayed as a gallery. Lightweight and responsive. Downloads all your images and files locally (you can turn this off if you prefer to store images\\files somewhere else). 💻 How to run it locally Just copy or clone the content of this repository and run. 🤖 How to run it automatically with Github actions I will demonstrate it on the specific example of my site. Notion page - Github repository ✅ Step 1. Create/choose some page in Notion. 1. We will need the page ID. For example, the page with URL https://fmin.notion.site/Danya-Merkulov-12e3d1659a444678b4e2b6a989a3c625 has the following ID: 12e3d1659a444678b4e2b6a989a3c625 . 1. Also, we will need to create a Notion API token. Go to Notion.so/my-integrations - Create new integration . Type the name of the integra","default_branch":null,"files":null,"tree":[],"storefront":"/r/MerkulovDaniil","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/MerkulovDaniil/notion4ever/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."}