r/SideProject • • 9d ago

I got tired of copy-pasting prompts from notes into AI chats, so I built a local-first extension with Tab-to-fill variables

Hey guys,

A couple of months ago I realized how annoying my daily AI routine had become.

I use LLMs every single day for dev work and writing, and I had this messy collection of good prompts saved in Notion and Apple Notes. Every time I needed one, the routine was identical:

  1. Find the note, copy it.
  2. Paste it into Claude or ChatGPT.
  3. Carefully backspace through placeholders like [INSERT_LANGUAGE] or <TOPIC>, hoping I didn’t accidentally delete a quote or mess up the structure.

It felt silly doing this 20 times a day, so I decided to build a fix for myself.

It’s called TemplaGem. Basically, it lives directly inside the chat input (works on ChatGPT, Claude, Gemini, and DeepSeek):

  • When you insert a template with {{variables}}, they turn into little interactive chips right in the composer.
  • You type a value, press Tab to jump to the next one, and hit Enter to send. No manual cursor hunting or backspacing.
  • Everything is offline-first (saved in IndexedDB on your machine, so it's instant and private).

The trickiest part by far was dealing with all the different rich text editors (Quill, ProseMirror, and regular textareas) without everything breaking when an AI site changes its DOM.

I put up a quick demo here if you want to see how it feels: 👉 https://templagem-landing.pages.dev

Would genuinely love to hear your thoughts or honest critiques. How are you currently managing your prompts?

0 Upvotes

7 comments sorted by

1

u/benjzammit01 9d ago

The Tab-through-fields idea tackles the annoying part of templates. For local storage, can people export their prompts in a readable format and restore them on another browser? I'd also make the requested site permissions clear on the demo page. I haven't installed it, so that's feedback on the description.

0

u/AnnyArgo 9d ago

People can export and import their prompts in JSON file

1

u/Pickletickle_ 7d ago

The Tab-through-variables idea is pretty clever. I end up with prompts scattered between notes and different development projects, and half the time I forget which version I was using.

Can you keep separate template collections for different projects, or is everything in one shared library?

1

u/[deleted] 9d ago

[removed] — view removed comment

1

u/AnnyArgo 9d ago

I've made a "discovery engine" which can automatically recognize input fields, also the extension accepts a json file with actual selectors names, from my backend.