[GH-ISSUE #20] Feature: v2.0 Core Refactor & CLI Support #4

Closed
opened 2026-03-02 11:44:57 +03:00 by kerem · 0 comments
Owner

Originally created by @karant-dev on GitHub (Dec 13, 2025).
Original GitHub issue: https://github.com/karant-dev/AutoRedact/issues/20

Goal

To enable offline redaction via command line and prepare for future API capabilities, we need to decouple the core OCR/Regex logic from the browser DOM.

Requirements

  1. Extract core logic (Regex, Matching, Image Processing) into a platform-agnostic module (@autoredact/core).
  2. Implement an Adapter pattern for Canvas operations (BrowserCanvasAdapter vs NodeCanvasAdapter).
  3. Build a CLI tool (src/cli.ts) that uses the core logic with node-canvas.
  4. Ensure 100% feature parity (flags, settings) between Web and CLI.

Tech Stack

  • TypeScript
  • Tesseract.js
  • Node Canvas
Originally created by @karant-dev on GitHub (Dec 13, 2025). Original GitHub issue: https://github.com/karant-dev/AutoRedact/issues/20 ## Goal To enable offline redaction via command line and prepare for future API capabilities, we need to decouple the core OCR/Regex logic from the browser DOM. ## Requirements 1. Extract core logic (Regex, Matching, Image Processing) into a platform-agnostic module (`@autoredact/core`). 2. Implement an Adapter pattern for Canvas operations (`BrowserCanvasAdapter` vs `NodeCanvasAdapter`). 3. Build a CLI tool (`src/cli.ts`) that uses the core logic with `node-canvas`. 4. Ensure 100% feature parity (flags, settings) between Web and CLI. ## Tech Stack - TypeScript - Tesseract.js - Node Canvas
kerem 2026-03-02 11:44:57 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/AutoRedact#4
No description provided.