9 ms·
Using Notion as a headless CMS for our blog
- jackconsidine 4y agoOh man, we do something similar and I highly recommend. Our markdown is added as a Netlify article which is built with Astro and statically generated- from pulling down on datanarratives it seems like either a prerender or an SSR. One other helpful thing we've found from Notion is the Kanban view of the database which allows us to move content through various swim lanes; "Approved", "Revision #1", "Published" etc.
- _fat_santa 4y agoI've considered doing this on my own website, though probably won't since it's just me. But IMO this is one of Notion's killer features, the fact that it's so flexible you can use it as a dang CMS.
- andygcook 4y agoIIRC, the very first version of Notion actually was built to be a CMS, so they've come full circle now after gaining traction by pivoting to work documents.
- mrweasel 4y agoWhen software get this flexible I get concerned. Admittedly I have not used Notion, I've only seen people demo stuff they build and articles like this one. From this it sound like Notion is trying to reinvent Lotus Notes and that's something that should make you pause. At least it will for most of us who had to use Lotus Notes some time in the past 20 years.
- jitl 4y ago(I work at Notion) We're very aware of the legacy of Lotus Notes. There are similar concepts between Notion and Lotus Notes - especially v1-v3 of Notes that were focused on end-user programmability, before the "design" menu was removed and Notes pivoted towards a "Rapid Application Development". However, there's numerous substantial differences in our strategy and execution. For example, we host the Notion backend, avoiding a lot of the agility issues Notes had. We also aren't an email service.
- stevenhubertron 4y agoYou can use Excel as a CMS and while cool why use it for Prod? Especially because you are locking yourself into a company that may sunset or change pricing on the "feature" at anytime.
- jitl 4y ago(I work at Notion) The public API is extremely important to the future of Notion. We maintain date-versioned backwards compatibility similarly to Stripe. When it comes to your content, you can export your entire Notion workspace (or just the part of it that’s your CMS) as Markdown/CSV or semantic HTML, including all your uploaded assets and files. The HTML export is read to host as-is or post-process with BeautifulSoup, etc.
- shadowtree 4y agoYou have raised 340 million dollars. Huge expectation to grow and make money, which means numbers will become more important. "free" stuff will go away, it always does. Investors will want an exit event, sooner than later. IPO (unlikely in next 2 years, macro issues) or flipping it to ... someone. Just the normal cycle, nothing Notion-specific.
- jitl 4y agoNotion remains founder-controlled and enjoys favorable terms with investors. For example, we closed a tender offer for employees at our peak valuation after the market downturn: https://www.notion.so/blog/sequoia-index-purchase-shares-from-notion-employees https://www.notion.so/blog/sequoia-index-purchase-shares-fro... What is the "free" stuff you think would go away? The public API? But, we need to have a public API for many of our customers to be willing to pay us. It's an essential feature.
- replygirl 4y agothe risks here aren't any different from those with using the wordpress or ghost apis for a blog. or using any third party api for anything
- jitl 4y agoIf you’re on Vercel + NextJS and considering Notion for your blog/CMS, I wrote up automatically rehosting your images and other assets via a CDN here: https://jake.tl/projects/notion-api#solving-image-hosting https://jake.tl/projects/notion-api#solving-image-hosting (I work at Notion, but this content is about my hobby website)
- aliqot 4y agoOne day you'll all regret this.
- replygirl 4y agothat day will come after i've saved more time than it takes to move to a different cms. it's possible i already have
- manuelmoreale 4y agoGenuine question: why would you need to move to a different cms? If what you’re using works, why change it?
- pbteja1998 4y agoAlso, if you do need to move to a different platform, you can always export all the Notion content with the click of a button.
- FalconSensei 4y agoWhat I see often is that developers would spend way more time building/changing their blogging generator than actually writing posts.
- manuelmoreale 4y agoThat is my impression as well. Which is fine, don’t get me wrong. Nothing wrong with testing new tools and setups. I just don’t personally see the point of creating something overly complex for a blog.
- the-printer 4y agoI think that there may be some relationship between what you’re describing and the quality of the blog posts that do actually get written.
- lazyasciiart 4y ago
- tluyben2 4y agoNotion hasn't been great for me; I wanted to like it and we got it for our team, but everyone is struggling when doing anything besides text. I used it for blogging, but currently only to actually write them, not publish because of the below issues. It's drag/upload images really dies when it's more than a few (on fiber, but that's not the point; in 2022 you need to remember what you were doing when uploading something and keep trying; it simply forgets the image completely and just shows the 'embed image' placeholder without anything in it for the images that 'didn't make it'). It is inconsistent between web, mobile and desktop; for instance, I make a page with 25 images on my desktop, wait for them to fully upload (it always says 100% done in the top but that's a lie; you have to check every photo in the right bottom); if it fails, remove them and doing it again because usually the first 1-2x half of them will just not make it and when done share on web or check on the mobile app, still half are missing even when fully uploaded according to the desktop. I don't really trust it work reliably for anything but text & links.
- pbreit 4y agoI've struggled to grok Notion and Coda. What are the killer apps? I'm happy with Google Docs.
- semi-extrinsic 4y agoNotion is Emacs for Gen Z. __________________________ Change my mind.
- orliesaurus 4y agoCoda is much more techie-focused, their powerpacks are 2nd to nobody. Notion is more for everyone. Literally after spending a week - it's pretty obvious how to use Notion because it's not super-feature-heavy. It just works. Basically if anyone wants to build an extremely beautifully crafted UI on top of Google Drive/Docs, you could perhaps have the same advantages of Notion in Google Docs (that would be my dream tbh)
- tluyben2 4y ago
- intrasight 4y agoHonest question: Is "headless" still a term of art? With most everything being command-line and APIs, it seems a relic from the past.
- deleted 4y ago[deleted]
- Elidrake42 4y agoAbsolutely; as an example, last agency I worked for offered both directly integrated and headless Shopify builds. Headless costs a bit more, but came with a translation layer that also integrated with Magento's API in the event the client ever wanted to move away from Shopify.
- steveklabnik 4y agoIt is less usual for CMS systems to have CLIs; they're usually web-based. In this context, it still very much is, yeah.
- pbteja1998 4y agoI built an entire product just for doing this. https://usenotioncms.com https://usenotioncms.com I then used this and built a no-code blogging platform to publish content from Notion https://feather.so https://feather.so There is also an open source version for using Notion as CMS. That can be found at https://github.com/NotionX/react-notion-x https://github.com/NotionX/react-notion-x
- pbteja1998 4y agoWhat I’m doing with Feather is this: I give the users a Notion template to duplicate. https://bhanuteja.notion.site/Feather-Blog-Template-3fea271567c145e1ba4da20956ab0d3c https://bhanuteja.notion.site/Feather-Blog-Template-3fea2715... I will then ask them to pick a domain, add the cname. That’s it. I will then get all the content from their Notion page and build a complete blog from it, with tags, authors, search, site map, rss feed etc.
- pbteja1998 4y agoFor useNotionCMS.com, it’s a little different. It’s an api product. I give the users an api. People send their Notion page link in the api, they will then get all the data related to that page, including the html version of that Notion page. People can either use that html and render it themselves or I can do it, and give it to them as an iframe. Depends on their use case, people go with either Iframe or manual rendering with code.
- cercatrova 4y agoWhy reply to yourself? You can edit your comment on HN.
- pbteja1998 4y agoGot it. It was a habit. Will edit instead, from next time. Thank you.
- antcas 4y ago
- eob 4y agoI wrote a few scripts that power automatingpaperwork.com entirely from a set of Notion pages and it was the best “procrastinate writing by coding” project I’ve ever done. If anyone wants a copy of the code, feel free to reach out (contact details in profile). It’s not buttoned up into a GitHub-shareable project but should be easily adaptable. Oriented for multi-chapter ebooks with images, but no table support.
- antcas 4y agoI use a service called Feather (https://feather.so/ https://feather.so/) for my blog which uses Notion as a CMS and abstracts away the actual api layer. I believe behind the scenes it uses a service called https://usenotioncms.com/ https://usenotioncms.com/ which offers some quality of life improvements over the vanilla Notion api. You might want to check them out.
- ctrlaltdylan 4y agoI like using Jekyll for my personal blog, and Next.js / Eleventy for quick sites. But I _hate_ writing in markdown. Notion is really the best writing experience out there. You can easily make rich pages of content with video and images, but to add those things in a flat markdown file is a pain! So I made a workflow that will convert your Notion subpages in a specific page to open a pull request on Github to your blog. Copy it to your own Pipedream account to use it for free: https://pipedream.com/new?h=tch_OQlfe5 https://pipedream.com/new?h=tch_OQlfe5 I also put together a quick video to walk through how to set it up: https://youtu.be/HgOWnJSGo6w https://youtu.be/HgOWnJSGo6w Long story short, you just need to connect your Notion & Github accounts to the workflow, and define which Notion page you'd like to sync with Github. Hope this helps writing a bit more fun!
- wey-gu 4y agohttps://github.com/HEIGE-PCloud/Notion-Hugo https://github.com/HEIGE-PCloud/Notion-Hugo
- deleted 4y ago[deleted]
- quintes 4y agoI looked at notion now and appears to be intranet, knowledge and Kanban kind of functionality. Two things stand out, one, People want to do this using this rather than proven tools in the content landscape or two, looks new shiny ? I’m purely interested in value prop over other choices
- erulabs 4y agoI’m sure I’m just getting old and this is really neat and useful - but it’s such a shame that everything is now just several SaaSs tapped together. Notion, Retool, Zapier, Google workspaces… I understand the productivity gains, but it points to me at a fundamental failure of technology. We’re all drowning in tech debt and it’s not getting better and most startups spend half their efforts avoiding paying enterprise licensing for basic security features. One day I’ll come full circle and be a staff engineer / devops whatever who is just as grumpy as all those sysadmins who mentored me a decade and a half ago.
- Dwolb 4y agoThought experiment: What's the largest start-up or most compelling start-up that can be built on a bunch of SaaSs taped together?
- 9dev 4y agoIsn’t that Zapier in a nutshell?
- madrox 4y agoI recently did a round with several startups that were Series A looking for CTOs or heads of eng. So many of them really were lots of SaaS solutions strung together. When I asked what the core competency of the team was that differentiated this business from any other, it was often "the experience." Suffice to say that my heart wasn't in selling myself for those jobs.
- matt3D 4y agoDoes this solution (and all of those mentioned in the comment) not risk issues with Notions rate limiting? Looking at their docs it seems 3 requests per second is the limit, this could easily be reached at peak times for a blog/website with even the slightest bit of traction.
- pbteja1998 4y agoHi, I am the creator of https://feather.so https://feather.so - one of the solutions mentioned in the replies. Many of my customers blogs were on the front page of HN multiple times, and no they did not go down. The reason being I host everything on cloudflare workers and have a Bunny CDN in front of it. So all the Notion content stays in Bunny Edge Storage in the form of JSON. When you get a visit, I read from Bunny storage/CDN instead of reading directly from Notion. So, yeah, it won't get rate limited.
- yawnxyz 4y agoI use Notion as our site/blog/content CMS as well, and we use it to coordinate data in our microbiology lab. We use Notion bc they have a great text writing interface, most of the people we work with are researchers and don't know how to write Markdown, etc. So they either write in Notion or I just paste their Word doc into Notion and it works great. Whenever there's a new content, I pull all the content from the Notion API and build it into a static Sveltekit site served on Vercel. Everything is super fast. For those saying if Notion goes down or shuts off API access one day, we'll just fall back to the "normal" ways of writing content, all of which are worse UX for both me and the other people writing content.
- aquent 4y agoWe are building Notice at https://notice.studio https://notice.studio The exact goal is to have a Notion-like experience combined with a headless CMS, but in one product. Btw the way we are applying to this YC batch!
- snird 4y agoThis is so risky. HN like to talk about how risky it is to use Google products as they will shut down - but this is 10 times riskier. You depend on a closed system, with no guarantees, for a usage it was not originally designed for. Notion itself can still be alive, but change some feature to kill this usage. Not even intentionally.
- xmorse 4y agoIf you want to do the same without having to write any code there is Notaku [0]. It's a tool to easily use Notion as CMS for your docs, blog and changelog websites. [0] https://notaku.so https://notaku.so
- Komodai 4y ago
- I_am_tiberius 4y agoWhy doesn't Notion allow you to use your own domain natively. I like startup ecosystems but the domain feature is so clearly something that should be supported by Notion directly.
- tr1ll10nb1ll 4y agoRelated: I recently built https://github.com/arthtyagi/serverless-notion-blog https://github.com/arthtyagi/serverless-notion-blog which helps you use Notion as a CMS. It's like https://github.com/NotionX/react-notion-x https://github.com/NotionX/react-notion-x but much less worked on (bare essentials) and doesn't need a server per se, it runs on a serverless worker.
- benknight87 4y agoI did the same thing but using Trello.
- lazyasciiart 4y agoA CMS backed by Trello? Sounds interesting, I’d love to see it in action.
- jerriep 4y agoI am the creator of Cloudpress [1], which takes a bit of different approach than most of the other Notion CMSs out there. Cloudpress assists you when you have an existing CMS or headless CMS and want to get your content from Notion into that CMS. This is useful for teams that use Notion to write content (such as blog posts of help articles) but use a more traditional CMS to host that content. We use Notion internally for our blog posts and documentation which is hosted on Contentful. Besides Notion, it also supports exporting content from Google Docs to any of the supported CMSs. [1] https://www.usecloudpress.com/ https://www.usecloudpress.com/
- stunandawe 4y agoNotion is such a great tool, we're using now as a database to curate impact startups at https://stunandawe.com/ https://stunandawe.com/