Nexon is a Notion-powered blog template built with Next.js and Vercel. It’s a modified version of nextjs-notion-starter-kit with a special focus on a better blogging experience.
Nexon is still being actively developed. Keep an eye out! Any and all input is appreciated.
What’s the difference between Nexon and nextjs-notion-starter-kit?
Starter Kit is a excellent project. In fact, I should say, it’s maintainer has much more experience than me. So Nexon is only a modifed version of Starter Kit that I would share to you.
The goal of Nexon are:
- Always keep up with an updated version of the Starter Kit.
- Make sure users can seamlessly migrate from Starter Kit to Nexon.
- Add custom features (to bring a better blogging experience) that may not be suitable to merge into upstream. (See Features for more information.)
Why should I use Notion to write blogs?
Traditionally, I wrote my blog post locally with a text editor or Markdown editor. Once the blog post is finished, I rebuild the blog site locally and then push it to GitHub to trigger the CD.
Somehow, there were some distractions in the workflow:
- Markdown is good, but not enough.
- Some key features are absent from the standard Markdown format, they rely on the implementation.
- CSS (proper looking) is important to a blog site, but it’s hard to control that via pure markdown.
- It is difficult to edit files across platforms.
- Markdown editors can’t fit in the blog site framework.
- Extra Markdown syntax, and Images(assets) management are not compatible with the blog site framework.
- Even though most Markdown editors support WYSIWYG, what we get in the editor is not what we get in the blog site eventually.
- To prevent the two cons above, the users have to refer to the blog site dev mode to adjust afterward.
- Extra steps are needed to update the blog site.
- Rebuild the site.
- Push to Github or your server.
That’s why CMS (Content Management System) plays a role. WordPress is a good example. Actually, it is still a good choice today (if you’re willing to pay). Another excellent choice is Notion.
Notion is a single space where you can think, write, and plan. Capture thoughts, manage projects, or even run an entire company — and do it exactly the way you want.
Free for unlimited use, modern design, and easy sync make Notion one of the best choices to manage blog posts.
Why should I use Next.js (via Vercel) to host the blog site?
Besides Notion, we still have to deal with some tricky things in order to make a good blog site:
- Site analysis
- Generating other files for search engine indexing, RSS, or robots
Those needs are beyond what Notion is capable of. So this is when Next.js and Vercel come in handy. As you can see, Next.js can easily generate a production-ready static site. And Vercel is one of the best free platforms for frontend frameworks and static sites.
In conclusion, with the power of these wonderful tools, one can write a blog post in a no-code way:
- Open Notion (in anywhere)
- Just write
The basic features are provided by nextjs-notion-starter-kit:
- Setup only takes a few minutes (single config file)
- Robust support for Notion content via react-notion-x
- Next.js / TS / React / Notion
- Excellent page speeds
- Sexy LQIP image previews
- Automatic open graph images
- Automatic pretty URLs
- Automatic table of contents
- Full support for dark mode
- A quick search via CMD+P just like in Notion
- Responsive for desktop / tablet / mobile
- Optimized for Next.js and Vercel
💕Based on that, Nexon also provide these features:
- Google analytics support
- Improved Sitemap support with
- RSS support
- Override metadata with page properties
- Embedded Github comments via Giscus
- Index page with pagination (underdeveloped)
Usage & Configuration
Please see: https://github.com/fky2015/nexon/wiki/