# cyanfish/naps2

> NAPS2 is a document scanning application that turns paper pages into files. It connects to WIA, TWAIN, SANE, and ESCL scanners, lets you organize the scanned pages, and saves them as PDF, TIFF, JPEG, or PNG. Its main language is C#.

Source: https://github.com/cyanfish/naps2
Indexed: commit 391e72a on 2026-08-12 by Repowise. Facts come from the source and git history, not from the maintainer.

## Facts

- Language: C#
- Stars: 4,789 at index time
- Code health: 8.8/10, Excellent
- Last commit: 2026-08-09
- Contributors: 6

## How it works

The codebase is split into modules, and NAPS2.Lib is the largest, with 359 files. NAPS2.Sdk holds 245 files for the scanning library that the README describes for developers, supporting WIA, TWAIN, SANE, and ESCL scanners. NAPS2.Images contains 68 files of image code, and NAPS2.Lib.WinForms contains 30 files of Windows Forms code. Each platform app has its own entry point, such as NAPS2.App.WinForms/Program.cs, NAPS2.App.Gtk/Program.cs, NAPS2.App.Mac/Program.cs, and NAPS2.App.Console/Program.cs. The user interface code lives under NAPS2.Lib/EtoForms, where NAPS2.Lib/EtoForms/Ui/CropForm.cs is one of the listed hotspot files, and Eto.Forms is a key dependency.

- NAPS2.App.Console/Program.cs: entry point
- NAPS2.App.Gtk/Program.cs: entry point
- NAPS2.App.Mac/Program.cs: entry point
- NAPS2.App.PortableLauncher/Program.cs: entry point
- NAPS2.App.WinForms/Program.cs: entry point
Modules: NAPS2.Lib, NAPS2.Sdk, NAPS2.Sdk.Tests, NAPS2.Tools, NAPS2.Images, NAPS2.Lib.WinForms, NAPS2.Internals, NAPS2.Lib.Tests. 1,078 files, 71,024 lines, 11,679 symbols.

## Code health

- Score: 8.8/10 (Excellent)
- Rank: #22 of 4,000+ indexed repos
- Hotspots: NAPS2.Lib/EtoForms/Ui/CropForm.cs, NAPS2.Lib/EtoForms/Ui/ManualDuplexForm.cs, NAPS2.Lib/EtoForms/EtoDialogHelper.cs, NAPS2.Lib.Mac/EtoForms/Mac/MacEtoPlatform.cs, NAPS2.Lib/EtoForms/Widgets/ManualDuplexListViewBehavior.cs
- Lowest file: NAPS2.Sdk/Scan/Internal/Escl/EsclScanDriver.cs
- Dead code: 203 findings

## Maintenance

- Last commit 2026-08-09, first commit 2024-03-09, 708 commits
- 6 contributors, bus factor 1

## Security

- Security findings are shown to signed-in users at https://repowise.dev/repo/cyanfish/naps2/security

## More

- Page: https://repowise.dev/repo/cyanfish/naps2
- Ask this codebase: https://repowise.dev/repo/cyanfish/naps2/chat
- Docs: https://repowise.dev/repo/cyanfish/naps2/docs
- MCP (signs in with Repowise on first use):
    claude mcp add --transport http repowise https://api.repowise.dev/mcp/cyanfish/naps2
