Skip to content

Commit d1c7fa1

Browse files
authored
Merge pull request #2613 from unclecode/feat/docs-s2
Docs: strip test switch, Plex fonts, Cloud links, link rule, TechArticle data
2 parents 663f599 + 0fa0238 commit d1c7fa1

21 files changed

Lines changed: 221 additions & 47 deletions

‎CHANGELOG.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ All notable changes to Crawl4AI will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [Unreleased]
9+
10+
### Changed
11+
12+
- Cloud links follow one rule: the product name links to https://crawl4ai.com/ with no tracking, and an offer ("Get a free API key", "1,000 free credits") links to https://crawl4ai.com/signin/ with a ref tag. The CLI notice, the README, the Docker Hub page and the docs follow it.
13+
- PyPI project URLs: Homepage is https://crawl4ai.com/, the GitHub repository is listed as Source.
14+
815
## [0.9.6] - 2026-11-20
916

1017
0.9.6 is a security release. It closes eleven coordinated-disclosure advisories. Nine are in the Docker server: one more SSRF path, a browser context and declarative hooks shared between API callers, a list-form bypass of the 0.9.5 ReDoS fix, unchecked markdown options, a request-size limit that skipped chunked bodies, a TLS fetch that blocked the event loop, an uncapped `screenshot_wait_for`, and a monitor leak. Two reach the library too: unbounded sitemap index following in the URL seeder, and dependency floors that allowed a vulnerable Brotli decoder. It also ships the bug fixes that landed on `develop` since 0.9.5. Users who self-host the Docker server should upgrade.

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ In 2023, I needed web-to-Markdown. The “open source” option wanted an accoun
155155

156156
I made it open source for **availability**, anyone can use it without a gate. Now I’m building the platform for **affordability**, anyone can run serious crawls without breaking the bank. If that resonates, join in, send feedback, or just crawl something amazing.
157157

