@dodona/dolos

中文文档
2.10.0发布于 2026/10/19MITES Module构建来源已验证近 30 天下载 3399

Code similarity detection based on the Winnowing algorithm

原始使用文档
文档目录4 节
  1. Installation
  2. Usage
  3. Documentation
  4. Development

Dolos

A plagiarism graph showing a lot of plagiarism.

Current version of the npm package DOI of the latest journal article about Dolos Public chat channel for Dolos MIT source code license

Dolos is a source code plagiarism detection tool for programming exercises. Dolos helps teachers in discovering students sharing solutions, even if they are modified. By providing interactive visualizations, Dolos can also be used to sensitize students to prevent plagiarism.

Dolos aims to be:

  • Easy to use by having minimal installation instructions and an intuitive user interface
  • Flexible to support many programming languages
  • Powerful by using state-of-the-art algorithms to help you discover plagiarism

Dolos is a command-line (CLI) tool that analyses source code files for similarities between them. It is able to show an interactive user interface in your browser by launching a local webserver. The analysis results are available in machine readable CSV files and Dolos can be integrated as a JavaScript library in other applications empowering users to integrate plagiarism detection in their personal workflow.

Installation

You can install Dolos on your system using npm:

npm install -g @dodona/dolos

See the installation instructions on our website for more complete instructions.

Usage

Dolos has to be launched using the command-line interface, but it is able to show the results in your browser.

Launch Dolos using the following command in your terminal:

dolos run -f web --language <language> path/to/your/files/*

The above command will launch a web interface with the analysis results at http://localhost:3000.

More elaborate instructions on how to use Dolos.

Documentation

Visit our web page at https://dolos.ugent.be.

Development

  • Run npm install in the root directory, this will link the internal dependencies between the different Dolos modules.
  • If you want to use the web format, you need to build the web project first.
  • Build the project with npm run build
  • Run tests with npm run test

版本与发布记录

@dodona/dolos 共发布 37 个版本,首次发布于 2021/01/14;过去 12 个月发布了 2 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
2.10.0latest2026/10/1925 天前
2.9.32025/11/2611 个月前
2.9.22025/03/201.6 年前
2.9.12025/03/201.7 年前
2.9.02025/01/171.8 年前
2.8.02024/10/242 年前

关于 @dodona/dolos 的常见问题

@dodona/dolos 是什么?

Code similarity detection based on the Winnowing algorithm

如何安装 @dodona/dolos?

在项目目录运行 npm install @dodona/dolos,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 dolos,可以用 npx dolos 直接运行。

@dodona/dolos 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/dodona__dolos 是否存在。

@dodona/dolos 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@dodona/dolos 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=22。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@dodona/dolos 可以商用吗?

@dodona/dolos 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@dodona/dolos 的下载量有多少?

根据 npm 官方下载统计,@dodona/dolos 在 2026/10/13 – 2026/11/11 这 30 天内被下载 3,399 次,日均约 113 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@dodona/dolos 还在维护吗?

最新版本 2.10.0 发布于 2026/10/19(25 天前);至今共发布 37 个版本,其中过去 12 个月发布了 2 个;首次发布于 2021/01/14。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。