Duplo vs Hound
Duplo
github.comHound
github.comSide by side
| Figure | Duplo | Hound |
|---|---|---|
| Price from | Free | — |
| Free plan | Yes | — |
| Free trial | — | — |
| Open source | — | — |
| Web | — | Yes |
| Windows | Yes | — |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| API | — | Yes |
| Self-hosted | — | Yes |
| Plans published | 1 | 0 |
| Spec score · Code Clone Detection Tools | 7.9 (#5) | 7.5 (#13) |
| License | Duplo is free software under the GNU General Public License version 2 or, at the user's option, any later version, and is provided without warranty. | The repository provides Hound under the MIT License. |
| Purpose | Duplo finds duplicated code blocks in large codebases. | Hound is an extremely fast source code search engine with a React frontend and Go backend that maintains an index for each repository. |
| Support | The maintainer asks users to open an issue for feedback, feature requests, and bug reports. | The README describes platform support and setup guidance but does not specify a support service. |
Plans
In their own words
Duplo
Duplo is a free tool for locating duplicated source-code blocks in large codebases. It has built-in language support for C/C++, Java, C#, VB, GCC assembly, Ada, Erlang, TypeScript and Swift, and can also scan arbitrary text files, including for duplicates within one file. For supported languages, it can filter comments, preprocessor directives and other syntax before checking for repeated code. Files can be provided through standard input or a separate file list. Duplo produces text reports as well as JSON and XML output. The project describes XML reports as usable in continuous integration tools such as GitHub Actions and TeamCity, and links to a GitHub Actions extension that can fail a build when duplicates are found. That extension has settings for minimum duplicate lines, minimum line length and maximum files reported. Prebuilt binaries are available for Alpine Linux, macOS and Windows; it can also be built from source. Duplo is free under GNU GPL version 2 or later, and is provided without warranty.
Hound
Hound is a free source code search engine that indexes repositories and offers a web interface and a minimal API. Its Go backend maintains a current index for each repository, while its static React frontend provides the web UI. Search uses regular-expression matching with a trigram index. Hound supports Git, Mercurial, SVN, Bazaar, and local repositories; private repositories can be indexed from local directories or reached through file or SSH-style URLs. By default, it checks configured repository URLs for updates every 30 seconds, with an interval that can be changed per repository. It can be built from source or run from the project's Docker image, and the web UI defaults to localhost:6080. Plugins are available for Sublime Text, Vim, Emacs, and Visual Studio Code. Hound is tested on macOS and CentOS and is expected to work on Unix-like systems, but Windows is not supported. It does not support TLS itself; the README suggests running it behind Apache or nginx. Hound uses the MIT license, and the latest listed release is v0.7.1, published May 3, 2023.