Skip to content

kent-daniel/regexfast

Repository files navigation

RegexFast

Generate and Test Regex with AI Agent

AI coding agent that generates, executes, and evaluates to deliver accurate regex patterns. Automatically tested in a secure sandbox for reliable results.

Features

  • ๐Ÿค– AI-Powered Regex Generation - Intelligent agent generates regex patterns based on your requirements
  • ๐Ÿงช Automated Testing - Patterns are executed and validated in a secure sandbox environment
  • โšก Real-Time Results - See matches and test results instantly
  • ๐Ÿ’ฌ Interactive Chat Interface - Refine patterns through natural conversation
  • ๐ŸŽฏ Common Regex Snippets - Quick access to frequently used patterns
  • ๐ŸŽจ Modern UI - Clean, responsive design built with Next.js and Tailwind CSS

Getting Started

Prerequisites

  • Node.js 18+
  • npm/yarn/pnpm/bun

Installation

# Install dependencies
npm install

# Run the development server
npm run dev

# For full development (frontend + worker)
npm run dev:all

Open http://localhost:3000 to see the application.

Architecture

  • Frontend: Next.js 14 with App Router, React, Tailwind CSS
  • Backend: Cloudflare Workers with Durable Objects
  • AI: Vercel AI SDK with agent framework
  • Sandbox: Secure code execution environment with Daytona

Project Structure

src/
โ”œโ”€โ”€ app/              # Next.js app router pages
โ”œโ”€โ”€ components/       # React components
โ”œโ”€โ”€ agent-worker/     # Cloudflare Worker backend
โ”œโ”€โ”€ hooks/           # Custom React hooks
โ””โ”€โ”€ lib/             # Utilities and helpers

Documentation

Deploy

The application can be deployed on:

  • Frontend: Vercel, Netlify, or Cloudflare Pages
  • Backend Worker: Cloudflare Workers

See deployment documentation for platform-specific instructions.

About

Magic Regex Generator ๐Ÿ”ฎ

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published