webpeel 0.12.2 → 0.12.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -74,13 +74,13 @@ npx webpeel search "best AI frameworks 2026"
|
|
|
74
74
|
npx webpeel https://store.com/search --extract-all --json
|
|
75
75
|
```
|
|
76
76
|
|
|
77
|
-
First 25 fetches work instantly, no signup. After that, [sign up free](https://app.webpeel.dev/signup) for
|
|
77
|
+
First 25 fetches work instantly, no signup. After that, [sign up free](https://app.webpeel.dev/signup) for 500/week.
|
|
78
78
|
|
|
79
79
|
## Why WebPeel?
|
|
80
80
|
|
|
81
81
|
| Feature | **WebPeel** | Firecrawl | Jina Reader | MCP Fetch |
|
|
82
82
|
|---------|:-----------:|:---------:|:-----------:|:---------:|
|
|
83
|
-
| **Free tier** | ✅
|
|
83
|
+
| **Free tier** | ✅ 500/wk recurring | 500 one-time | ❌ Cloud only | ✅ Unlimited |
|
|
84
84
|
| **Smart escalation** | ✅ HTTP→Browser→Stealth | Manual | ❌ | ❌ |
|
|
85
85
|
| **Challenge detection** | ✅ 7 vendors auto-detected | ❌ | ❌ | ❌ |
|
|
86
86
|
| **Site search** | ✅ 27 sites built-in | ❌ | ❌ | ❌ |
|
|
@@ -337,7 +337,7 @@ curl "https://api.webpeel.dev/v1/fetch?url=https://example.com" \
|
|
|
337
337
|
|
|
338
338
|
| Plan | Price | Weekly Fetches | Burst | Extra Usage |
|
|
339
339
|
|------|------:|---------------:|:-----:|:-----------:|
|
|
340
|
-
| **Free** | $0 |
|
|
340
|
+
| **Free** | $0 | 500/wk | 50/hr | — |
|
|
341
341
|
| **Pro** | $9/mo | 1,250/wk | 100/hr | ✅ from $0.001 |
|
|
342
342
|
| **Max** | $29/mo | 6,250/wk | 500/hr | ✅ from $0.001 |
|
|
343
343
|
|
|
@@ -44,12 +44,12 @@ export function createAuthMiddleware(authStore) {
|
|
|
44
44
|
apiKey = apiKeyHeader;
|
|
45
45
|
}
|
|
46
46
|
if (!apiKey) {
|
|
47
|
-
// Allow anonymous free-tier access (
|
|
47
|
+
// Allow anonymous free-tier access (500/week, 50/hr burst)
|
|
48
48
|
// This enables the playground and basic usage without signup
|
|
49
49
|
req.auth = {
|
|
50
50
|
keyInfo: null,
|
|
51
51
|
tier: 'free',
|
|
52
|
-
rateLimit:
|
|
52
|
+
rateLimit: 50, // requests per minute for anonymous
|
|
53
53
|
softLimited: false,
|
|
54
54
|
extraUsageAvailable: false,
|
|
55
55
|
};
|
|
@@ -215,7 +215,7 @@ export function createOAuthRouter() {
|
|
|
215
215
|
// New user - create account
|
|
216
216
|
const newUserResult = await client.query(`INSERT INTO users
|
|
217
217
|
(email, password_hash, tier, weekly_limit, burst_limit, rate_limit, name, avatar_url)
|
|
218
|
-
VALUES ($1, NULL, 'free',
|
|
218
|
+
VALUES ($1, NULL, 'free', 500, 50, 10, $2, $3)
|
|
219
219
|
RETURNING id`, [email, name || null, avatar || null]);
|
|
220
220
|
userId = newUserResult.rows[0].id;
|
|
221
221
|
isNew = true;
|
|
@@ -9,7 +9,7 @@ const { Pool } = pg;
|
|
|
9
9
|
* Tier configuration (weekly usage model)
|
|
10
10
|
*/
|
|
11
11
|
const TIER_LIMITS = {
|
|
12
|
-
free: { weekly_limit:
|
|
12
|
+
free: { weekly_limit: 500, burst_limit: 50, rate_limit: 10 },
|
|
13
13
|
pro: { weekly_limit: 1250, burst_limit: 100, rate_limit: 60 },
|
|
14
14
|
max: { weekly_limit: 6250, burst_limit: 500, rate_limit: 200 },
|
|
15
15
|
};
|
|
@@ -204,7 +204,7 @@ export function createUserRouter() {
|
|
|
204
204
|
const passwordHash = await bcrypt.hash(password, BCRYPT_ROUNDS);
|
|
205
205
|
// Create user
|
|
206
206
|
const userResult = await pool.query(`INSERT INTO users (email, password_hash, tier, weekly_limit, burst_limit, rate_limit)
|
|
207
|
-
VALUES ($1, $2, 'free',
|
|
207
|
+
VALUES ($1, $2, 'free', 500, 50, 10)
|
|
208
208
|
RETURNING id, email, tier, weekly_limit, burst_limit, rate_limit, created_at`, [email, passwordHash]);
|
|
209
209
|
const user = userResult.rows[0];
|
|
210
210
|
// Generate API key
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "webpeel",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.3",
|
|
4
4
|
"description": "Fast web fetcher for AI agents - stealth mode, crawl mode, page actions, structured extraction, PDF parsing, smart escalation from simple HTTP to headless browser",
|
|
5
5
|
"author": "Jake Liu",
|
|
6
6
|
"license": "AGPL-3.0-only",
|