Skip to content

About

Template for Notion as Code Project

Resources

Stars

23 stars

Watchers

0 watching

Forks

Repository files navigation

Notion-as-Code project

Notion-as-Code lets you describe Notion workspace structure — teamspaces, pages, databases, and entries — as TypeScript, then apply it with the Notion CLI. Re-applying updates the same resources instead of creating duplicates.

Alpha: Notion-as-Code is experimental and not publicly available; the API may reject requests in some environments.

Prerequisites

  • The Notion CLI (ntn)
  • ntn login (once per workspace)

Quick start

Install dependencies with your package manager:

npm install

or:

pnpm install

Then apply the project:

ntn notion-as-code apply .

Then edit src/main.ts (and the files it imports) and re-run ntn notion-as-code apply . to update the same resources.

See AGENTS.md for the full authoring guide.

About

Template for Notion as Code Project

Resources

Stars

23 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages