mirror of
https://github.com/karant-dev/AutoRedact.git
synced 2026-04-26 00:05:52 +03:00
[PR #21] [MERGED] feat(core): extract logic and implement CLI (v2.0) #23
Labels
No labels
bug
enhancement
enhancement
enhancement
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/AutoRedact#23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/karant-dev/AutoRedact/pull/21
Author: @karant-dev
Created: 12/13/2025
Status: ✅ Merged
Merged: 12/13/2025
Merged by: @karant-dev
Base:
main← Head:feature/v2.0-core-cli📝 Commits (3)
fcf8292feat(core): extract logic and implement CLI (v2.0)3fb3558fix(pr): address review feedback (types, validation, robustness)4305efbchore: cleanup temporary test files📊 Changes
12 files changed (+1621 additions, -407 deletions)
View changed files
📝
README.md(+19 -1)📝
package-lock.json(+969 -22)📝
package.json(+10 -2)➕
src/adapters/BrowserCanvasAdapter.ts(+38 -0)➕
src/adapters/NodeCanvasAdapter.ts(+17 -0)➕
src/cli.ts(+144 -0)➕
src/core/image-processing.ts(+36 -0)➕
src/core/interfaces.ts(+30 -0)➕
src/core/matcher.ts(+112 -0)➕
src/core/processor.ts(+218 -0)📝
src/utils/canvas.ts(+2 -39)📝
src/utils/ocr.ts(+26 -343)📄 Description
Closes #20
Summary
Decoupled core logic from the DOM and implemented a CLI tool.
Key Changes
src/core.BrowserCanvasAdapterandNodeCanvasAdapter.src/cli.tswith fullcommandersupport.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.