..

New Feature! Amazing!

So I added this new feature to my website.

You can try it right now: __________

Basically, there’s a cloudflare worker. That cloudflare worker is connected to a d1 database. I wrote a shortcode({{< traitfield name=“three” >}}) that lets me add a set of pre-defined input fields to a post.

title: "New Feature! Amazing!"
group: "first"
date: 2024-12-08
fields:
  - one
  - two
  - three
  - four
  - five
draft: false
section: "blog"
load_traits_script: true

On user submission of the field, a cloudflare worker is invoked, and that input along with a unique ID is stored in the database.

Which means the inputs are similar to comments, but also different in a few ways.
No one knows who wrote them.
They’re in the middle of the post.
And once they’re filled in, that’s it. No one else can change them(i can though).

Keeping in mind that every person for all eternity (well, to be honest I’ll probably delete boring ones) will witness what you wrote. I’m giving you, the reader and now also potential writer, a lot of power here.

How does that make you feel: __________

Let me define a few manners for this new feature:

  1. Don’t write my name, your name, or anyone else’s name in the inputs.
  2. It’s more fun if you save inputs for other people.
  3. I can’t stop you from writing something boring, but you can. Don’t write something boring.
  4. It doesn’t have to fit the answer directly, but it should be thoughtful in some way.
  5. __________

How long can we leave this unfilled? __________

Write, I love reading this post: __________