seo-rendering

server for search engine crawlers

Usage no npm install needed!

<script type="module">
  import seoRendering from 'https://cdn.skypack.dev/seo-rendering';
</script>

README

seo-rendering

a CLI tool for forward GET requrest to headless render service

Install

npm install -g seo-rendering

Usage

Usage: seo-rendering [options]

options

  • v, --version output the version number
  • S, --service [proxyUrl] the headless proxy service url
  • T, --target [targetUrl] the target website url
  • H, --host [host] default 127.0.0.1, hostname of this proxy server
  • P, --port [port] default 8081, port number of this proxy server
  • C, --config [json filename] run with config json file
  • h, --help output usage information

Start server

Start the server, and then access the http://<host>:<port>/<your sub path>in the browser.

with CLI params

seo-rendering -S <your.headless.render.service.url> -P <port> -T <your.target.website.url> -H <host>

QA: What is a headless render service?

with config file

seo-rendering -C seo-config.json

a template config file for reference