No release in over a year
Import posts from notion
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
~> 13.0
~> 3.0
~> 3.18.1

Runtime

>= 3.7, < 5.0
 Project Readme

jekyll-notion-import

Gem Version RSpec

Adds a command to jekyll to import the content of a notino database to the _posts folder. Updates existing posts, but doesn't delete them.

Usage

Install the gem

Add the following to your site's Gemfile

gem 'jekyll-notion-import'

Add the following to your jekyll config:

plugins:
  - jekyll-notion-import

Get your Notion integration token

Get a token from Notion by creating an integration and giving it read permissions on the database you want to import.

Add the token as an env var locally (via something like direnv), or if running this command remotely, add it to your build environment:

export NOTION_TOKEN=<token value>

Configure Jekyll to read from the database

In your _config.yml, add the section that defines the database. THis currently uses the same format as laid out here

Run the command

jekyll notion_import

Acknowledgements

Enrique Arias for

Orbit for Notion Ruby Client