dsh-plugin-reverse:DeepSeek Harness JavaScript 反向工程工具包
DeepSeek Harness 插件旨在解决前端加密分析中环境隔离与依赖缺失的痛点。该插件提供静态还原、辅助定位和验证三大核心能力,可将混淆 JS 转换为无环境依赖的计算函数,生成 Hook 脚本捕获调用信息,并内置多种算法验证。 安装需 Node.js >= 24,通过命令 `dsh plugin --profile web add github:wangyin572/dsh-plugin-reverse` 添加。典型工作流包括评估可行性、生成 Hook、静态提取、代码解混淆及结果验证。该工具仅适用于授权分析场景,需注意安全风险及配置规范。
Read Moredsh-custom-js: Managing Trusted JavaScript / TypeScript Scripts in the DeepSeek Harness
DeepSeek Harness (DSH) provides the `dsh-custom-js` plugin for securely loading, editing, and managing JavaScript/TypeScript user scripts in the Web GUI, enabling UI customization and feature extension. The plugin includes a built-in CodeMirror editor and supports hot reloading, TypeScript transpilation, and lifecycle management. Scripts are disabled by default and operate with browser-side privileges; users must enable them manually and be aware of the associated permission risks. After installation, the process must be restarted, and the plugin can be used via Settings or directory scanning. It is compatible with DSH versions from v0.2.0-rc.1 to v0.3.0-0.
Read Moredsh-kebabcase: A Pure Node.js Kebab-Case Conversion Plugin
`dsh-kebabcase` is a DeepSeek Harness plugin for converting camelCase to kebab-case locally. It is implemented entirely with Node.js, has no network dependencies, and is suitable for offline environments. Before installing it, the dependencies `@deepseek-ai/cordis` and `@deepseek-ai/dsh-tools` must be installed. Once installed, developers can invoke this tool directly in conversations or scripts. Because the code runs locally, it is recommended to review the source code to ensure security.
Read Moredsh-gal2l: Gallons to Liters Plugin
DeepSeek Harness (DSH) introduces the plugin `dsh-gal2l` for agents or robots to handle volume conversions between gallons and liters locally. Maintained by uckkk, it features a pure Node implementation, no network dependencies, and a lightweight design. Install it using the command `dsh plugin add github:uckkk/dsh-gal2l`, with dependencies on relevant DSH core libraries. It is suitable for liquid-volume calculation scenarios, emphasizes safety precautions, and is appropriate to integrate as a basic tool.
Read Moredsh-deep-equal: A Deep Comparison Tool
dsh-deep-equal is a pure Node.js implementation plugin for DeepSeek Harness (DSH), designed to avoid manually writing deep comparison logic. Maintained by developer uckkk, it provides deep comparison capabilities and can be invoked in sessions. The plugin has no network dependencies, runs with the current process permissions, and depends on `@deepseek-ai/cordis` and `@deepseek-ai/dsh-tools`. Install it with `dsh plugin add github:uckkk/dsh-deep-equal`, making it suitable for data diff analysis in DSH.
Read MoreDSH Plugin Introduction: satan9394/dsh-javascript-typescript
The JS/TS Development Mode Plugin for DeepSeek Harness (DSH) aims to standardize development workflows through a plugin-based architecture. Maintained by satan9394, the plugin focuses on applying modern syntax and advanced type features to improve code quality. It is suitable for developers who need a standardized development mode; however, because it runs with the permissions of the current process, the source code and license must be carefully reviewed before installation. For specific features and usage examples, refer to the official repository.
Read Moredsh-workflow-isolate: A QuickJS/WASM Isolated Workflow Engine for DeepSeek Harness
`dsh-workflow-isolate` is a plugin for DeepSeek Harness that provides a QuickJS/WASM isolation environment for workflow scripts, addressing the need for JavaScript capabilities without inheriting Node.js permissions. It enforces resource limits, blocks Node.js APIs, and preserves hooks, with the default engine switchable via `cordis.patch.yml`. When using it, ensure that scripts are portable and that its isolation boundaries and security risks are understood.
Read MoreFastAPI + Frontend Interaction: Practical JavaScript Call to FastAPI API
This article introduces the interaction methods between a FastAPI backend and frontend JavaScript. The core principle is that the frontend calls the backend API through HTTP requests, and the backend returns JSON data after processing, which the frontend then renders and displays. Prerequisites: The backend needs to install FastAPI and uvicorn, while the frontend only requires HTML + JS. The backend writes main.py to implement three interfaces: GET (/api/hello) returns a message, GET (/api/items/{item_id}) with parameters returns product information, and POST (/api/submit) receives data and provides feedback. CORSMiddleware is configured to handle cross-origin issues (allowing all origins during development and specifying domains in production). On the frontend, the fetch API is used to call the interfaces. Three buttons respectively trigger the requests, parse the JSON, and display the results. During runtime, start the backend service and open the frontend page to test. Key knowledge points include cross-origin configuration, HTTP methods (GET/POST), JSON data exchange, and error handling. For advanced exploration, one can look into Axios, frontend frameworks, and data validation.
Read MoreFrontend Developers Learning Node.js: The Mindset Shift from Browser to Server
This article introduces the necessity and core points for front-end developers to learn Node.js. Based on Google Chrome's V8 engine, Node.js enables JavaScript to run on the server-side, overcoming the limitations of front-end developers in building back-end services and enabling full-stack development. Its core features include "non-blocking I/O" (handling concurrent requests through the event loop), "full-access" environment (capable of operating on files and ports), and the "CommonJS module system". For front-end developers transitioning to back-end roles, mindset shifts are required: changing from the sandboxed (API-limited) runtime environment to a full-access environment; transforming asynchronous programming from an auxiliary task (e.g., setTimeout) to a core design principle (to avoid server blocking); and adjusting from ES Modules to CommonJS (require/module.exports) for module systems. The learning path includes: mastering foundational modules (fs, http), understanding asynchronous programming (callbacks/Promise/async), developing APIs with frameworks like Express, and exploring the underlying principles of tools such as Webpack and Babel. In summary, Node.js empowers front-end developers to build full-stack capabilities without switching programming languages, enabling them to understand server-side logic and expand career horizons. It is a key tool for bridging the gap between front-end and back-end development.
Read MoreWriting Your First Web Server with Node.js: A Quick Start with the Express Framework
This article introduces the method of building a web server using Node.js and Express. Based on the V8 engine, Node.js enables JavaScript to run on the server side, while Express, as a popular framework, simplifies complex tasks such as routing and request handling. For environment preparation, first install Node.js (including npm), and verify it using `node -v` and `npm -v`. Next, create a project folder, initialize it with `npm init -y`, and install the framework with `npm install express`. The core step is writing `server.js`: import Express, create an instance, define a port (e.g., 3000), use `app.get('/')` to define a GET request for the root path and return text, then start the server with `app.listen`. Access `http://localhost:3000` to test it. Extended features include adding more routes (e.g., `/about`), dynamic path parameters, returning JSON (`res.json()`), and hosting static files (`express.static`). The key steps are summarized as: installing tools, creating a project, writing routes, and starting the test, laying the foundation for subsequent learning of middleware, dynamic routing, etc.
Read MoreNode.js npm Tools: A Comprehensive Guide from Installation to Package Management
This article introduces the core knowledge of Node.js and npm. Node.js is a JavaScript runtime environment based on Chrome's V8 engine, and npm is its default package management tool for downloading, installing, and managing third-party code packages. **Installation**: Node.js can be installed on Windows, Mac, and Linux systems via the official website or package managers (npm is installed alongside Node.js). After installation, verify with `node -v` and `npm -v`. **Core npm Functions**: - Initialize a project with `npm init` to generate `package.json` (project configuration file). - Install dependencies: local (default, project-only) or global (`-g`, system-wide); categorized as production (`--save`) or development (`--save-dev`) dependencies. - Manage dependencies: view, update, uninstall (`npm uninstall`), etc. **Common Commands**: `npm install` (Install), `npm list` (View), `npm update` (Update), etc. For slow domestic access, accelerate with Taobao mirror (`npm config set registry`) or cnpm. **Notes**: Avoid committing `node_modules` to Git, use version numbers (`^` or `~`) reasonably, and prioritize local dependency installation. npm is a core tool for Node.js development; mastering its usage enhances efficiency.
Read More