🡐 posts

Fantasy name generator API

Tags: Obsidian TTRPG

When TTRPGing sometimes you need to generate the name for a PC or NPC, so I created Fantasy name generator.

I decided that instead of including a name list in the plugin itself, I would create a simple API that the plugin would call. This would allow me to update names without needing to update the plugin, plus I, and others, could reuse the API in any way we’d like.

The API is available at http://fantasyname.lukewh.com.

Deno Deploy

I opted to try out Deno Deploy as I’ve been looking for a reason to use Deno in a project, and the Deploy offering has a generous free-tier with some basic analytics.

Deno Deploy Analytics for fantasyname.lukewh.com


The nice thing about having an API is that I could gather interesting statistics in an external service. I decided to try out Axiom, again it has a generous free-tier. After getting the stats into Axiom I created a simple dashboard to track a few things.

Axiom Analytics for fantasyname.lukewh.com

The most popular names of the last 30 days:

Name Count
Loria 3
Rollin 3
Theo 2
Farley 2
Nev 2