notion2svelte Svelte Themes

Notion2svelte

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


Simple mashup of Notion & Svelte logos

@nvlgzr/notion2svelte (n2s)

Fetches pages from Notion and renders them as .svelte files

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

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)

Top categories

Loading Svelte Themes