AI Kaatib is a generative AI that lets you write SEO friendly, optimized articles for you blogs.
- Generate SEO friendly articles
- Generate SEO friendly titles
- Bulk article generation (Coming soon)
- Scheduler (Coming soon)
- Clone the repository:
git clone www.github.com/osafalisayed/aikaatib.git- Navigate to the project directory:
cd aikaatibFrom here, you can run the project in three ways:
- Using Docker Compose
- Using Docker
- Manually setup frontend and backend
-
Make sure you have Docker and Docker Compose installed on your machine.
-
Navigate to the root directory of the project:
-
Build and run the containers:
docker-compose up --build- Open http://localhost:3000 with your browser to see the result.
-
Make sure you have Docker installed on your machine.
-
Navigate to the root directory of the project:
-
Build the Docker frontend image:
cd frontend
docker build -t frontend .- Build the Docker backend image:
cd backend
docker build -t backend .- Create a network for the containers:
docker network create aikaatib-network- Run the Docker containers:
docker run -d --name backend --network aikaatib-network -p 8000:8000 backend
docker run -d --name frontend --network aikaatib-network -p 3000:3000 frontend- Open http://localhost:3000 with your browser to see the result.
- Navigate to the frontend directory:
cd ui- Install dependencies:
npm install- Run the development server:
npm run dev- Open http://localhost:3000 with your browser to see the result.
- Create a virtual environment in root directory:
python3 -m venv venv- Activate the virtual environment:
source venv/bin/activate- Navigate to backend directory and install dependencies:
cd backend
pip install -r requirements.txt- Create a
.envfile in the backend directory and add the following environment variables:
OPENAI_API_KEY= "your_openai_api_key"
SUPABASE_DATABASE_URL= "your_supabase_database_url"
SUPABASE_URL = "https://your_supabase_url.supabase.co"
SUPABASE_SERVICE_KEY = "your_supabase_service_key"
-
Make sure supabase is running and the database is created.
-
Perform database migrations:
python manage.py makemigrations
python manage.py migrate- Start the Django server:
python manage.py runserver- Open http://localhost:8000 with your browser to see the result.