SEO and Text Editor AI is a modern web application that provides AI-powered text analysis using both Anthropic's Claude and OpenAI's GPT-4 models. The application offers various types of text analysis including SEO optimization, grammar checking, tone analysis, summarization, and content improvement suggestions.
- Multiple AI providers support (Claude and ChatGPT)
- Various analysis types:
- SEO Analysis
- Grammar Check
- Tone Analysis
- Text Summarization
- Content Improvements
- History tracking with local storage
- Modern, responsive UI using Radix UI components
- Built with Next.js and TypeScript
- Node.js (Latest LTS version recommended)
- API keys for:
- OpenAI API
- Anthropic API
Create a .env
file in the root directory with the following variables:
OPENAI_API_KEY=your_openai_api_key
ANTHROPIC_API_KEY=your_anthropic_api_key
- Clone the repository:
git clone <repository-url>
cd text-editor-ai
- Install dependencies:
npm install
- Run the development server:
npm run dev
The application will be available at http://localhost:3000
.
- Select your preferred AI provider (Claude or ChatGPT)
- Choose the type of analysis you want to perform
- Enter your text in the editor
- Click the "Analyze" button to get AI-powered insights
- View your analysis history in the History tab
- Framework: Next.js 15.1.4
- Language: TypeScript
- UI Components: Radix UI
- Styling: Tailwind CSS
- AI Providers:
- Anthropic Claude (claude-3-sonnet-20240229)
- OpenAI GPT-4 Turbo
route.ts
- API route handler for text analysisindex.tsx
- Main application component with text editor interfacepackage.json
- Project dependencies and scripts
To start the development server:
npm run dev
For production build:
npm run build
npm start
For linting:
npm run lint
Current version: 0.1.0