Aman Bhargava Bangalore India Data Visualization Designer & Developer aman@diagramchasing.fun

#personal site

2 posts tagged with "personal site"

← Back to all notes

#personal site Tagged Posts

Aug 21, 2025 Note

Rebuilding the site gives me a chance to get things done better. I wanted to add a small sparklines section for the various micronotes I’ll be adding, like the one Aaron Parecki has on his site, and my initial attempt was the tried and tested way I was using for everything else: go through the files and folder structure at build time, count files and parse dates and create a json data structure with the summary (how many bookmarks, notes, etc.). This is fine for a couple of hundred files but the build and processing time will probably grow linearly with it too. I want to keep this lean.

Since I’m already using a server which is hosting getindiekit.org, I thought of making it work within that set-up. IndieKit uses MongoDB for some state-management (files and actual content are stored in my repo), and it provides a very nice way to add more endpoints/routes for whatever you want: https://getindiekit.com/api/add-endpoint

I got Claude to write a small script that would access the DB, create the summary data and return it on a stats endpoint. Problem solved.

Permalink Aman Bhargava
5
Aug 20, 2025 Note

Started today on refactoring the personal site. There is too much bloat in terms of packages, my stupidities and versions of crucial things are lagging behind. svelte changed from 4 to 5, Tailwind lost its config.js file, components are all over the place and the list goes on. I might regret saying this but I don’t think it will take as long, since it is a matter of copying and cleaning up existing code. I have some new things as well. I have set up micropub and other new areas of ‘quantified self’, as well as teaching material that needs to be discoverable, and older things like a dedicated tidytuesday section (although the UI is nice) that don’t need as much prominence.

Permalink Aman Bhargava
10