Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 2.31 KB

README.md

File metadata and controls

37 lines (28 loc) · 2.31 KB
      :::::::::::            :::          :::   :::
         :+:              :+: :+:       :+:+: :+:+:
        +:+             +:+   +:+     +:+ +:+:+ +:+
       +#+            +#++:++#++:    +#+  +:+  +#+
      +#+            +#+     +#+    +#+       +#+
     #+#            #+#     #+#    #+#       #+#
###########        ###     ###    ###       ###

        :::   :::           :::    :::::::::::   :::::::::::       :::    :::       :::::::::::           :::        ::::::::
      :+:+: :+:+:        :+: :+:      :+:           :+:           :+:    :+:           :+:             :+: :+:     :+:    :+:
    +:+ +:+:+ +:+      +:+   +:+     +:+           +:+           +:+    +:+           +:+            +:+   +:+    +:+
   +#+  +:+  +#+     +#++:++#++:    +#+           +#+           +#++:++#++           +#+           +#++:++#++:   +#++:++#++
  +#+       +#+     +#+     +#+    +#+           +#+           +#+    +#+           +#+           +#+     +#+          +#+
 #+#       #+#     #+#     #+#    #+#           #+#           #+#    #+#           #+#           #+#     #+#   #+#    #+#
###       ###     ###     ###    ###           ###           ###    ###       ###########       ###     ###    ########

hi

After a few years on NextJS with various content backends (Contentful, Hygraph, Sanity, Tina, etc.), I've embraced a new approach.

The front-end is built with Astro, and the content is authored in Obsidian. The markdown files are stored in a private repo on Github, and pulled into the Astro site through the Github GraphQL API.

Images that are added to the markdown in Obsidian are uploaded to a Cloudflare R2 bucket, and the URLs are replaced in the markdown files. In Astro, these images are optimized and cached through WSRV.

The site is hosted on Vercel, and I'm using PostHog for some basic analytics.

The code is provided as-is, and I'm not planning to provide support for this setup. Feel free to use it as inspiration for your own projects.

built with