Skip to content

A simple Node CLI for transforming pages from a Notion database into *.svelte pages in a Svelte Kit website

License

Notifications You must be signed in to change notification settings

nvlgzr/notion2svelte

Repository files navigation

Stargazers Issues MIT License


Simple mashup of Notion & Svelte logos

@nvlgzr/notion2svelte (n2s)

Fetches pages from Notion and renders them as .svelte files

Notion → notion2svelte → .svelte file

Explore the docs »

Report a Bug ֍ Request a Feature ֍ Say Hi

Summary

Presumably if you're reading this, you don't need convincing that Notion.so is one of the most pleasant ways to express your thoughts through your fingertips. And presumably you also need no convincing when it comes to choosing SvelteKit (or at least Svelte) as your tool of choice for wrangling HTML, CSS, and (sometimes) JS. If you do need convincing, try this and this.

So the basic goal is clear:

  • Write pages in Notion

  • Run notion2svelte

  • Magically see that page content appear in your Svelte app

    Page in Notion → notion2svelte → ready-to-render .svelte file

For more about what sets notion2svelte apart, how it works, etc., the docs provide a high level overview.

Getting Started

The premise is simple: point notion2svelte at the database of your choice, and watch as it spits working .svelte files into your existing project. Still, this is early days, so the experience is far from optimized.

With that caveat firmly on the table, here's notion2svelte in 10 minutes.

(back to top)

License

Distributed under the MIT License.

(back to top)

About

A simple Node CLI for transforming pages from a Notion database into *.svelte pages in a Svelte Kit website

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published