A comprehensive multi-tool web application featuring AI-powered and text processing tools built with Next.js 14, TypeScript, Tailwind CSS, ShadCN UI, and OpenAI GPT-4.1.
- Paraphrasing Tool - Rewrite text while maintaining meaning
- Grammar Checker - Check grammar, spelling, and punctuation
- Text Summarizer - Generate concise summaries
- Article Rewriter - Completely rewrite articles
- Text Expander - Make text longer and more detailed
- AI Plagiarism Checker - Detect potential plagiarism patterns
- Word Counter - Count words, characters, sentences, paragraphs
- Text Case Converter - Convert between uppercase, lowercase, etc.
- Remove Extra Spaces - Clean up whitespace
- Remove Line Breaks - Convert to single line
- Remove Duplicate Lines - Keep only unique lines
- Sort Lines - Sort alphabetically (A→Z or Z→A)
- Find & Replace - Search and replace text
- Reverse Text - Reverse character order
- JSON Formatter - Format and beautify JSON
- HTML Cleaner - Strip HTML tags
- URL Encoder/Decoder - Encode or decode URLs
- Base64 Encode/Decode - Base64 encoding/decoding
- Word Density Analyzer - Analyze keyword frequency
- Text Compare - Compare two texts side-by-side
- Framework: Next.js 15.1.4 (App Router + Turbopack)
- Runtime: React 19.0.0
- Language: TypeScript 5.7.3
- Styling: Tailwind CSS 3.4.17
- UI Components: ShadCN UI
- Animations: Framer Motion 11.15.0
- AI: OpenAI GPT-4.1 (via OpenRouter)
- Image Processing: Sharp 0.33.5
- PDF Processing: pdf-lib 1.17.1 + pdf-parse 1.1.1
- Dark Mode: next-themes 0.4.4
-
Clone the repository:
git clone <repository-url> cd smallseotools
-
Install dependencies:
npm install
-
Set up environment variables:
Create a
.env.localfile in the root directory:OPENAI_API_KEY=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 OPENAI_BASE_URL=https://openrouter.ai/api/v1 NEXT_PUBLIC_SITE_URL=http://localhost:3000 NEXT_PUBLIC_SITE_NAME=SmallSEOTools Clone
-
Run the development server (with Turbopack):
npm run dev
⚡ Powered by Turbopack for 2-3x faster dev builds!
-
Open your browser: Navigate to http://localhost:3000
- Dev Server: ~1-2 seconds (with Turbopack)
- Hot Reload: ~100-300ms
- Build Time: ~30-40 seconds
- Production: Fully optimized with Next.js 15
smallseotools/
├── app/
│ ├── api/ # API routes for AI tools
│ │ ├── paraphrase/
│ │ ├── grammar/
│ │ ├── summarize/
│ │ ├── rewrite/
│ │ ├── expand/
│ │ └── plagiarism/
│ ├── tools/ # Tool pages
│ │ ├── paraphraser/
│ │ ├── grammar-checker/
│ │ ├── word-counter/
│ │ └── ... (all 24 tools)
│ ├── about/
│ ├── contact/
│ ├── layout.tsx
│ ├── page.tsx # Dashboard
│ └── globals.css
├── components/
│ ├── ui/ # ShadCN UI components
│ ├── Navbar.tsx
│ ├── Footer.tsx
│ ├── ToolLayout.tsx
│ ├── ThemeProvider.tsx
│ └── ThemeToggle.tsx
├── lib/
│ ├── textUtils.ts # Text processing utilities
│ ├── prompts.ts # AI prompts
│ ├── openai.ts # OpenAI configuration
│ └── cn.ts # Utility functions
└── ... (config files)
- ✅ 24 Tools - 6 AI-powered + 18 text processing tools
- ✅ Responsive Design - Mobile-first, works on all devices
- ✅ Dark Mode - Built-in theme switching
- ✅ Smooth Animations - Framer Motion transitions
- ✅ SEO Friendly - Proper metadata for all pages
- ✅ Type Safe - Full TypeScript coverage
- ✅ Modern UI - Beautiful ShadCN components
- ✅ Fast - Client-side processing for text tools
- ✅ Privacy Focused - No data storage or logging
Edit lib/openai.ts to change the model:
export const AI_MODEL = "openai/gpt-4.1-mini"; // or "openai/gpt-4.1"Edit prompts in lib/prompts.ts to adjust AI behavior.
- Global styles:
app/globals.css - Theme colors:
tailwind.config.ts - Component styles: Inline with Tailwind classes
- Push your code to GitHub
- Import project in Vercel
- Add environment variables:
OPENAI_API_KEYOPENAI_BASE_URLNEXT_PUBLIC_SITE_URLNEXT_PUBLIC_SITE_NAME
- Deploy!
Build the project:
npm run build
npm startNote: Sharp and canvas may need system dependencies on some platforms. Check platform-specific docs.
- ✅ Next.js 15.1.4 with Turbopack
- ✅ React 19 with latest features
- ✅ 38 Tools (6 AI + 18 Text + 7 Image + 7 PDF)
- ✅ Full PDF text extraction with pdf-parse
- ✅ PDF page extraction working
- ✅ All packages updated to latest versions
- ✅ No deprecated packages - everything current!
- 2-3x faster dev server with Turbopack
- Better build optimization
- Enhanced image processing
- Improved bundle sizes
This project is open source and available under the MIT License.
Contributions, issues, and feature requests are welcome!
For support or inquiries, visit the Contact page in the app.
Built with ❤️ using Next.js and OpenAI