cyanfish / naps2 Architecture and code health
Scan documents to PDF and more, as simply as possible.
Claude Code, Cursor, Codex or VS Code. No key. You approve one sign-in in your browser.
Releases on GitHub (latest v8.6.1, Nov 19, 2026)
Repowise maps public repos from their source. Not affiliated with cyanfish. What is Repowise?
github.com/cyanfish/naps2Indexed at 391e72a
What is 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#. Its code health is 8.8 out of 10 (Excellent), ranked #22 of 4,000+ indexed repos. The last commit to naps2 was on Aug 9, 2026, and 6 people have contributed.
As of commit 391e72a, indexed Aug 12, 2026. What it is comes from a model reading the README; the rest is measured from the source and git history, not from the maintainer.
For agentsnaps2.md
Repo facts: type, license, health, rank, contributors
| Code health | 8.8 / 10 (Excellent) |
|---|---|
| Health rank | #22 of 4,000+ indexed repos |
| Last commit | Aug 9, 2026 |
| Contributors | 6 |
| Bus factor | 1 |
| Size | 1,078 files, 71,024 lines |
Explore naps2
- DocumentationModule-by-module documentation, 1,678 pages.
- ArchitectureDependency graph, layers and third-party dependencies.
- Code healthEvery file's score and the findings behind it.
- CommitsEach commit's effect on code health.
- OverviewEverything else the index found: contributors, decisions, what changed this week.
Ask about this code in your agent
This connects Repowise to naps2's code. It does not install naps2.
Useful if you want to change or fork naps2: your agent can ask how it is put together and get answers that cite its files.
Ask about naps2
Answers come from naps2's README and source, with the files they cite. Two free answers a day without an account.
Want this for your own codebase? Map your repo free
About this page
Get a page like this for your own codebase
Repowise built this map of cyanfish/naps2 from its source and git history. It parses every symbol, draws the dependency graph, scores each file's health from complexity, duplication, coverage and churn, finds hotspots and owners in the history, and writes documentation for every module. Your coding agent reads the same index over MCP, so its answers cite real files.
Free for 2 public repos, with a page like this one. No card. See how Repowise works
Prefer local? pip install repowise && repowise init indexes your own checkout, no account needed. Star Repowise on GitHub
cyanfish/naps2 FAQ
What is NAPS2?
NAPS2 is a document scanning application with a focus on simplicity and ease of use. It scans paper documents from WIA, TWAIN, SANE, and ESCL scanners and saves them as PDF, TIFF, JPEG, or PNG.
How does NAPS2 work?
NAPS2 takes pages from a connected scanner, lets you arrange them, and saves them to a file in the format you choose. Optical character recognition is available through Tesseract.
What language is NAPS2 written in?
NAPS2 is written mainly in C#. The codebase has 1055 C# files and one Python file.
How is the NAPS2 code organized?
NAPS2 is organized into modules such as NAPS2.Lib, NAPS2.Sdk, and NAPS2.Images. Separate app projects provide entry points for Windows, Gtk, Mac, console, and a portable launcher.
Who is NAPS2 for?
NAPS2 is for people who want to scan documents to PDF and other common formats with a simple interface. Developers can use NAPS2.Sdk as a scanning library on Windows, Mac, and Linux.
Code health
Hotspots average 4.9, the place fixes pay off most.
On the leaderboards:#5 of 11 C# repos
Key features of naps2
- Scans documents from WIA, TWAIN, SANE, and ESCL scanners.
- Lets you organize scanned pages as you like before saving them.
- Saves scanned documents as PDF, TIFF, JPEG, or PNG files.
- Provides optical character recognition (OCR) using Tesseract.
- Offers NAPS2.Sdk, a scanning library for developers on Windows, Mac, and Linux.
How cyanfish/naps2 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.
The codebase has 1,078 files and 11,679 symbols in 30 modules, led by C# and Python. Code health is 8.8 out of 10, rated excellent.
Maintain cyanfish/naps2?
Claim this page, add a badge to the README, or re-index it.
Claim this page
Sign in with GitHub and we check that you are an admin or maintainer of cyanfish/naps2. Then add a badge to the README that links readers here.
Add a badge to your README
Readers click through to this page and can ask naps2's code a question. A badge also re-indexes the repo every week and marks you as the verified maintainer.
[](https://repowise.dev/repo/cyanfish/naps2?src=badge_ask)Paste it at the top of README.md, under the title.
Added it already? Verify to get the mark now instead of tomorrow.
Need HTML or the larger health card? More formatsHide more formats
This badge as HTML
<a href="https://repowise.dev/repo/cyanfish/naps2?src=badge_ask"><img src="https://api.repowise.dev/badge/wiki/cyanfish/naps2.svg?label=ask" alt="repowise: Ask this codebase"></a>Code health card
The score, its change since the last index, and when it was measured. Follows the reader's light or dark theme.
<a href="https://repowise.dev/repo/cyanfish/naps2?src=badge_card"><picture><source media="(prefers-color-scheme: light)" srcset="https://api.repowise.dev/badge/health/cyanfish/naps2.svg?style=card&theme=light"><img src="https://api.repowise.dev/badge/health/cyanfish/naps2.svg?style=card" alt="repowise code health" width="500" height="168"></picture></a>