Skip to content

arjunattam/arjun.is

Repository files navigation

arjun.is

This repo powers arjun.is. Built with Eleventy and hosted on Vercel.

Usage

npm install
npm run build

For 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 serve

Pre-requisites for local:

  • Setup a PAT in GITHUB_TOKEN=xyz in .env. This token needs to have permissions to access issues on this repo
  • (Note to self) While committing changes, don't stage .md changes in .gitignore

How it works

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.)

Website arch

Issue tag convention

  • All tags are passthrough — except ones prefixed with meta:
  • For example
    • meta:internal for issues related to site fixes
    • meta:published for issues that are published

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •