Skip to main content

· 2 min read

A Webmention is a way to notify websites when a link to a website is posted on a different website.

The purest form of this is where a website owner hosts a webmention endpoint that can receive webmentions, store them in a database, then display them on the appropriate page. Running this server is generally a little more involved but luckily there is a handy service called webmention.io which handles the receiving, storage, and provides a REST endpoint for fetching webmentions.

· 2 min read

I use password-store by ZX2C4 as my password manager of choice.

I also have been following Troy Hunt's project haveibeenpwned.com, this is a great tool that has received lots of praise for shining a light on just on likley it is that your credentials (emails or passwords) have already been compromised. Addionally he provides an API for checking your password aginst a database of known breached passwords.

Here is a short write-up about how 1Password.org has used this API to discourage the re-use of a known password.

I decided that I needed this functionality as well, so in following the footsteps of others I built an extension for password-store that you can use to check your password using the Have I Been Pwned: API V2.

· 2 min read

I learned about a really nifty CSS psuedo-class, the :target selector.

Using the :target selector you can style elements when they are "targeted" by a hyperlink (aka an anchor). This is denoted with the octothorp (#) + element name trailing the URL.

So in part to facilitate users without JavaScript enabled and because it's a neat trick, I used this CSS selector to make a reader mode toggle that doesn't require JavaScript.