gitmyhub

housand-domainToolMatrix

TypeScript ★ 23 updated 18d ago

ToolHub 是一个集成了 25 款实用工具的本地双端工具箱,覆盖图片媒体、音视频处理、文档办公、开发辅助与日常效率五大场景。内置图片编辑、表情包生成、九宫格切图、像素画绘制、海报设计和水印工具,满足图像创作需求;屏幕录制、GIF 制作、音频剪辑和视频裁剪覆盖多媒体处理;PDF 工具箱、Markdown 编辑器、思维导图和白板助力文档办公;JSON 格式化、正则测试器、颜色转换器、Base64 编解码、时间戳转换、二维码生成器、Excel 转 SQL、单位换算器、密码生成器、待办清单以及多功能计算器服务于日常开发与效率提升。全部纯前端实现,数据不上传,深色商务主题,支持中英文国际化,一套代码同时支持浏览器访问和 Electron 桌面安装部署。

ToolHub is a collection of 25-plus offline utilities, JSON formatter, image editor, PDF tools, audio player, and developer helpers, that run entirely in your browser or as a Windows desktop app with no data uploaded anywhere.

TypeScriptReactViteElectronpdf-libSheetJSwavesurfer.jsi18nextsetup: easycomplexity 2/5

ToolHub is a collection of more than 25 practical utilities packaged as both a web app and a desktop application. The same codebase runs in a browser and as an installable desktop program on Windows, built using Electron. All tools process data locally: nothing is uploaded to any server. The interface uses a dark business theme and supports both Chinese and English.

The tools are organized into six categories. The JSON and data section includes a formatter, a tree viewer, converters between JSON and XML, YAML, and CSV formats, and a mock data generator for testing. The image tools cover cropping, editing with text and filters, format conversion between JPG, PNG, WebP, and SVG, batch compression, watermarking, and a color picker. Audio and video tools include a waveform audio player, an audio trimmer, and a local video player with screenshot support.

The document and office tools include a PDF merger and splitter, a PDF annotation tool, an Excel viewer, and a Markdown editor that previews output and can export to HTML or PDF. The encoding and encryption section covers Base64 conversion for text and images, hash calculation with MD5, SHA-1, and SHA-256, Unicode and URL encoding, and a regex tester. Developer utilities include a timestamp converter, color format converter between HEX, RGB, and HSL, a CSS unit calculator, and a text diff viewer.

The project is built with React 18, TypeScript, and Vite for the web layer, with Electron 28 for desktop packaging. It uses i18next for internationalization, pdf-lib and SheetJS for document handling, and wavesurfer.js for audio visualization. The source is organized by tool category under a single src/tools directory.

To use it locally, you clone the repository, run npm install, and start either the web development server or the Electron desktop mode. Building a packaged desktop app requires one additional command. The project is released under the MIT license.

Where it fits