[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-82319":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":14,"stars7d":15,"stars30d":16,"stars90d":14,"forks30d":14,"starsTrendScore":14,"compositeScore":17,"rankGlobal":9,"rankLanguage":9,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":21,"hasPages":19,"topics":22,"createdAt":9,"pushedAt":9,"updatedAt":23,"readmeContent":24,"aiSummary":25,"trendingCount":14,"starSnapshotCount":14,"syncStatus":15,"lastSyncTime":26,"discoverSource":27},82319,"liteparse-cloudflare-worker-quickstart","run-llama\u002Fliteparse-cloudflare-worker-quickstart","run-llama","Quickstart on how to deploy LiteParse as a CloudFlare worker",null,"TypeScript",73,9,21,0,2,46,48.6,"MIT License",false,"main",true,[],"2026-06-12 04:01:37","# LiteParse Cloudflare Worker\n\nA starter template for deploying [LiteParse](https:\u002F\u002Fgithub.com\u002Frun-llama\u002Fliteparse) on Cloudflare Workers to parse PDFs at the edge using WebAssembly.\n\n## Overview\n\nThis Worker runs LiteParse's Rust\u002FWASM parser directly on Cloudflare's edge runtime, letting you extract text from PDFs without managing servers or containers.\n\n## Prerequisites\n\n- [Node.js](https:\u002F\u002Fnodejs.org\u002F) 18+\n- [Wrangler CLI](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fworkers\u002Fwrangler\u002F) logged in (`npx wrangler login`)\n\n## Getting Started\n\n```bash\n# Install dependencies\nnpm install\n\n# Start local dev server\nnpm run dev\n```\n\n## Usage\n\nSend a PDF as the request body:\n\n```bash\ncurl -X POST --data-binary @document.pdf http:\u002F\u002Flocalhost:8787\n```\n\nResponse:\n\n```json\n{\n\t\"text\": \"Extracted text content...\",\n\t\"pages\": 12\n}\n```\n\n## Deploy\n\n```bash\nnpm run deploy\n```\n\n## Project Structure\n\n| File                     | Description                                                           |\n| ------------------------ | --------------------------------------------------------------------- |\n| `src\u002Findex.ts`           | Worker entrypoint — accepts PDF bytes, runs WASM parser, returns JSON |\n| `liteparse_wasm_bg.wasm` | Compiled LiteParse WebAssembly module                                 |\n| `wrangler.jsonc`         | Cloudflare Workers configuration with `CompiledWasm` rule             |\n\n## How It Works\n\n1. The `.wasm` file is bundled via Wrangler's `CompiledWasm` rule.\n2. `initSync()` initializes the WASM module on the first request.\n3. `LiteParse` parses the PDF bytes and returns structured text.\n\n## License\n\nMIT\n","该项目提供了一个将LiteParse部署为Cloudflare Worker的快速启动模板，用于在边缘使用WebAssembly解析PDF。核心功能包括直接在Cloudflare的边缘运行时执行LiteParse的Rust\u002FWASM解析器，从而无需管理服务器或容器即可从PDF中提取文本。适用于需要高效处理PDF内容但不想承担基础设施管理成本的场景，如在线文档处理服务、自动化数据提取等。项目基于TypeScript编写，并通过Wrangler CLI进行本地开发和云端部署。","2026-06-11 04:08:23","CREATED_QUERY"]