About
Content research tool alternative for SEO.
By using this tool, you'll get any relevant information regarding certain keyword search and hints on what other top ranking results did with their article/page.
Right now we're focusing on Google SERP only
The commercial version for this open source would be something like: Surfer SEO, ClearScope, NeuronWriter, etc.. (of course they offer more features than this).
- This is for personal usage, so no authentication setup needed.
- Sign up to SerpApi to get FREE Serp search results credit
Tech
Backend
backend-crt is a docker setup for fastApi and Postgre
Frontend
frontend-crt is manual nextjs installation
Scrape API (SerpAPI)
Scraping Google search result on our own will require a lot of time to prevent us from getting blocked and getting the proper structure. That's why we're using simple solution from SerpApi.
Python lib
Setup env file
- Get your
API_KEYfrom serpapi.com - Create new empty
.envfile at/backend-crt/srcfolder - Paste your Serp api key in
.envfile atbackend-crt
SERPAPI_KEY=$here_is_your_api_key
Run the project
Make sure docker app is open
- run backend (API)
cd backend-crt && docker-compose up -d --build
- Setup Database (1 time only)
Cd into src
cd backend-crt/src
Activating a virtual env (setup if not yet)
source env/bin/activate
Run migration
python db/models.py
- run Frontend (API) (Not inside python virtual env) Now from root folder (another terminal or just go back).
cd frontend-crt && yarn dev
Project is available at localhost:3000
Potential Issue / improvement
- Remove code as part of word frequency: Ignore content between triple backtick
- User rotating-proxy to bypass individual web scraping (Find free proxy as a start)
- Right now keywords is limited per 1 word, how to get 2-3 keywords effectively (Use thread/parallel for faster function).