Skip to content

roladev/AI-seo-Text-analysis

Repository files navigation

SEO and Text Editor AI

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.

Features

  • 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

Prerequisites

  • Node.js (Latest LTS version recommended)
  • API keys for:
    • OpenAI API
    • Anthropic API

Environment Variables

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

Installation

  1. Clone the repository:
git clone <repository-url>
cd text-editor-ai
  1. Install dependencies:
npm install
  1. Run the development server:
npm run dev

The application will be available at http://localhost:3000.

Usage

  1. Select your preferred AI provider (Claude or ChatGPT)
  2. Choose the type of analysis you want to perform
  3. Enter your text in the editor
  4. Click the "Analyze" button to get AI-powered insights
  5. View your analysis history in the History tab

Tech Stack

  • 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

Project Structure

  • route.ts - API route handler for text analysis
  • index.tsx - Main application component with text editor interface
  • package.json - Project dependencies and scripts

Development

To start the development server:

npm run dev

For production build:

npm run build
npm start

For linting:

npm run lint

Version

Current version: 0.1.0

©️ Licenses

License: MIT

🧙 Authors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published