Make a website from your Notion notes with this simple boilerplate.
This boilerplate will quickly get your website up and running with the HTML export from Notion. It includes a simple header, footer, and ajax search function.
This library used to try to fetch an export from Notion directly, but the internal API keeps changing and the official API doesn't provide an export endpoint. So, the best way to get your content is to manually export your Notion notes to HTML and upload the zip file to the server.
- Web Server Running Apache with PHP > 7.2
php-zip
extension- Notion HTML Export file
- Clone the repository to your web folder
git clone https://github.com/andreas-globi/notion-website.git .
- Copy the Notion HTML Export Zip file into the
zips
folder - Run
extract.php
from the command linephp extract.php
- Update the
config/vars.php
file with your settings - Visit the website in your browser
- Enjoy!
- Copy the new Notion HTML Export Zip file into the
zips
folder - Run
extract.php
from the command linephp extract.php
- Simple Header and Footer
- Ajax Search Function
- Responsive Design
- Easy to Customize
- Fast Loading
- SEO Friendly
This project is licensed under the GNU AGPLv3 License - see the LICENSE.txt file for details.