[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"similar-thekevinscott--UpscalerJS":3,"tool-thekevinscott--UpscalerJS":61},[4,18,26,36,44,53],{"id":5,"name":6,"github_repo":7,"description_zh":8,"stars":9,"difficulty_score":10,"last_commit_at":11,"category_tags":12,"status":17},4358,"openclaw","openclaw\u002Fopenclaw","OpenClaw 是一款专为个人打造的本地化 AI 助手，旨在让你在自己的设备上拥有完全可控的智能伙伴。它打破了传统 AI 助手局限于特定网页或应用的束缚，能够直接接入你日常使用的各类通讯渠道，包括微信、WhatsApp、Telegram、Discord、iMessage 等数十种平台。无论你在哪个聊天软件中发送消息，OpenClaw 都能即时响应，甚至支持在 macOS、iOS 和 Android 设备上进行语音交互，并提供实时的画布渲染功能供你操控。\n\n这款工具主要解决了用户对数据隐私、响应速度以及“始终在线”体验的需求。通过将 AI 部署在本地，用户无需依赖云端服务即可享受快速、私密的智能辅助，真正实现了“你的数据，你做主”。其独特的技术亮点在于强大的网关架构，将控制平面与核心助手分离，确保跨平台通信的流畅性与扩展性。\n\nOpenClaw 非常适合希望构建个性化工作流的技术爱好者、开发者，以及注重隐私保护且不愿被单一生态绑定的普通用户。只要具备基础的终端操作能力（支持 macOS、Linux 及 Windows WSL2），即可通过简单的命令行引导完成部署。如果你渴望拥有一个懂你",349277,3,"2026-04-06T06:32:30",[13,14,15,16],"Agent","开发框架","图像","数据工具","ready",{"id":19,"name":20,"github_repo":21,"description_zh":22,"stars":23,"difficulty_score":10,"last_commit_at":24,"category_tags":25,"status":17},3808,"stable-diffusion-webui","AUTOMATIC1111\u002Fstable-diffusion-webui","stable-diffusion-webui 是一个基于 Gradio 构建的网页版操作界面，旨在让用户能够轻松地在本地运行和使用强大的 Stable Diffusion 图像生成模型。它解决了原始模型依赖命令行、操作门槛高且功能分散的痛点，将复杂的 AI 绘图流程整合进一个直观易用的图形化平台。\n\n无论是希望快速上手的普通创作者、需要精细控制画面细节的设计师，还是想要深入探索模型潜力的开发者与研究人员，都能从中获益。其核心亮点在于极高的功能丰富度：不仅支持文生图、图生图、局部重绘（Inpainting）和外绘（Outpainting）等基础模式，还独创了注意力机制调整、提示词矩阵、负向提示词以及“高清修复”等高级功能。此外，它内置了 GFPGAN 和 CodeFormer 等人脸修复工具，支持多种神经网络放大算法，并允许用户通过插件系统无限扩展能力。即使是显存有限的设备，stable-diffusion-webui 也提供了相应的优化选项，让高质量的 AI 艺术创作变得触手可及。",162132,"2026-04-05T11:01:52",[14,15,13],{"id":27,"name":28,"github_repo":29,"description_zh":30,"stars":31,"difficulty_score":32,"last_commit_at":33,"category_tags":34,"status":17},1381,"everything-claude-code","affaan-m\u002Feverything-claude-code","everything-claude-code 是一套专为 AI 编程助手（如 Claude Code、Codex、Cursor 等）打造的高性能优化系统。它不仅仅是一组配置文件，而是一个经过长期实战打磨的完整框架，旨在解决 AI 代理在实际开发中面临的效率低下、记忆丢失、安全隐患及缺乏持续学习能力等核心痛点。\n\n通过引入技能模块化、直觉增强、记忆持久化机制以及内置的安全扫描功能，everything-claude-code 能显著提升 AI 在复杂任务中的表现，帮助开发者构建更稳定、更智能的生产级 AI 代理。其独特的“研究优先”开发理念和针对 Token 消耗的优化策略，使得模型响应更快、成本更低，同时有效防御潜在的攻击向量。\n\n这套工具特别适合软件开发者、AI 研究人员以及希望深度定制 AI 工作流的技术团队使用。无论您是在构建大型代码库，还是需要 AI 协助进行安全审计与自动化测试，everything-claude-code 都能提供强大的底层支持。作为一个曾荣获 Anthropic 黑客大奖的开源项目，它融合了多语言支持与丰富的实战钩子（hooks），让 AI 真正成长为懂上",146793,2,"2026-04-08T23:32:35",[14,13,35],"语言模型",{"id":37,"name":38,"github_repo":39,"description_zh":40,"stars":41,"difficulty_score":32,"last_commit_at":42,"category_tags":43,"status":17},2271,"ComfyUI","Comfy-Org\u002FComfyUI","ComfyUI 是一款功能强大且高度模块化的视觉 AI 引擎，专为设计和执行复杂的 Stable Diffusion 图像生成流程而打造。它摒弃了传统的代码编写模式，采用直观的节点式流程图界面，让用户通过连接不同的功能模块即可构建个性化的生成管线。\n\n这一设计巧妙解决了高级 AI 绘图工作流配置复杂、灵活性不足的痛点。用户无需具备编程背景，也能自由组合模型、调整参数并实时预览效果，轻松实现从基础文生图到多步骤高清修复等各类复杂任务。ComfyUI 拥有极佳的兼容性，不仅支持 Windows、macOS 和 Linux 全平台，还广泛适配 NVIDIA、AMD、Intel 及苹果 Silicon 等多种硬件架构，并率先支持 SDXL、Flux、SD3 等前沿模型。\n\n无论是希望深入探索算法潜力的研究人员和开发者，还是追求极致创作自由度的设计师与资深 AI 绘画爱好者，ComfyUI 都能提供强大的支持。其独特的模块化架构允许社区不断扩展新功能，使其成为当前最灵活、生态最丰富的开源扩散模型工具之一，帮助用户将创意高效转化为现实。",108111,"2026-04-08T11:23:26",[14,15,13],{"id":45,"name":46,"github_repo":47,"description_zh":48,"stars":49,"difficulty_score":32,"last_commit_at":50,"category_tags":51,"status":17},4721,"markitdown","microsoft\u002Fmarkitdown","MarkItDown 是一款由微软 AutoGen 团队打造的轻量级 Python 工具，专为将各类文件高效转换为 Markdown 格式而设计。它支持 PDF、Word、Excel、PPT、图片（含 OCR）、音频（含语音转录）、HTML 乃至 YouTube 链接等多种格式的解析，能够精准提取文档中的标题、列表、表格和链接等关键结构信息。\n\n在人工智能应用日益普及的今天，大语言模型（LLM）虽擅长处理文本，却难以直接读取复杂的二进制办公文档。MarkItDown 恰好解决了这一痛点，它将非结构化或半结构化的文件转化为模型“原生理解”且 Token 效率极高的 Markdown 格式，成为连接本地文件与 AI 分析 pipeline 的理想桥梁。此外，它还提供了 MCP（模型上下文协议）服务器，可无缝集成到 Claude Desktop 等 LLM 应用中。\n\n这款工具特别适合开发者、数据科学家及 AI 研究人员使用，尤其是那些需要构建文档检索增强生成（RAG）系统、进行批量文本分析或希望让 AI 助手直接“阅读”本地文件的用户。虽然生成的内容也具备一定可读性，但其核心优势在于为机器",93400,"2026-04-06T19:52:38",[52,14],"插件",{"id":54,"name":55,"github_repo":56,"description_zh":57,"stars":58,"difficulty_score":10,"last_commit_at":59,"category_tags":60,"status":17},4487,"LLMs-from-scratch","rasbt\u002FLLMs-from-scratch","LLMs-from-scratch 是一个基于 PyTorch 的开源教育项目，旨在引导用户从零开始一步步构建一个类似 ChatGPT 的大型语言模型（LLM）。它不仅是同名技术著作的官方代码库，更提供了一套完整的实践方案，涵盖模型开发、预训练及微调的全过程。\n\n该项目主要解决了大模型领域“黑盒化”的学习痛点。许多开发者虽能调用现成模型，却难以深入理解其内部架构与训练机制。通过亲手编写每一行核心代码，用户能够透彻掌握 Transformer 架构、注意力机制等关键原理，从而真正理解大模型是如何“思考”的。此外，项目还包含了加载大型预训练权重进行微调的代码，帮助用户将理论知识延伸至实际应用。\n\nLLMs-from-scratch 特别适合希望深入底层原理的 AI 开发者、研究人员以及计算机专业的学生。对于不满足于仅使用 API，而是渴望探究模型构建细节的技术人员而言，这是极佳的学习资源。其独特的技术亮点在于“循序渐进”的教学设计：将复杂的系统工程拆解为清晰的步骤，配合详细的图表与示例，让构建一个虽小但功能完备的大模型变得触手可及。无论你是想夯实理论基础，还是为未来研发更大规模的模型做准备",90106,"2026-04-06T11:19:32",[35,15,13,14],{"id":62,"github_repo":63,"name":64,"description_en":65,"description_zh":66,"ai_summary_zh":66,"readme_en":67,"readme_zh":68,"quickstart_zh":69,"use_case_zh":70,"hero_image_url":71,"owner_login":72,"owner_name":73,"owner_avatar_url":74,"owner_bio":75,"owner_company":76,"owner_location":76,"owner_email":76,"owner_twitter":76,"owner_website":77,"owner_url":78,"languages":79,"stars":115,"forks":116,"last_commit_at":117,"license":118,"difficulty_score":119,"env_os":120,"env_gpu":121,"env_ram":122,"env_deps":123,"category_tags":130,"github_topics":131,"view_count":32,"oss_zip_url":76,"oss_zip_packed_at":76,"status":17,"created_at":146,"updated_at":147,"faqs":148,"releases":178},5764,"thekevinscott\u002FUpscalerJS","UpscalerJS","Enhance Images with Javascript and AI. Increase resolution, retouch, denoise, and more. Open Source, Browser & Node Compatible, MIT License.","UpscalerJS 是一款基于 JavaScript 和人工智能的开源图像增强库，旨在帮助开发者轻松提升图片质量。它能够智能地提高图像分辨率、去除噪点、修复模糊细节以及进行画面润色，让低清图片焕发新生。\n\n对于需要在网页端或 Node.js 环境中处理图像的开发者和设计师而言，UpscalerJS 解决了传统方案依赖重型后端服务或复杂环境配置的痛点。它最大的亮点在于“无处不在”的兼容性：既能在浏览器中直接运行，也能在 Node.js 环境下利用 CPU 或 GPU 加速，甚至支持 Web Workers 以避免阻塞主线程，确保用户界面的流畅体验。\n\n该工具内置了多种预训练模型，可针对不同风格的图像进行优化，同时也允许高级用户集成自定义模型以满足特定需求。配合完善的文档和 TypeScript 支持，无论是构建在线图片编辑器、自动化图像处理流程，还是在移动端设备上实现本地化增强，UpscalerJS 都能提供高性能且一致的解决方案。作为一个采用 MIT 许可的开放项目，它为技术团队提供了一个灵活、免费且易于集成的图像超分辨率选择。","# UpscalerJS\n\n\u003Ca href=\"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fupscaler\">\u003Cimg alt=\"Latest UpscalerJS NPM Version\" src=\"https:\u002F\u002Fbadge.fury.io\u002Fjs\u002Fupscaler.svg\" \u002F>\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fblob\u002Fmaster\u002FLICENSE\">\u003Cimg alt=\"License for UpscalerJS\" src=\"https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fl\u002Fupscaler\" \u002F>\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fupscaler\">\u003Cimg alt=\"Downloads per week on NPM for UpscalerJS\" src=\"https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fdw\u002Fupscaler\" \u002F>\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Factions\u002Fworkflows\u002Ftests.yml\">\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Factions\u002Fworkflows\u002Ftests.yml\u002Fbadge.svg\" alt=\"Status of tests for UpscalerJS repository\" \u002F>\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fcodecov.io\u002Fgh\u002Fthekevinscott\u002Fupscalerjs\">\u003Cimg alt=\"Code Coverage for UpscalerJS\" src=\"https:\u002F\u002Fimg.shields.io\u002Fcodecov\u002Fc\u002Fgithub\u002Fthekevinscott\u002Fupscalerjs\" \u002F>\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fdeepsource.io\u002Fgh\u002Fthekevinscott\u002FUpscalerJS\u002F?ref=repository-badge\">\u003Cimg alt=\"DeepSource issues for UpscalerJS\" src=\"https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fthekevinscott_UpscalerJS_readme_3d1d29e190de.png\" \u002F>\u003C\u002Fa>\n\nEnhance Images with Javascript and AI. Increase resolution, retouch, denoise, and more. Open Source, Browser & Node Compatible, MIT License.\n\n- 🎁 **Pretrained Models:** Enhance images using UpscalerJS's diverse pretrained models, designed to suit various image styles and requirements including increasing image resolution, denoising, deblurring, and more.\n- 🔌 **Seamless Platform Integration:** Integrate UpscalerJS across Browser, Node (CPU and GPU), and Workers environments.\n- 📘 **Comprehensive Documentation:** Leverage UpscalerJS confidently with extensive documentation, thorough examples, and TypeScript support.\n- 🚀 **UI-Focused Enhancement:** Performant UI support with built-in patch-based processing that supports performance without sacrificing quality.\n- 📱 **Device Compatibility:** Consistent image enhancement across a variety of devices, including desktops, tablets, and phones.\n- 🧩 **Custom Model Integration:** Extend UpscalerJS by integrating your own pretrained models for personalized image enhancements.\n\n![Demo](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fthekevinscott_UpscalerJS_readme_428424d39bdd.png)\n\n[A live demo is here](https:\u002F\u002Fupscalerjs.com\u002Fdemo).\n\n\n## Quick Start\n\n```javascript\nimport Upscaler from 'upscaler';\nconst upscaler = new Upscaler();\nupscaler.upscale('\u002Fpath\u002Fto\u002Fimage').then(upscaledImage => {\n  console.log(upscaledImage); \u002F\u002F base64 representation of image src\n});\n```\n\n## Documentation\n\n[View the docs here.](https:\u002F\u002Fupscalerjs.com)\n\n\n## Guides\n\nYou can [view runnable code examples](https:\u002F\u002Fupscalerjs.com\u002Fdocumentation\u002Fguides\u002F). You can also find the [guides here on Github](https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Ftree\u002Fmain\u002Fexamples).\n\n\n## Support the Project\n\nAdd a ⭐️ [star on GitHub](https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS) or ❤️ [tweet](https:\u002F\u002Ftwitter.com\u002Fintent\u002Ftweet?url=https%3A%2F%2Fgithub.com%2Fthekevinscott%2Fupscaler&via=thekevinscott&hashtags=javascript,image-enhancement,tensorflow.js,super-resolution) to support the project!\n\n## License\n\n[MIT License](https:\u002F\u002Foss.ninja\u002Fmit\u002Fdevelopit\u002F) © [Kevin Scott](https:\u002F\u002Fthekevinscott.com)\n\n\n","# UpscalerJS\n\n\u003Ca href=\"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fupscaler\">\u003Cimg alt=\"UpscalerJS 最新 NPM 版本\" src=\"https:\u002F\u002Fbadge.fury.io\u002Fjs\u002Fupscaler.svg\" \u002F>\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fblob\u002Fmaster\u002FLICENSE\">\u003Cimg alt=\"UpscalerJS 许可证\" src=\"https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fl\u002Fupscaler\" \u002F>\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fupscaler\">\u003Cimg alt=\"UpscalerJS 每周 NPM 下载量\" src=\"https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fdw\u002Fupscaler\" \u002F>\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Factions\u002Fworkflows\u002Ftests.yml\">\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Factions\u002Fworkflows\u002Ftests.yml\u002Fbadge.svg\" alt=\"UpscalerJS 仓库测试状态\" \u002F>\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fcodecov.io\u002Fgh\u002Fthekevinscott\u002Fupscalerjs\">\u003Cimg alt=\"UpscalerJS 代码覆盖率\" src=\"https:\u002F\u002Fimg.shields.io\u002Fcodecov\u002Fc\u002Fgithub\u002Fthekevinscott\u002Fupscalerjs\" \u002F>\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fdeepsource.io\u002Fgh\u002Fthekevinscott\u002FUpscalerJS\u002F?ref=repository-badge\">\u003Cimg alt=\"UpscalerJS 的 DeepSource 问题\" src=\"https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fthekevinscott_UpscalerJS_readme_3d1d29e190de.png\" \u002F>\u003C\u002Fa>\n\n使用 JavaScript 和 AI 增强图像。提升分辨率、修饰、去噪等。开源、兼容浏览器和 Node.js、MIT 许可证。\n\n- 🎁 **预训练模型**：利用 UpscalerJS 多样化的预训练模型增强图像，这些模型专为不同图像风格和需求而设计，包括提高图像分辨率、去噪、去模糊等。\n- 🔌 **无缝跨平台集成**：在浏览器、Node.js（CPU 和 GPU）以及 Workers 环境中无缝集成 UpscalerJS。\n- 📘 **全面文档**：借助丰富的文档、详尽的示例和 TypeScript 支持，自信地使用 UpscalerJS。\n- 🚀 **面向 UI 的增强**：高性能的 UI 支持，内置基于补丁的处理机制，在不牺牲质量的前提下保证性能。\n- 📱 **设备兼容性**：在各种设备上实现一致的图像增强效果，包括桌面、平板和手机。\n- 🧩 **自定义模型集成**：通过集成您自己的预训练模型来扩展 UpscalerJS，实现个性化的图像增强。\n\n![演示](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fthekevinscott_UpscalerJS_readme_428424d39bdd.png)\n\n[在线演示在此](https:\u002F\u002Fupscalerjs.com\u002Fdemo)。\n\n## 快速开始\n\n```javascript\nimport Upscaler from 'upscaler';\nconst upscaler = new Upscaler();\nupscaler.upscale('\u002Fpath\u002Fto\u002Fimage').then(upscaledImage => {\n  console.log(upscaledImage); \u002F\u002F 图像的 base64 表示\n});\n```\n\n## 文档\n\n[在这里查看文档。](https:\u002F\u002Fupscalerjs.com)\n\n## 指南\n\n您可以 [查看可运行的代码示例](https:\u002F\u002Fupscalerjs.com\u002Fdocumentation\u002Fguides\u002F)。您也可以在 [GitHub 上找到指南](https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Ftree\u002Fmain\u002Fexamples)。\n\n## 支持该项目\n\n在 GitHub 上点个 ⭐️ [星标](https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS) 或 ❤️ [发推文](https:\u002F\u002Ftwitter.com\u002Fintent\u002Ftweet?url=https%3A%2F%2Fgithub.com%2Fthekevinscott%2Fupscaler&via=thekevinscott&hashtags=javascript,image-enhancement,tensorflow.js,super-resolution) 来支持这个项目吧！\n\n## 许可证\n\n[MIT 许可证](https:\u002F\u002Foss.ninja\u002Fmit\u002Fdevelopit\u002F) © [Kevin Scott](https:\u002F\u002Fthekevinscott.com)","# UpscalerJS 快速上手指南\n\nUpscalerJS 是一个基于 JavaScript 和 AI 的开源图像增强工具，支持在浏览器和 Node.js 环境中运行。它可用于提升图像分辨率、去噪、去模糊等任务，并支持自定义模型集成。\n\n## 环境准备\n\n- **运行时环境**：\n  - 浏览器（现代浏览器，支持 ES6+）\n  - Node.js（v14 及以上版本，支持 CPU 和 GPU）\n- **前置依赖**：\n  - npm 或 yarn 包管理器\n  - （可选）TensorFlow.js 后端支持（如 `@tensorflow\u002Ftfjs-node` 用于 Node.js GPU 加速）\n\n> 💡 提示：国内开发者可使用淘宝镜像源加速安装：\n> ```bash\n> npm config set registry https:\u002F\u002Fregistry.npmmirror.com\n> ```\n\n## 安装步骤\n\n使用 npm 安装：\n\n```bash\nnpm install upscaler\n```\n\n或使用 yarn：\n\n```bash\nyarn add upscaler\n```\n\n如需在 Node.js 中启用 GPU 加速，建议额外安装：\n\n```bash\nnpm install @tensorflow\u002Ftfjs-node\n```\n\n## 基本使用\n\n以下是最简单的使用示例，适用于浏览器或 Node.js 环境：\n\n```javascript\nimport Upscaler from 'upscaler';\nconst upscaler = new Upscaler();\nupscaler.upscale('\u002Fpath\u002Fto\u002Fimage').then(upscaledImage => {\n  console.log(upscaledImage); \u002F\u002F base64 representation of image src\n});\n```\n\n> 📌 注意：\n> - `\u002Fpath\u002Fto\u002Fimage` 可以是本地文件路径（Node.js）或图片 URL（浏览器）。\n> - 返回结果为 Base64 编码的图片数据，可直接用于 `\u003Cimg>` 标签的 `src` 属性。\n\n更多高级用法、模型选择和平台适配示例，请参考 [官方文档](https:\u002F\u002Fupscalerjs.com) 或 [GitHub 示例仓库](https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Ftree\u002Fmain\u002Fexamples)。","一家在线二手交易平台的技术团队，正致力于优化用户上传图片的展示质量，以提升商品吸引力。\n\n### 没有 UpscalerJS 时\n- 用户上传的低分辨率或模糊商品图直接展示，导致细节丢失，严重影响购买转化率。\n- 若采用传统后端服务器进行图片超分处理，不仅算力成本高昂，还增加了网络传输延迟。\n- 不同设备（手机、平板）上图片渲染效果不一致，移动端用户常看到锯齿严重的缩略图。\n- 引入外部闭源 API 存在数据隐私泄露风险，且按次计费模式难以应对海量并发请求。\n\n### 使用 UpscalerJS 后\n- 利用浏览器端 AI 模型实时将低清图片放大并去噪，商品纹理清晰可见，显著提升视觉质感。\n- 计算任务完全在用户本地设备运行，彻底免除服务器 GPU 开销，同时实现“零延迟”即时预览。\n- 凭借内置的分块处理机制，即使在性能较弱的手机上也能流畅运行，确保全端画质统一高清。\n- 基于 MIT 协议开源部署，数据无需出站即可在本地完成增强，完美兼顾隐私安全与成本控制。\n\nUpscalerJS 通过将高性能 AI 图像增强能力下沉至前端，以零服务器成本实现了全平台一致的高清视觉体验。","https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fthekevinscott_UpscalerJS_428424d3.png","thekevinscott","Kevin Scott","https:\u002F\u002Foss.gittoolsai.com\u002Favatars\u002Fthekevinscott_c34f0857.jpg","Hacker",null,"https:\u002F\u002Fthekevinscott.com","https:\u002F\u002Fgithub.com\u002Fthekevinscott",[80,84,88,92,96,100,104,108,111],{"name":81,"color":82,"percentage":83},"TypeScript","#3178c6",82,{"name":85,"color":86,"percentage":87},"MDX","#fcb32c",11.2,{"name":89,"color":90,"percentage":91},"HTML","#e34c26",2.7,{"name":93,"color":94,"percentage":95},"EJS","#a91e50",2.2,{"name":97,"color":98,"percentage":99},"JavaScript","#f1e05a",1.3,{"name":101,"color":102,"percentage":103},"SCSS","#c6538c",0.3,{"name":105,"color":106,"percentage":107},"CSS","#663399",0.1,{"name":109,"color":110,"percentage":107},"Dockerfile","#384d54",{"name":112,"color":113,"percentage":114},"Raku","#0000fb",0,884,80,"2026-04-03T10:57:11","MIT",1,"Linux, macOS, Windows","非必需。支持在 Node.js 环境中使用 CPU 或 GPU（通过 WebGL\u002FWebGPU），具体显卡型号和显存需求取决于所选模型及运行环境（浏览器或 Node）。","未说明（取决于图像大小和所选模型，浏览器端受限于设备内存）",{"notes":124,"python":125,"dependencies":126},"这是一个基于 JavaScript\u002FTypeScript 的库，无需 Python 环境。它兼容浏览器、Node.js (CPU\u002FGPU) 和 Web Workers。核心依赖是 TensorFlow.js。用户可以选择不同的预训练模型来实现超分辨率、去噪等功能，也可以集成自定义模型。","不需要",[127,128,129],"upscaler","@upscalerjs\u002Fdefault-model","tensorflow.js",[15,13,14],[132,133,134,135,136,137,138,139,140,141,142,143,144,145],"ai","deblurring","dehazing","denoising","deraining","esrgan","image-enhancment","low-light-image-enhancement","neural-networks","retouching","super-resoluion","tensorflow","tfjs","upscale","2026-03-27T02:49:30.150509","2026-04-09T10:28:42.412867",[149,154,159,163,168,173],{"id":150,"question_zh":151,"answer_zh":152,"source_url":153},26146,"如何在 Node.js 环境中使用 UpscalerJS？","UpscalerJS 已支持 Node.js。请根据您的需求导入正确的包：\n- 仅 CPU: `import Upscaler from 'upscaler\u002Fnode';`\n- GPU 加速：`import Upscaler from 'upscaler\u002Fnode-gpu';`\n确保安装了正确的 TensorFlow.js 对等依赖（如 `@tensorflow\u002Ftfjs-node`）。该功能已在 v0.10.0 版本中正式发布。","https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fissues\u002F11",{"id":155,"question_zh":156,"answer_zh":157,"source_url":158},26147,"在 Node.js 中运行时遇到 'SyntaxError: Unexpected token export' 错误怎么办？","这是因为在 Node.js 环境中直接使用了 ESM 格式的导出。解决方法如下：\n1. 显式安装 `@tensorflow\u002Ftfjs-node` 作为依赖。\n2. 在 Node.js 环境中使用 `require` 语句加载 Upscaler，例如：`const Upscaler = require('upscaler');` 或配置项目以支持 ES Module。\n3. 建议显式指定模型（如 `esrgan-thick` 的 4x 或 8x 模型），因为默认模型可能会变更且性能不同。","https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fissues\u002F554",{"id":160,"question_zh":161,"answer_zh":162,"source_url":158},26148,"如何在 Node.js 中将放大后的图像保存为文件？","Upscaler 的输出可以是 base64 字符串或 Tensor。若需保存为文件（例如供 TesseractJS 使用），建议返回 Tensor 并手动保存。示例代码：\n```javascript\nconst tensor = await upscaler.upscale(imageTensor);\nconst buffer = await tf.node.encodePng(tensor);\nfs.writeFileSync('output.png', buffer);\n```\n需确保已安装 `@tensorflow\u002Ftfjs-node` 以使用 `tf.node` 命名空间。",{"id":164,"question_zh":165,"answer_zh":166,"source_url":167},26149,"为什么 MAXIM 去噪模型在 Node.js 中效果不明显或无法工作？","这通常与底层 TensorFlow.js Node 绑量的加载问题有关。如果遇到类似 `The specified module could not be found` 的错误（特别是 Windows 上），请检查：\n1. 是否正确安装了 `@tensorflow\u002Ftfjs-node`。\n2. 尝试重新构建 native 模块或删除 `node_modules` 后重新安装。\n3. 确保代码中使用 `tf.node.decodeImage` 正确读取图像。\n如果问题依旧，可能是 TFJS 本身的兼容性问题，建议参考 TensorFlow.js 仓库或尝试回退到旧版本测试。","https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fissues\u002F1289",{"id":169,"question_zh":170,"answer_zh":171,"source_url":172},26150,"运行时报错 'Allocation of ... exceeds 10% of free system memory' 导致进程被杀死，如何解决？","此错误表明图像放大操作所需的内存超过了系统可用内存的 10%（TensorFlow 的保护机制）。解决方案包括：\n1. 升级服务器内存（例如从低配 Droplet 升级到更高内存实例）。\n2. 减小输入图像的分辨率后再进行放大。\n3. 使用分块处理（如果库支持）或优化系统交换空间。\n该问题常见于低内存服务器处理大图片时。","https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fissues\u002F1284",{"id":174,"question_zh":175,"answer_zh":176,"source_url":177},26151,"Demo 页面在 Firefox 中选择图片时报 'The operation is insecure' 错误是怎么回事？","这是一个已知的跨域（CORS）问题，特定于 Firefox 浏览器。当从 Pixabay 列表选择图片时，由于资源加载策略限制会抛出安全错误。目前在 Chrome 和 Safari 上工作正常。维护者已修复了主要演示功能，但该特定浏览器的 CORS 问题可能需要等待浏览器更新或进一步的前端配置调整。","https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fissues\u002F1243",[179,184,189,194,199,204,209,214,219,224,229,234,239,244,249,253,257],{"id":180,"version":181,"summary_zh":182,"released_at":183},163531,"v0.12.3","**完整更新日志**: https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fcompare\u002Fv0.12.1...v0.12.3\n\nbug: 在发布目录中导出 `node-gpu` 的构建产物。","2022-04-24T20:36:04",{"id":185,"version":186,"summary_zh":187,"released_at":188},163532,"v0.12.1","## 变更内容\n* 修复了 bug，并将 `tensor-as-base64` 添加为显式依赖项","2022-03-16T13:37:49",{"id":190,"version":191,"summary_zh":192,"released_at":193},163533,"v0.12.0","## 变更内容\n\n新增顶级 `cancel` 支持\n\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F234 中重构为生成器\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F236 中将放大函数重构为生成器\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F237 中将 yield 操作移至包装的放大函数中\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F238 中添加中断信号以支持取消操作\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F239 中更新版本脚本\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F232 中移除测试中的 any 类型\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F240 中进行取消方法的集成测试\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F241 中重构放大方法，使其接受内部参数对象\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F243 中重构预测函数\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F242 中重构放大代码，以更好地处理异步生成器返回值的类型\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F244 中设置生成器包装函数\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F245 中进行取消方法的内存泄漏测试\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F246 中更新文档\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F247 中修复示例\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F248 中添加取消示例\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F249 中将初始值设置为 undefined\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F250 中添加顶级中断功能\n\n\n**完整变更日志**: https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fcompare\u002Fv0.11.0...v0.12.0","2022-03-05T23:45:28",{"id":195,"version":196,"summary_zh":197,"released_at":198},163534,"v0.11.0","添加对 `progress` 回调的支持，使其能够接收第二个参数，即当前已处理图像的切片。\n\n## 变更内容\n* 如果提供了进度回调但未指定补丁大小，则添加警告，由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F221 中实现。\n* 添加脚本以在整个仓库中设置 TensorFlow.js 的版本，由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F220 中实现。\n* 更新 tests.yml 文件，由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F224 中完成。\n* 在 tsconfig 中启用严格的空值检查，由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F223 中实现。\n* 更新进度回调，使其返回当前切片，由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F222 中完成。\n* 改进 upscale 和 predict 方法的类型定义，由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F225 中实现。\n* 设置默认类型，以便在输出时可以省略显式声明，由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F226 中完成。\n* 推断进度回调的类型，由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F227 中实现。\n* 为进度回调添加集成测试，由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F228 中完成。\n* 更新示例代码以利用新的进度回调功能，由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F230 中完成。\n* 添加测试以检查进度回调周围的内存泄漏问题，由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F229 中完成。\n* 添加文档以支持进度回调功能，由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F231 中完成。\n* 调整版本号相关脚本，由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F233 中完成。\n\n\n**完整变更日志**: https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fcompare\u002Fv0.10.0...v0.11.0","2022-03-02T14:46:57",{"id":200,"version":201,"summary_zh":202,"released_at":203},163535,"v0.10.0","## 变更内容\n\n新增 Node.js 支持。\n\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F166 中更新示例 README 文件\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F167 中更新示例 README 文件\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F169 中添加 Dependabot 配置文件\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F170 中修复版本号错误\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F168 中移除示例中的多余脚本\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F171 中尝试强化浏览器测试\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F172 中禁止显示 favicon 相关警告\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F175 中将构建步骤分离出来，仅在测试启动时运行一次\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F176 中升级 tfjs 版本\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F177 中将 cjs 测试库重命名为 node\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F178 中更新 UpscalerJS，使其从外部文件导入 tfjs\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F161 中公开 Node 包\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F179 中发布金丝雀版本\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F182 中移除 postinstall 中的 set:tfjs 命令\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F181 中将 Node 示例添加到 examples 文件夹\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F183 中更新示例脚本\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F184 中支持 GPU 构建\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F186 中添加浏览器加载模型的集成测试\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F187 中添加通过 Node 加载模型的测试\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F188 中添加确保浏览器中加载模型定义的测试\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F189 中添加确保 Node 中加载模型定义的测试\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F191 中添加图像单元测试\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F192 中将 image.ts 拆分为多个文件，并将其加入生成脚本\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F193 中添加对升采样四维张量的集成测试\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fpull\u002F194 中利用 tf.browser.fromPixels 处理输入\n* 由 @thekevinscott 在 https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS 中调整脚手架代码，以确保构建流程引用正确的构建版本","2022-02-27T23:28:56",{"id":205,"version":206,"summary_zh":207,"released_at":208},163536,"v0.9.0","将 `@tensorflow\u002Ftfjs` 的依赖升级到 `3.x` 版本。","2022-01-23T21:47:01",{"id":210,"version":211,"summary_zh":212,"released_at":213},163537,"v0.8.22","## [0.8.22](https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fcompare\u002Fv0.8.21...v0.8.22) (2021-03-15)\n\n**注意：** 版本号提升仅针对 UpscalerJS 包。","2021-03-15T01:11:58",{"id":215,"version":216,"summary_zh":217,"released_at":218},163538,"v0.8.21","## [0.8.21](https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fcompare\u002Fv0.8.20...v0.8.21) (2021-03-15)\n\n**注意：** 版本号提升仅针对 UpscalerJS 包。","2021-03-15T01:09:33",{"id":220,"version":221,"summary_zh":222,"released_at":223},163539,"v0.8.20","## [0.8.20](https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fcompare\u002Fv0.8.19...v0.8.20) (2021-03-15)\n\n**注意：** 版本号仅针对 UpscalerJS 包进行更新。","2021-03-15T01:06:36",{"id":225,"version":226,"summary_zh":227,"released_at":228},163540,"v0.8.18","## [0.8.18](https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fcompare\u002Fv0.8.17...v0.8.18) (2021-03-15)\n\n**注意：** 版本号提升仅针对 UpscalerJS 包。","2021-03-15T01:03:04",{"id":230,"version":231,"summary_zh":232,"released_at":233},163541,"v0.8.17","## [0.8.17](https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fcompare\u002Fv0.8.12...v0.8.17) (2021-03-15)\n\n**Note:** Version bump only for package UpscalerJS\n\n\n\n","2021-03-15T00:56:02",{"id":235,"version":236,"summary_zh":237,"released_at":238},163542,"v0.8.16","## [0.8.16](https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fcompare\u002Fv0.8.15...v0.8.16) (2021-03-15)\n\n**Note:** Version bump only for package UpscalerJS\n\n\n\n","2021-03-15T00:50:18",{"id":240,"version":241,"summary_zh":242,"released_at":243},163543,"v0.8.15","## [0.8.15](https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fcompare\u002Fv0.8.14...v0.8.15) (2021-03-15)\n\n**Note:** Version bump only for package UpscalerJS\n\n\n\n","2021-03-15T00:49:07",{"id":245,"version":246,"summary_zh":247,"released_at":248},163544,"v0.8.12","## [0.8.12](https:\u002F\u002Fgithub.com\u002Fthekevinscott\u002FUpscalerJS\u002Fcompare\u002Fv0.8.9...v0.8.12) (2021-03-15)\n\n**Note:** Version bump only for package UpscalerJS\n\n\n\n","2021-03-15T00:39:26",{"id":250,"version":251,"summary_zh":76,"released_at":252},163545,"0.8.1","2021-03-02T01:34:01",{"id":254,"version":255,"summary_zh":76,"released_at":256},163546,"0.7.7","2021-02-22T12:38:51",{"id":258,"version":259,"summary_zh":260,"released_at":261},163547,"0.7.6","Upgrades package to support Tensorflow.js 2.8.6","2021-02-21T01:21:36"]