The Worker now runs first for every request except the content-hashed bundles under /assets/ (run_worker_first: ["/*", "!/assets/*"]) and counts it against a per-client limit before serving it: - SITE_LIMITER: pages and public files, 120 requests / 60 s - API_LIMITER: every /api/* request, 60 / 60 s - VERIFY_LIMITER: /api/turnstile/verify on top, 30 / 60 s (unchanged) Over the limit, pages get a plain-text 429 in the four UI languages and the API a JSON 429 (rate_limited); both carry Retry-After: 60. Clients are keyed on their IPv4 address or the /64 of their IPv6 address, never logged. Pages still go through env.ASSETS.fetch(), so _headers, _redirects and the SPA fallback apply as before. A failing limiter lets requests through. Previews get their own counters (namespace_id 4204/4206). Docs: DEPLOYMENT, PRIVACY (wording only, nothing new collected, no re-consent), SECURITY, CONTRIBUTING, READMEs, CLAUDE.md, ROADMAP, CHANGELOG. Version 2.0.2 (versionCode 20002). Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
90 lines
2.6 KiB
JSON
90 lines
2.6 KiB
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "JSONPrism",
|
|
"version": "../package.json",
|
|
"identifier": "com.poli0981.jsonprism",
|
|
"build": {
|
|
"beforeDevCommand": "npm run dev",
|
|
"beforeBuildCommand": "npm run build",
|
|
"devUrl": "http://localhost:5173",
|
|
"frontendDist": "../dist"
|
|
},
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"title": "JSONPrism · Disperse JSON",
|
|
"width": 1280,
|
|
"height": 820,
|
|
"minWidth": 800,
|
|
"minHeight": 560,
|
|
"decorations": true,
|
|
"resizable": true,
|
|
"fullscreen": false,
|
|
"transparent": false,
|
|
"dragDropEnabled": true,
|
|
"theme": null
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": "default-src 'self'; img-src 'self' data: blob:; style-src 'self' 'unsafe-inline'; font-src 'self' data:; script-src 'self' 'wasm-unsafe-eval'; connect-src 'self' ipc: http://ipc.localhost; object-src 'none'; base-uri 'self'; form-action 'self'; frame-ancestors 'none'"
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": "all",
|
|
"licenseFile": "license.rtf",
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
],
|
|
"category": "DeveloperTool",
|
|
"shortDescription": "Disperse JSON into many formats",
|
|
"longDescription": "JSONPrism is a refracting tool for developers. It takes a single JSON input and disperses it into twelve formats — JSONL, CSV, TSV, YAML, XML, TOML, .NET RESX, Markdown table, SQL INSERT, BSON, CBOR and MessagePack — and parses six of them back, entirely on your machine.",
|
|
"copyright": "Copyright (c) 2026 poli0981",
|
|
"publisher": "poli0981",
|
|
"homepage": "https://jsonprism.poli0981.dev",
|
|
"windows": {
|
|
"wix": {
|
|
"language": "en-US"
|
|
},
|
|
"nsis": {
|
|
"displayLanguageSelector": false,
|
|
"installerIcon": "icons/icon.ico",
|
|
"installMode": "perMachine",
|
|
"languages": ["English", "Vietnamese"]
|
|
},
|
|
"certificateThumbprint": null,
|
|
"digestAlgorithm": "sha256",
|
|
"timestampUrl": ""
|
|
},
|
|
"macOS": {
|
|
"minimumSystemVersion": "12.0",
|
|
"exceptionDomain": "",
|
|
"frameworks": [],
|
|
"files": {},
|
|
"providerShortName": null,
|
|
"signingIdentity": null
|
|
},
|
|
"linux": {
|
|
"appimage": {
|
|
"bundleMediaFramework": false
|
|
},
|
|
"deb": {
|
|
"depends": []
|
|
}
|
|
},
|
|
"android": {
|
|
"minSdkVersion": 31,
|
|
"versionCode": 20002
|
|
}
|
|
},
|
|
"plugins": {
|
|
"fs": {
|
|
"requireLiteralLeadingDot": true
|
|
}
|
|
}
|
|
}
|