Some of the reasons on why I started building this again? Maybe it's time for me to start writing again.

第 N 個開始

Wow! Another site?! Yes, this is going to be different. I swear. I finally made an effort to make sure that new entries for blogs are easily configurable, plus I can actually extend from the application to add new features. I realized that there are too many flaws with my .

I had to manually remember what to configure on Notion to publish a post. Now, this is different, because my site can also be used to experiment with new code and designs I find interesting.

With server components, I can use import fs from "fs" that lets me read my .mdx files locally, on the server. We can then programmatically generate all the required paths based on the ls results at the cost of slightly longer build times. I just have to add a new .mdx file to generate a new route to .

Previously with notion-api, I had to make several api calls to get the metadata of the file I need, with custom page fields and a bunch of database key configurations that made it difficult for my pea brain to keep track.

Since files are technically created on the server, the metadata that exist for that file is exactly what I need. The readSync function helps me get just enough metadata, such as cdate.

Resources used for this site

  • next-view-transitions for the theme and page transitions
  • mdxjs-rs for compiling mdx to js
  • vercel for all the analytics
  • Special thanks to for letting me integrate sunlight into this dark cave

However, what is this for really?

I think this is just a place for me to ramble on my ambitions and dreams. My experiences mostly manifests itself in my notebook. I want to gather everything from there and place it somewhere nice on the internet.

我覺得是時候睡了, 晚安喔,起身了再寫吧 ~