This guide takes you from a source checkout to your first saved crawl. You need Python 3.10 or newer and an internet connection for installation. Python 3.12 is the recommended starting point. Optional browser mode uses a local copy of Chromium. No account is needed for either mode.
For installation in Claude, Cowork, Claude Code, Codex, ChatGPT Work, Hermes or OpenClaw, see use with your assistant. The same native engine supports each documented local workflow; the host still needs file, shell and network capabilities.
Get the source, then open a terminal in the folder containing pyproject.toml, README.md and scripts/:
git clone https://github.com/beyondtahir/beyondseo.git
cd beyondseoConfirm your Python version:
python3 --versionOn Windows, use py -3 --version. If the command is missing or reports a version older than 3.10, install a current Python version from python.org.
macOS or Linux:
python3 scripts/setup.py
python3 scripts/run.py doctor --no-browserWindows PowerShell:
py -3 scripts/setup.py
py -3 scripts/run.py doctor --no-browserSetup creates .venv, installs the crawler, and attempts to install the PDF renderer. The default setup skips Chromium and checks HTTP readiness.
Add --with-browser if this runtime should render JavaScript itself. You can also run python3 scripts/run.py browser-setup later. For an unattended job that requires Chromium, use --require-browser to fail setup if it cannot run. If optional Chromium or PDF setup fails, HTTP crawling and HTML reporting can still work. Setup checks the local runtime. Test website access separately.
The launcher works without activation or changes to PowerShell execution policy:
py -3 scripts/run.py doctor --no-browser
py -3 scripts/run.py crawl https://example.com --out ../client-runs/exampleFor optional Chromium on Linux, some systems also need its system libraries. Run the browser project's dependency installer using this environment:
.venv/bin/python -m playwright install-deps chromiumThat command may request administrator access for system packages. The main BeyondSEO setup script does not install operating-system packages silently.
For an assistant or a terminal where activation does not persist, use python3 scripts/run.py doctor --no-browser (Windows: py -3 scripts/run.py doctor --no-browser). This launcher selects this folder's .venv and forwards CLI arguments and exit codes. Use an absolute script path when running from another directory. It also supports --version and every other CLI command.
python3 scripts/run.py --version
python3 scripts/run.py doctor --no-browserdoctor executes a private filesystem write/readback and launches Chromium with a local JavaScript DOM probe. With --target https://example.com --out ../doctor-run, it separately checks DNS/address policy, robots, bounded sitemap discovery, one HTTP page and automatic rendering where needed. Results use PASS, WARN, FAIL, BLOCKED and NOT_TESTED, with commands and recorded evidence. Missing dependencies or a blocked target affect the exit status. A successful local runtime does not prove website/network access. The legacy http_ready flag means parser dependency availability only; use runtime_checks and checks.target_reachable for executed checks. An HTTP-only audit can still use --mode http without Chromium. PDF package availability is not a rendered PDF test.
For an HTTP-only environment use doctor --no-browser. This explicitly skips browser launch and rendering probes, records them as NOT_TESTED, and checks the HTTP runtime independently. It does not label a skipped browser as ready. Setup also uses this route after a browser diagnostic timeout.
python3 scripts/run.py crawl https://example.com --out ../client-runs/example --max-pages 10Open ../client-runs/example/report.md for the crawl report, documents.jsonl for readable page data and content/ for Markdown/text files. Check summary.json before interpreting the results: a page limit, a failed request or an incomplete browser observation can restrict coverage even if the command exits successfully.
If your site redirects between the bare domain and www, include the other host:
beyondseo crawl https://example.com --allow-host www.example.com \
--out runs/example-www --max-pages 25An additional website host is not automatically inferred. Public browser asset/API dependencies are allowed separately and do not join the page queue.
Keep the uploaded skill where the host manages it. Prepare the crawler in a separate folder that the host permits for execution:
python3 /path/to/beyondseo/scripts/setup.py --venv /approved/runtime/beyondseo
python3 /path/to/beyondseo/scripts/run.py --runtime /approved/runtime/beyondseo doctor --no-browserReplace both paths with real paths in that execution environment. Setup uses a temporary source copy when building the package, so it does not write build files into the mounted skill. A denied path still needs a host-supported location; the option does not change permissions. Use the same --runtime for every crawler command. See Work save and execution errors.
If target DNS or native networking is unavailable, use saved public page captures from an independently permitted host tool. Installing Chromium does not provide a different DNS route: its requests pass through the same protected transport as the HTTP crawler.
Use these commands if you prefer to run the individual steps yourself:
python3 -m venv .venv
source .venv/bin/activate
python -m pip install -e ".[browser,reports]"
python -m playwright install chromium
beyondseo doctorOn Windows replace the first command with py -3 -m venv .venv and activate with .venv\Scripts\Activate.ps1.
For websites whose content arrives in the initial response:
python3 scripts/setup.py --http-only
source .venv/bin/activate
beyondseo crawl https://example.com --out runs/http --mode httpAdd browser support later from the repository root:
python -m pip install -e ".[browser,reports]"
python -m playwright install chromiumAfter updating the source files, activate the environment and run the same installation command again. Reinstall Chromium when the Playwright package changes:
python -m pip install -e ".[browser,reports]"
python -m playwright install chromiumVersion 2.1 adds crawl settings and output fields. Start a fresh output folder for older 2.0 snapshots; resume requires compatible settings. Retain an older checkout if you need to regenerate an older report with its original code.
| Message or symptom | What to do |
|---|---|
beyondseo: command not found |
Activate .venv, or use .venv/bin/beyondseo / .venv\Scripts\beyondseo.exe directly |
| Optional rendering dependency missing | Install .[browser,reports] inside the active environment |
| Chromium executable missing | Run python -m playwright install chromium with that environment's Python |
| Chromium download times out or returns a gateway error | Keep the download error separate from skill registration. Check the host's permitted network access to the browser download URL; do not repeat downloads indefinitely. Use --http-only setup and --mode http for reachable pages while browser setup is unavailable. This does not verify JavaScript content. |
| Browser launch fails on Linux | Install Chromium system libraries using the command above |
| Target DNS lookup fails | Record the failed hostname and error; check the hostname and the execution environment's DNS/network access. If robots.txt cannot be fetched, do not bypass the robots check or describe the page's content as inspected. |
| Proxy returns HTTP 407 | Check proxy credentials and access with the workspace administrator. Do not paste credentials into chat, reports or command history. |
| Proxy tunnel denied or unsupported proxy | BeyondSEO supports HTTP proxy CONNECT to a locally resolved, verified destination IP. Confirm the proxy permits CONNECT to that IP and port; HTTPS-to-proxy and SOCKS are not supported. No direct fallback is attempted when a configured proxy fails. |
| TLS certificate error | Check the system certificate store and network configuration; certificate verification stays enabled |
| Output already contains a crawl | Use --resume with matching settings, or choose a fresh output folder |
crawl.lock exists |
Check its recorded process ID; stop an active crawl before removing a stale lock |
| Empty raw text | Try automatic or browser mode and inspect rendered content |
| Empty rendered text | Inspect javascript_errors, request restrictions and readiness fields; try a visible selector and a longer timeout |
| Page limit reached | Raise --max-pages on a resumed run |
| Server denial or challenge | Inspect the saved response and the site's access requirements; repeated retries do not guarantee access |
Close processes using the environment, deactivate it and delete the project's .venv directory. The repository and your saved crawl folders remain separate. Removing the browser cache is optional and can affect other local projects that use the same browser installation.
For a designed client deliverable, follow branded reports. present exports PDF and HTML locally; it needs no browser or online account. Both normal and HTTP-only setup include the free PDF renderer.
Next: browser options, command reference, or local examples.
After the first crawl, read readiness.md for plain-language next steps. The operations guide covers snapshot comparisons, bounded review loops, checking supplied backlinks, and staged website edits over local files, SFTP or FTPS. SFTP needs the optional sftp package extra; FTPS uses Python’s standard library.
BeyondSEO's native HTTP transport reads the http_proxy, https_proxy and no_proxy environment settings (including their standard uppercase variants). For a configured HTTP proxy it sends a CONNECT request to a locally resolved and validated target IP, then retains the original hostname for HTTPS certificate verification. Requests still follow scope, robots and redirect checks. Proxy basic authentication is passed to the proxy only; do not include proxy URLs or credentials in reports.
Local target DNS must work: proxy-side hostname resolution alone is not supported because BeyondSEO cannot independently verify which address the proxy will reach. Some proxies do not permit IP-based CONNECT or tunnels to HTTP ports. A successful proxy request in another tool does not by itself establish that BeyondSEO can use that proxy. Those cases remain blocked; use the host's permitted browser or supplied evidence, or ask the workspace administrator about approved DNS and proxy policy. HTTP proxies expose CONNECT metadata and any proxy credentials to the proxy connection; use a trusted network. Browser availability, installation downloads and host permissions are separate checks.