notion-md-gen
allows you to use Notion as a CMS for pages built with any static site generators. You can use it as a
cli or even automate your blog repo to update itself with the Github Action.
- Notion database for your articles.
- Notion API secret token.
- A blog by any static site generators.
curl -sSf https://raw.githubusercontent.com/bonaysoft/notion-md-gen/master/install.sh | sh
curl https://webinstall.dev/notion-md-gen | bash
brew install notion-md-gen
cd your-blog-dir
notion-md-gen init
notion-md-gen
The installation command tool is helpful for local debugging. If you do not want to debug locally, you can also copy the configuration file to your project and run it directly through GitHubAction. You can see the example config in example/notion-md-gen.yaml.
To use it as a Github Action, you can follow the example of the repository in .github/worflows/notion.yml.
See CONTRIBUTING for details on submitting patches and the contribution workflow.
I based this code on https://github.com/xzebra/notion-blog
notion-md-gen is under the MIT license. See the LICENSE file for details.