DEV Community

sir lu
sir lu

Posted on

I was tired of laggy, ad-bloated web tools, so I built a zero-latency AI toolkit that runs 100% in the browser.

Hey r/SideProject,

Like many of you, I spend half my day switching between LLMs, tweaking prompts, and handling AI-generated assets. But every time I needed a simple task done—like estimating API costs, cleaning up weird Markdown artifacts, or splitting a Midjourney 2x2 grid—I had to rely on sketchy, ad-riddled websites that felt sluggish and kept uploading my data to who-knows-where.

I figured: None of these simple operations actually require a server.

So over the past few weeks, I built RunAIToolkit—a set of ultra-fast, privacy-first micro-tools that execute entirely on the client side.


💡 What I built so far:

  • AI Token & API Cost Estimator: Calculates exact token usage and estimates API costs across top LLMs (GPT-4o, Claude 3.5, DeepSeek R1). No more surprise cloud bills after running long prompts.
  • Prompt & Markdown Cleaner: Strips system artifacts, invisible unicode characters, and unwanted formatting from LLM outputs instantly.
  • Midjourney / Flux Grid Splitter: Uses local HTML5 Canvas to slice 2x2 image grids into high-res individual files with zero compression loss and zero upload delay.

🛠️ Key Technical Choices & Takeaways:

  1. Static Export + Cloudflare Pages: Built with Next.js (App Router) and exported as pure static files to Cloudflare’s Anycast CDN. TTFB is under 50ms globally.
  2. Zero Backend Cost: Since all logic runs in Web Workers and local JS, server maintenance cost is literally $0/month.
  3. Data Privacy by Design: User prompts, text, and images never leave the browser. Perfect for developers handling NDA-sensitive data.

Top comments (0)