SEO Smart Assistant
# SEO Smart Assistant
A powerful desktop application built with Python and Tkinter to assist users in optimizing their websites for search engines. The SEO Smart Assistant provides tools for keyword analysis, content analysis, URL analysis, and keyword ranking tracking, integrated with a conversational AI powered by Groq's language model. It also features message persistence using Redis, ensuring a seamless chat experience with context retention.
## Features
- **Conversational SEO Assistant**: Engage in a chat-based interface to get personalized SEO advice based on your expertise level (beginner, intermediate, expert).
- **Keyword Analysis**: Analyze keywords for difficulty, search volume, CPC, and competition, with visual charts.
- **Content Analysis**: Evaluate content for SEO metrics like word count, readability, keyword density, and heading usage.
- **URL Analysis**: Perform basic SEO audits on URLs, including title, meta description, and link analysis.
- **Keyword Rankings**: Track keyword positions with visual ranking charts.
- **Message Persistence**: Store chat history using Redis to maintain context across sessions.
- **Customizable UI**: Modern, dark-themed interface with interactive tabs and suggestion buttons for a user-friendly experience.
## Prerequisites
- Python 3.8+
- Redis server installed and running locally
- Required Python packages (listed in `requirements.txt`)
## Installation
1. **Clone the repository**:
```bash
git clone https://github.com/Arash-Mansourpour/RankPilot-AI.git
cd seo-smart-assistant
-
Install dependencies:
pip install -r requirements.txt
-
Set up Redis:
- Ensure Redis is installed and running on
localhost:6379
. Install Redis if needed:- On Ubuntu:
sudo apt-get install redis-server
- On macOS:
brew install redis
- On Windows: Download from Redis Windows releases
- On Ubuntu:
- Ensure Redis is installed and running on
-
Set up Groq API key:
- Obtain an API key from Groq and set it as an environment variable:
export GROQ_API_KEY='your-api-key'
- Alternatively, replace the placeholder key in the code with your actual key.
- Obtain an API key from Groq and set it as an environment variable:
-
Run the application:
python seo_assistant.py
Install the required packages using:
pip install tkinter nltk groq pandas matplotlib seaborn requests beautifulsoup4 redis
Additionally, download NLTK data:
import nltk
nltk.download('vader_lexicon')
- Chat Tab: Interact with the AI assistant by typing queries. Click suggestion buttons to explore follow-up questions.
- Keyword Analysis Tab: Enter keywords (comma-separated) to analyze and visualize their metrics.
- Content Analysis Tab: Paste content to evaluate its SEO performance.
- Rankings Tab: View keyword ranking data with a bar chart.
- Sidebar Tools: Analyze URLs, clear chat history, or reset your profile.
seo-smart-assistant/
├── seo_assistant.py # Main application code
├── requirements.txt # Python dependencies
└── README.md # This file
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature
). - Commit your changes (
git commit -m 'Add your feature'
). - Push to the branch (
git push origin feature/your-feature
). - Open a Pull Request.
This project is licensed under the MIT License. See the LICENSE file for details.
- Built with Tkinter for the GUI.
- Powered by Groq for conversational AI.
- Uses Redis for message persistence.
- Includes data visualization with Matplotlib and Seaborn.
Happy optimizing! 🚀
This README provides a clear overview, setup instructions, and usage details for the project, suitable for hosting on GitHub. Replace `yourusername` in the clone URL with your actual GitHub username. Let me know if you need further tweaks!