158-
That platform is live now: [Crawl4AI Cloud](https://crawl4ai.com/?ref=readme).
158+
That platform is live now: [Crawl4AI Cloud](https://crawl4ai.com/).
159159
</details>
160160

161161
<details>
@@ -526,7 +526,7 @@ Our mission is to unlock the value of personal and enterprise data by turning di
526526
## 💖 Support Crawl4AI
527527

528528
1. ⭐ **Star the repo**: it helps more people find it.
529-
2. ☁️ **Use the cloud**: [crawl4ai.com](https://crawl4ai.com/?ref=readme). It funds the library.
529+
2. ☁️ **Use the cloud**: [crawl4ai.com](https://crawl4ai.com/). It funds the library.
530530
3. 💝 **Sponsor on GitHub**: [github.com/sponsors/unclecode](https://github.com/sponsors/unclecode)
531531
4. 🏢 **Companies**: the sponsor tiers and benefits are in [SPONSORS.md](SPONSORS.md).
532532

‎crawl4ai/cloud_notice.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
import time
2626
from pathlib import Path
2727

28-
CLOUD_URL = "https://crawl4ai.com/?ref=pip"
29-
BLOCKED_URL = "https://crawl4ai.com/?ref=blocked"
28+
CLOUD_URL = "https://crawl4ai.com/signin/?ref=pip"
29+
BLOCKED_URL = "https://crawl4ai.com/signin/?ref=blocked"
3030
_ENV_OFF = "CRAWL4AI_NO_CLOUD_NOTICE"
3131
_MARKER = ".cloud-notice-shown"
3232
_BLOCKED_MARKER = ".cloud-notice-blocked"

‎deploy/docker/DOCKERHUB.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Crawl4AI
22

3-
**Crawl4AI Cloud is the hosted web crawler API for LLMs and AI agents. No servers to run. Start free at [crawl4ai.com](https://crawl4ai.com/signin/?ref=dockerhub).** Prefer to self-host? This image is the open-source Crawl4AI server (Apache-2.0).
3+
**[Crawl4AI Cloud](https://crawl4ai.com/) is the hosted web crawler API for LLMs and AI agents. No servers to run. Start free at [crawl4ai.com](https://crawl4ai.com/signin/?ref=dockerhub).** Prefer to self-host? This image is the open-source Crawl4AI server (Apache-2.0).
44

55
[![GitHub Stars](https://img.shields.io/github/stars/unclecode/crawl4ai?style=social)](https://github.com/unclecode/crawl4ai)
66
[![Downloads](https://static.pepy.tech/badge/crawl4ai/month)](https://pepy.tech/project/crawl4ai)
@@ -30,7 +30,7 @@ curl -s http://localhost:11235/md \
3030

3131
The dashboard is at `http://localhost:11235/dashboard`, the playground at `http://localhost:11235/playground`.
3232

33-
Images are multi-arch (`amd64`, `arm64`). Tags: `latest`, or a version such as `0.9.5`.
33+
Images are multi-arch (`amd64`, `arm64`). Tags: `latest`, or a version such as `0.9.6`.
3434

3535
---
3636

‎docs/md_v2/advanced/anti-bot-and-fallback.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
When crawling sites protected by anti-bot systems (Akamai, Cloudflare, PerimeterX, DataDome, Imperva, etc.), requests often get blocked with CAPTCHAs, 403 responses, or empty pages. Crawl4AI provides a layered retry and fallback system that automatically detects blocking and escalates through multiple strategies until content is retrieved.
44

55
!!! tip "Hard sites? One Cloud call"
6-
[Crawl4AI Cloud](https://crawl4ai.com/?ref=docs-antibot) runs the detection, retries and fallbacks for you, on its own browsers and addresses: send a URL, get clean Markdown. 1,000 free credits every month, no card. [Get a key →](https://crawl4ai.com/signin/?ref=docs-antibot)
6+
[Crawl4AI Cloud](https://crawl4ai.com/) runs the detection, retries and fallbacks for you, on its own browsers and addresses: send a URL, get clean Markdown. 1,000 free credits every month, no card. [Get a key →](https://crawl4ai.com/signin/?ref=docs-antibot)
77

88
```bash
99
curl -X POST https://api.crawl4ai.com/scrape \

‎docs/md_v2/advanced/proxy-security.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
This guide covers proxy configuration and security features in Crawl4AI, including SSL certificate analysis and proxy rotation strategies.
44

55
!!! tip "No proxies to buy or rotate"
6-
[Crawl4AI Cloud](https://crawl4ai.com/?ref=docs-proxy) fetches from the country you choose with its own addresses: add `"country": "gb"` to a call, nothing to configure. 1,000 free credits every month, no card. [Get a key →](https://crawl4ai.com/signin/?ref=docs-proxy)
6+
[Crawl4AI Cloud](https://crawl4ai.com/) fetches from the country you choose with its own addresses: add `"country": "gb"` to a call, nothing to configure. 1,000 free credits every month, no card. [Get a key →](https://crawl4ai.com/signin/?ref=docs-proxy)
77

88
```bash
99
curl -X POST https://api.crawl4ai.com/scrape \

‎docs/md_v2/advanced/undetected-browser.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Undetected Browser Mode
22

33
!!! tip "No browser to patch"
4-
[Crawl4AI Cloud](https://crawl4ai.com/?ref=docs-stealth) picks the right way to fetch each page, a real browser included, and gets past the usual bot checks for you. 1,000 free credits every month, no card. [Get a key →](https://crawl4ai.com/signin/?ref=docs-stealth)
4+
[Crawl4AI Cloud](https://crawl4ai.com/) picks the right way to fetch each page, a real browser included, and gets past the usual bot checks for you. 1,000 free credits every month, no card. [Get a key →](https://crawl4ai.com/signin/?ref=docs-stealth)
55

66
```bash
77
curl -X POST https://api.crawl4ai.com/scrape \

‎docs/md_v2/assets/cloud-strip.css‎

Lines changed: 33 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,19 @@
44
States on <html>: data-c4s="full" (110px) or "compact" (48px), set before the first paint; class
55
c4s-shrunk = a full strip shrunk by scrolling. The shrink only uses transform and opacity: neither is a
66
layout shift, so the page, the side panel and the table of contents never move (CLS). */
7+
/* IBM Plex, self-hosted (the same files as crawl4ai.com) and preloaded in overrides/main.html.
8+
font-display: optional = a late font is not swapped in, so text never moves (layout shift). */
9+
@font-face{font-family:"C4S Plex";src:url(fonts/IBMPlexSans-400.woff2) format("woff2");font-weight:400;font-display:optional}
10+
@font-face{font-family:"C4S Plex";src:url(fonts/IBMPlexSans-600.woff2) format("woff2");font-weight:600;font-display:optional}
11+
@font-face{font-family:"C4S Plex Mono";src:url(fonts/IBMPlexMono-500.woff2) format("woff2");font-weight:500;font-display:optional}
712
:root{--c4s-full:110px;--c4s-compact:48px;--c4s-h:var(--c4s-full);--c4s-rise:calc(var(--c4s-full) - var(--c4s-compact));
8-
--c4s-bg:#f8f7f2;--c4s-ink:#1a1b16;--c4s-muted:#5d625f;--c4s-teal:#0a7c86;--c4s-green:#2f5d55;--c4s-green-hover:#264b45;--c4s-on:#ffffff;
9-
--c4s-sans:-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,Roboto,"Helvetica Neue",Arial,sans-serif;--c4s-ease:.28s ease}
13+
--c4s-bg:#faf8f3;--c4s-ink:#17221f;--c4s-muted:#3b4543;--c4s-teal:#117a72;--c4s-teal-hover:#0c5f59;--c4s-band:#0f2a27;--c4s-on:#ffffff;
14+
--c4s-sans:"C4S Plex",-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;
15+
--c4s-mono:"C4S Plex Mono",ui-monospace,"SF Mono",Menlo,monospace;--c4s-ease:.28s ease}
1016
html[data-c4s="compact"]{--c4s-h:var(--c4s-compact)}
1117

1218
.c4s{position:fixed;top:var(--header-height,65px);left:0;right:0;height:var(--c4s-h);z-index:950;
13-
background:var(--c4s-bg);border-bottom:2px solid var(--c4s-green);font-family:var(--c4s-sans);line-height:1.3;overflow:hidden;
19+
background:var(--c4s-bg);border-bottom:2px solid var(--c4s-band);font-family:var(--c4s-sans);line-height:1.3;overflow:hidden;
1420
transition:transform var(--c4s-ease)}
1521
.c4s *{box-sizing:border-box}
1622
.c4s-in{position:absolute;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 24px;
@@ -22,19 +28,19 @@ html[data-c4s="compact"]{--c4s-h:var(--c4s-compact)}
2228
html[data-c4s="compact"] .c4s-compact,html.c4s-shrunk .c4s-compact{opacity:1;visibility:visible}
2329

2430
.c4s-text{min-width:0}
25-
.c4s-eyebrow{font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--c4s-teal);margin:0 0 6px}
31+
.c4s-eyebrow{font-family:var(--c4s-mono);font-size:11px;font-weight:500;letter-spacing:.1em;text-transform:uppercase;color:var(--c4s-teal);margin:0 0 6px}
2632
/* the theme styles every p; these win by specificity */
27-
.c4s p.c4s-title{font-size:22px;font-weight:700;color:var(--c4s-ink);margin:0 0 4px;padding:0;letter-spacing:-.01em}
28-
.c4s p.c4s-line{font-size:14px;color:var(--c4s-muted);margin:0;padding:0}
29-
.c4s p.c4s-one{font-size:15px;color:var(--c4s-muted);margin:0;padding:0;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
30-
.c4s p.c4s-one b{color:var(--c4s-ink);font-weight:700}
33+
.c4s p.c4s-title{font-family:var(--c4s-sans);font-size:22px;font-weight:600;color:var(--c4s-ink);margin:0 0 4px;padding:0;letter-spacing:-.01em}
34+
.c4s p.c4s-line{font-family:var(--c4s-sans);font-size:14px;color:var(--c4s-muted);margin:0;padding:0}
35+
.c4s p.c4s-one{font-family:var(--c4s-sans);font-size:15px;color:var(--c4s-muted);margin:0;padding:0;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
36+
.c4s p.c4s-one b{color:var(--c4s-ink);font-weight:600}
3137
.c4s-actions{display:flex;align-items:center;gap:18px;flex-shrink:0}
3238
.c4s a{text-decoration:none}
33-
.c4s a.c4s-btn{display:inline-flex;align-items:center;font-size:15px;font-weight:600;color:var(--c4s-on);background:var(--c4s-green);
34-
padding:11px 18px;border-radius:6px;white-space:nowrap}
35-
.c4s-compact a.c4s-btn{font-size:14px;padding:7px 14px}
36-
.c4s a.c4s-btn:hover{background:var(--c4s-green-hover);color:var(--c4s-on)}
37-
.c4s a.c4s-link{font-size:14px;color:var(--c4s-green);border-bottom:1px solid currentColor;white-space:nowrap}
39+
.c4s a.c4s-btn{display:inline-flex;align-items:center;font-family:var(--c4s-mono);font-size:14px;font-weight:500;color:var(--c4s-on);background:var(--c4s-teal);
40+
height:40px;padding:0 18px;border-radius:999px;white-space:nowrap}
41+
.c4s-compact a.c4s-btn{font-size:13px;height:34px;padding:0 14px}
42+
.c4s a.c4s-btn:hover{background:var(--c4s-teal-hover);color:var(--c4s-on)}
43+
.c4s a.c4s-link{font-family:var(--c4s-sans);font-size:14px;color:var(--c4s-teal);border-bottom:1px solid currentColor;white-space:nowrap}
3844

3945
/* the page under the strip: the header space plus the reserved strip height */
4046
html{scroll-padding-top:calc(var(--header-height,65px) + var(--c4s-h) + 15px)}
@@ -49,7 +55,7 @@ html{scroll-padding-top:calc(var(--header-height,65px) + var(--c4s-h) + 15px)}
4955
/* the entrance, on the first page of a visit only: one slide-in, then one soft pulse of the button 1 s
5056
after load; never repeated */
5157
@keyframes c4s-slide{from{transform:translateY(-100%)}to{transform:translateY(0)}}
52-
@keyframes c4s-pulse{0%{transform:scale(1);box-shadow:0 0 0 0 rgba(47,93,85,.45)}40%{transform:scale(1.04);box-shadow:0 0 0 8px rgba(47,93,85,0)}100%{transform:scale(1);box-shadow:0 0 0 0 rgba(47,93,85,0)}}
58+
@keyframes c4s-pulse{0%{transform:scale(1);box-shadow:0 0 0 0 rgba(17,122,114,.45)}40%{transform:scale(1.04);box-shadow:0 0 0 8px rgba(17,122,114,0)}100%{transform:scale(1);box-shadow:0 0 0 0 rgba(17,122,114,0)}}
5359
html.c4s-arrive:not(.c4s-shrunk) .c4s{animation:c4s-slide .45s ease-out}
5460
html.c4s-arrive .c4s a.c4s-btn{animation:c4s-pulse .9s ease-out 1.45s 1}
5561
@media (prefers-reduced-motion:reduce){.c4s,.c4s-in,#toc-sidebar,#terminal-mkdocs-side-panel{transition:none}html.c4s-arrive:not(.c4s-shrunk) .c4s,html.c4s-arrive .c4s a.c4s-btn{animation:none}}
@@ -62,18 +68,24 @@ html.c4s-arrive .c4s a.c4s-btn{animation:c4s-pulse .9s ease-out 1.45s 1}
6268
.c4s-in{padding:0 12px;gap:10px}
6369
.c4s p.c4s-one{font-size:14px}
6470
.c4s p.c4s-one span,.c4s a.c4s-link{display:none}
65-
.c4s-compact a.c4s-btn{font-size:13px;padding:7px 11px}
71+
.c4s-compact a.c4s-btn{font-size:12px;height:32px;padding:0 11px}
6672
}
6773

6874
/* the decision-point box under an install command (markdown paragraph with class c4s-box on home,
6975
installation, quickstart and self-hosting): a light card with a green left edge, as the strip */
7076
#terminal-mkdocs-main-content p.c4s-box{display:flex;flex-wrap:wrap;align-items:center;column-gap:.35em;row-gap:10px;
71-
margin:14px 0 18px;padding:14px 16px;background:var(--c4s-bg);color:var(--c4s-ink);border-left:4px solid var(--c4s-green);
77+
margin:14px 0 18px;padding:14px 16px;background:var(--c4s-bg);color:var(--c4s-ink);border-left:4px solid var(--c4s-teal);
7278
border-radius:6px;font-family:var(--c4s-sans);font-size:15px;line-height:1.45}
73-
#terminal-mkdocs-main-content p.c4s-box strong{color:var(--c4s-ink);font-family:var(--c4s-sans);font-size:inherit;font-weight:700;letter-spacing:normal;text-shadow:none}
74-
#terminal-mkdocs-main-content p.c4s-box a.c4s-box-btn{margin-left:auto;display:inline-flex;align-items:center;font-size:14px;font-weight:600;
75-
color:var(--c4s-on);background:var(--c4s-green);padding:8px 14px;border-radius:6px;white-space:nowrap;text-decoration:none;border:0}
76-
#terminal-mkdocs-main-content p.c4s-box a.c4s-box-btn:hover{background:var(--c4s-green-hover)}
79+
#terminal-mkdocs-main-content p.c4s-box strong{color:var(--c4s-ink);font-family:var(--c4s-sans);font-size:inherit;font-weight:600;letter-spacing:normal;text-shadow:none}
80+
#terminal-mkdocs-main-content p.c4s-box a.c4s-box-btn{margin-left:auto;display:inline-flex;align-items:center;font-family:var(--c4s-mono);font-size:13px;font-weight:500;
81+
color:var(--c4s-on);background:var(--c4s-teal);height:36px;padding:0 16px;border-radius:999px;white-space:nowrap;text-decoration:none;border:0}
82+
#terminal-mkdocs-main-content p.c4s-box a.c4s-box-btn:hover{background:var(--c4s-teal-hover)}
7783
/* the longer self-hosting box puts its button on its own line */
7884
#terminal-mkdocs-main-content p.c4s-box.c4s-box-stack{display:block}
79-
#terminal-mkdocs-main-content p.c4s-box.c4s-box-stack a.c4s-box-btn{display:table;margin:10px 0 0}
85+
#terminal-mkdocs-main-content p.c4s-box.c4s-box-stack a.c4s-box-btn{display:flex;width:fit-content;margin:10px 0 0}
86+
87+
/* the plain crawl4ai.com links at the end of every article (overrides/main.html) */
88+
#terminal-mkdocs-main-content footer.c4s-footer{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px;margin:48px 0 8px;padding:14px 0 0;background:none;
89+
border-top:1px solid var(--progress-bar-background,#3f3f44);font-size:13px;color:var(--secondary-color,#a3abba)}
90+
#terminal-mkdocs-main-content footer.c4s-footer span{color:var(--font-color,#e8e9ed)}
91+
#terminal-mkdocs-main-content footer.c4s-footer a{color:var(--primary-color,#50ffff)}

‎docs/md_v2/assets/cloud-strip.js‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,18 @@
2727
var t = e.target.closest("[data-c4s-ev]"); if (t) ev(t.getAttribute("data-c4s-ev"));
2828
});
2929

30+
/* plain links to crawl4ai.com (the Cloud menu item, the footer row): crawlers see the plain href; the
31+
ref and the anonymous id are added only when a person opens the link (any button, or the keyboard) */
32+
function tagHome(e) {
33+
var a = e.target.closest && e.target.closest("a[data-c4s-home]"); if (!a || a.getAttribute("data-c4s-tagged")) return;
34+
var ref = a.getAttribute("data-c4s-home");
35+
a.href += (a.href.indexOf("?") < 0 ? "?" : "&") + "ref=" + encodeURIComponent(ref) + (anon && !quiet ? "&aid=" + anon : "");
36+
a.setAttribute("data-c4s-tagged", "1");
37+
ev("cloud_home_clicked", { to: a.pathname, ref: ref });
38+
}
39+
document.addEventListener("mousedown", tagHome);
40+
document.addEventListener("keydown", function (e) { if (e.key === "Enter") tagHome(e); });
41+
3042
/* ---- a full strip shrinks to one line on scroll, and grows back at the top of the page ---- */
3143
var shrunk = false, tick = false;
3244
function onScroll() {
14.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)