All Projects → nategadzhi → notoma

nategadzhi / notoma

Licence: Apache-2.0 license
Use Notion as your blogging editor, with any static gen blog engine. Notoma converts Notion pages to Markdown files.

Programming Languages

python
139335 projects - #7 most used programming language
Jupyter Notebook
11667 projects
Jinja
831 projects
Makefile
30231 projects

Projects that are alternatives of or similar to notoma

notion-down
Notion >> Markdown. Python utility that converts Notion pages into MD files, along with intergation to build static webpages such as Hexo | 自动从 Notion 笔记生成 MD 文件,并部署到 Hexo 静态博客 | Notion Pages より Markdown Files をコンバートする、更に Hexo Webpages までの自動化も可能
Stars: ✭ 81 (+102.5%)
Mutual labels:  hexo, notion, notion-blog, notion-markdown
Awesome Static Hosting And Cms
A collection of awesome static hosting & CMS providers
Stars: ✭ 163 (+307.5%)
Mutual labels:  jekyll, hexo, static-site
Themes
Dr. Jekyll's Themes - Add Your Theme!
Stars: ✭ 93 (+132.5%)
Mutual labels:  jekyll, static-site
Create Static Site
Create static websites with no build configuration.
Stars: ✭ 124 (+210%)
Mutual labels:  jekyll, static-site
Pendulum
A simple markdown editor for static files (Hugo, Nexo, Jekyll, MkDocs, ...)
Stars: ✭ 157 (+292.5%)
Mutual labels:  jekyll, static-site
Awesome Docs With Static Site Generators
Pointers to all templates and implementations based on static site generators
Stars: ✭ 44 (+10%)
Mutual labels:  jekyll, hexo
Jekyll Netlify Boilerplate
A simple Jekyll template for creating a fast, static website on Netlify
Stars: ✭ 62 (+55%)
Mutual labels:  jekyll, static-site
Editorial Jekyll Theme
A Jekyll version of the "Editorial" theme by HTML5 UP.
Stars: ✭ 121 (+202.5%)
Mutual labels:  jekyll, static-site
Post Scheduler
Schedule posts & content updates for static websites (Jekyll, Hugo, Gatsby, Phenomic etc)
Stars: ✭ 184 (+360%)
Mutual labels:  jekyll, hexo
Jekyll Doc Theme
Jekyll theme for creating project documentation websites
Stars: ✭ 203 (+407.5%)
Mutual labels:  jekyll, static-site
nobelium
A static blog build on top of Notion and NextJS, deployed on Vercel.
Stars: ✭ 1,790 (+4375%)
Mutual labels:  notion, notion-blog
Ng Static Site Generator
ng-static-site-generator is a webpack-based command line build tool that builds an Angular app and Jekyll-style blog entry html files into a static html and css website. It also supports building a client app so you can have static pages that are also capable of running dynamic functionality coded in Angular.
Stars: ✭ 42 (+5%)
Mutual labels:  jekyll, static-site
Jekyll Boilerplate
Helpful files to get started working on a new Jekyll website
Stars: ✭ 30 (-25%)
Mutual labels:  jekyll, static-site
Laraduoshuo
Laravel 5 实现的私有评论系统,用于 Hexo、Jekyll 等静态博客系统
Stars: ✭ 92 (+130%)
Mutual labels:  jekyll, hexo
Forty Jekyll Theme
A Jekyll version of the "Forty" theme by HTML5 UP.
Stars: ✭ 695 (+1637.5%)
Mutual labels:  jekyll, static-site
eventually-jekyll-theme
A Jekyll version of the "Eventually" theme by HTML5 UP.
Stars: ✭ 26 (-35%)
Mutual labels:  jekyll, static-site
dimension-jekyll-theme
A Jekyll version of the "Dimension" theme by HTML5 UP.
Stars: ✭ 29 (-27.5%)
Mutual labels:  jekyll, static-site
forever-jekyll
A simple, elegant & full featured Jekyll theme.
Stars: ✭ 26 (-35%)
Mutual labels:  jekyll, static-site
Vanilla Back To Top
Simple and smooth Back To Top button
Stars: ✭ 179 (+347.5%)
Mutual labels:  jekyll, hexo
pagely
Launch beautiful websites straight from your Notion workspace or from your GitHub repo
Stars: ✭ 63 (+57.5%)
Mutual labels:  static-site, notion

Notoma

Write articles for your static gen blog in Notion.

pypi Linters


Install

Notoma is available via Pip or Homebrew:

# Installing with pip, use this if you plan using Notoma as a python library.
pip install notoma

Installing with Homebrew on Mac OS.

brew install nategadzhi/notoma/notoma

What can you do with Notoma

Notoma provides commands to:

  • Convert contents of your Notion Blog database to a bunch of Markdown files.
  • Coming soon: Watch Notion Blog database for updates and regenerate Markdown files on any updates.
  • Coming soon: Create a new Notion database for your Blog with all required fields.

Basic usage example: this command will convert only published posts from a Notion blog database to the ./posts/ directory.

notoma convert --dest ./posts/

This example assumes that you have a .env config file with authentication and blog url parameters in it.

Authenticating in Notion

Notoma uses an internal Notion API, and that, unfortunately, requires you to provide an authentication token token_v2 that you can find in your notion.so cookes.

You can provide token_v2 option to every command line call, or store it in your environment, or .env config file.


Notion database structure

Notoma has very few expectations about how your Notion is structured. Here's a public example database.

Notoma requires that your Notion blog database has the following properties:

  • Published: whether the article is published, or is still a draft
  • Title: Will be used to create a file name for that article's Markdown equivalent file. Won't be used in the article itself.

Notoma tries to parse other properties and add them as front matter into the resulting Markdown articles:

  • Published at will be used as publicataion date for the article, if present.
  • Categories will be used as categories front matter key, so it's expected to be a multiple choice propery.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].