News for hackers. Stuff that matters.
Re:Show HN: I built a website builder on top of Notion by yawnxyz on Thursday October 21, 2021 @04:41PM (#28950569)
Hmm I built something like this on top of Svelte Cloudflare workers API, and the configs controller for the site itself is using a Notion table.

The reason I built this to replace a Wordpress site is because the rest of our ecosystem is a bunch of Svelte apps, and with this we could just drop content from Notion straight into our site.

We can even use fancy pants things like synced blocks for site-wide announcements, etc. etc.

One caveat with using Notion though is that without a good caching strategy (which we don't have), the site's going to be pretty slow, because Notion's API just fetches block by block. You have to have a "cache mode" for production - something that fetches and caches every X amount of time, and have users hit the cache rather than straight from Notion, since it sometimes can take 10+ seconds, which will time out your worker.

Re:Show HN: I built a website builder on top of Notion by zapt02 on Thursday October 21, 2021 @05:05PM (#28950832)
Re:Show HN: I built a website builder on top of Notion by ignoramous on Thursday October 21, 2021 @06:22PM (#28951537)
Re:Show HN: I built a website builder on top of Notion by noahbragg on Thursday October 21, 2021 @06:01PM (#28951351)
yeah, that makes sense. Potion actually recreates all the Notion blocks from scratch and then hosts it statically. Thats how we get around that issue.