Automatically Loading My Pronouns (A Little Side Project)
Some time ago, I ran into a small but interesting problem: I wanted my website to automatically load my pronouns. They were changing fairly often back then, and manually updating them everywhere quickly became tedious.
Fun fact: this was for an earlier version of the site you’re reading right now!
It started as a small side project to make sharing images and personal info—like pronouns—more seamless. These days, the project isn’t actively maintained, and I can’t guarantee that it still works as intended. Every once in a while, I let GitHub’s Dependabot apply updates, but since I don’t use it anymore, I might not notice right away if something breaks (or the api of the services this script depends on change).
How it worked Link to heading
The script was designed to make it easy to generate pronoun badges for websites.
Most of the functions were written as asynchronous (async) calls, since they fetched data directly from online sources right in your browser.
For pronouns.page, it could even retrieve a list of preferred names and age information (see: PronounsPageUser.ts).
The part I relied on the most was the PronounsBadge-HTMLAdapter
Other components were more experimental, exploring support for multiple pronoun data providers—like pronouns.page and pronouns.alejo.io.
If you’re curious or want to dig into the code, you can check it out here:
A JavaScript Library to get a persons pronouns from pronouns.page or other providers - dozro/show-your-pronouns
