DEV Community

Cover image for โœจ Building a Simple AI Prompt Keeper (with Bootstrap 5 + Alpine.js)
Web Dev | Adit
Web Dev | Adit

Posted on

โœจ Building a Simple AI Prompt Keeper (with Bootstrap 5 + Alpine.js)

๐Ÿงญ Introduction

Hey there ๐Ÿ‘‹

As someone who often leans more on the introverted and quiet side of things, I usually keep a lot of ideas and helpful tools to myself. But lately, I've been trying to get more comfortable sharing, even if it's something small. This blog post is my humble attempt to share a simple project that I built โ€” something practical, lightweight, and beginner-friendly.

The idea came from my day-to-day habit of saving useful prompts I use with AI tools like ChatGPT. Whether it's for writing, fixing code, or helping with daily office tasks, prompts can save time โ€” and brain juice ๐Ÿ˜…

So, I built a little tool to save and organize these prompts. Itโ€™s not fancy, but it works โ€” and I hope it inspires someone out there to try building their own version.

โš’๏ธ What I Used

  • Bootstrap 5 โ€” For fast and clean UI layout
  • Alpine.js โ€” A minimal JS framework to handle UI interaction
  • localStorage โ€” To save prompts locally without a backend
  • Express (optional) โ€” Added a basic server for easier deployment later

This stack was intentionally simple. No React, no databases, no build tools. Just HTML, a bit of JavaScript, and some love.

๐Ÿ“Œ Features (So Far)

  • Add, edit, delete prompts
  • Save to localStorage (keeps data even after refresh)
  • Filter/search prompts

Planned next:

  • Add tags/categories
  • Export/import prompts

๐Ÿ’ก Sample Prompt Use Cases

Here are a few examples of how I personally use this:

  1. Blog outline generator
  2. Translate casual Indonesian into formal English
  3. Polite reminder email template
  4. Summarize messy meeting notes

It helps a lot when you have "your own prompt assistant" saved and ready.

๐Ÿค” Why Build This?

Mostly because I needed it myself. But also because Iโ€™ve been reminding myself: you donโ€™t need to build the next big thing to make something worth sharing.

This little project helped me:

  • Practice Alpine.js
  • Think about UI and UX
  • Write a bit of cleaner HTML/CSS

Also, I believe small tools are underrated. Thereโ€™s something fun in crafting something that just works โ€” without all the overhead.

๐Ÿ“ฆ Source Code

๐Ÿ‘‰ github.com/gitbyaditya/prompt-keeper-ai

๐Ÿ™ Final Thoughts

If you're a junior developer, or just trying to get more confident with coding โ€” I hope this shows that it's okay to start small.

If youโ€™ve built something similar or have feedback to improve this, Iโ€™d genuinely love to hear your thoughts โ€” feel free to drop a comment.

Thanks for reading ๐Ÿ™Œ

Top comments (0)