James' Coffee Blog ☕
About Me 👋
Hello! Привіт! I'm James (/d͡ʒeɪmz/) (also capjamesg). My pronouns are he/him/his. I live in Scotland. This is my blog.
On this blog, I write about the open web and coffee. Every two weeks, I co-host the Europe Homebrew Website Club.
My email address is readers@jamesg.blog.
I also contribute to the IndieWeb wiki. I have open sourced some code on GitHub. Read my Currently page.

Blog Posts 📝
Below are the most recent articles I have written.
-
📌 Pinned
Announcing highlight.js, an extension to highlight text on web pages
Published on under the IndieWeb category.
I participated in IndieWeb Create Day, an online event during which people in the IndieWeb come together to work on personal projects, this Boxing Day. I decided to start on a new project. I wanted to build a tool that would let me highlight specific pieces of text on my website and send those highlights to someone else for them. I have previously built a tool, fragmention.js, that lets you link to a specific paragraph of text, but this tool has its limitations: I can't link to multiple parts of a web page, I can only link to full paragraphs.
-
Travelling
Published on under the Life category.
I am presently writing this blog post in a train, with my large suitcase by my side encroaching on the leg room available to me (indeed, as if I hadn't spent enough time with little leg room on seats after flying). Conversations are happening in the background. I have my headphones in, listening to a song by Leah Kate that was recommended by Spotify. It's not the best song, but I'm happy. I was able to play piano for an hour or so at the train station while I waited, something about which I have been thinking for at least a week.
-
Send a Trackback in Two Lines of Code
Published on under the IndieWeb category.
IndieWeb Utils v0.7.2 is out. In this release, we introduce utilities to help you work with Really Simple Discovery and Trackbacks. The additions to the library were inspired by this week's Homebrew Website Club London / Europe meetup. One discussion point was how arXiv supports receiving Trackbacks, an old standard used to notify one site that you have linked to another. Given arXiv's support of Trackbacks -- and its application as a way to build community around research papers -- I decided to add a few helper functions to IndieWeb Utils.
-
Travelling in a Self-Driving Car
Published on under the IndieWeb category.
Within my first day or two of arriving in San Francisco, I saw Cruise driverless cars on the road. The cars are allowed to drive during the day with a driver at the helm. After 10:30pm the cars can drive in autonomous mode without a driver. I forgot that driverless cars were allowed on the streets here. Later, a friend asked whether I wanted to take a ride in a driverless car.
-