This repo powers arjun.is. Built with Eleventy and hosted on Vercel.
npm install
npm run buildFor local setup, run the following (fetchPosts.js fetches posts from GitHub Issues). Delete scripts/.cached-issues.json to force a re-fetch.
node scripts/fetchPosts.js
npm run servePre-requisites for local:
- Setup a PAT in
GITHUB_TOKEN=xyzin .env. This token needs to have permissions to access issues on this repo - (Note to self) While committing changes, don't stage
.mdchanges in.gitignore
The current version supports two sources of content (blog posts): markdown files and GitHub Issues. Effectively, this makes GitHub Issues the CMS for my blog. My intent was to move over to GitHub Issues completely, but given that I had existing posts in markdown, I went ahead with this approach (instead of neater? approaches that build on 11ty magic.)
- All tags are passthrough — except ones prefixed with
meta: - For example
meta:internalfor issues related to site fixesmeta:publishedfor issues that are published
