2023-10-02 14:36:32 +08:00
2023-10-02 14:47:20 +08:00
2023-10-02 14:38:51 +08:00

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_KEY from serpapi.com
  • Create new empty .env file at /backend-crt/src folder
  • Paste your Serp api key in .env file at backend-crt
SERPAPI_KEY=$here_is_your_api_key

Run the project

Make sure docker app is open

  1. run backend (API)
cd backend-crt && docker-compose up -d --build
  1. 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
  1. 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).
S
Description
ContentSwift - Free content research / optimization tool for SEO. As an alternative for Surfer, Neuronwriter, Frase, etc..
Readme
268 KiB
Languages
TypeScript 67.9%
Python 24.1%
Go 7.5%
JavaScript 0.4%
CSS 0.1%