Skip to content

Make a website from your Notion notes with this simple boilerplate.

License

Notifications You must be signed in to change notification settings

andreas-globi/notion-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notion HTML Export Website Boilerplate

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.

Requirements

  • Web Server Running Apache with PHP > 7.2
  • php-zip extension
  • Notion HTML Export file

Installation

  1. Clone the repository to your web folder
    git clone https://github.com/andreas-globi/notion-website.git .
    
  2. Copy the Notion HTML Export Zip file into the zips folder
  3. Run extract.php from the command line
    php extract.php
    
  4. Update the config/vars.php file with your settings
  5. Visit the website in your browser
  6. Enjoy!

Update Content

  1. Copy the new Notion HTML Export Zip file into the zips folder
  2. Run extract.php from the command line
    php extract.php
    

Features

  • Simple Header and Footer
  • Ajax Search Function
  • Responsive Design
  • Easy to Customize
  • Fast Loading
  • SEO Friendly

Examples

License

This project is licensed under the GNU AGPLv3 License - see the LICENSE.txt file for details.

About

Make a website from your Notion notes with this simple boilerplate.

Topics

Resources

License

Stars

Watchers

Forks