Skip to content

1.0.0

Latest

Choose a tag to compare

@asaptf asaptf released this 12 Aug 07:41
· 4 commits to main since this release

WatermarkPurge 1.0.0

First public release: fully on-device multi-pass text watermark disruption for Apple Silicon.

Highlights

  • Library WatermarkPurgeCore — embed the purge pipeline in your Swift app
  • CLI watermark-purge — one-command rewrite from the terminal
  • Multi-pass pipeline: Unicode hygiene → progressive rewrite → optional polish → normalize
  • Structure-aware chunking with protected regions (code fences, block quotes)
  • Local quality metrics (n-gram disruption + meaning preservation)
  • Auto model selection by unified memory (MLX, 4-bit)

Requirements

  • Apple Silicon Mac (M1+)
  • macOS 14+
  • Swift 6.2+ / Xcode 16+

Install (SPM)

.package(url: "https://github.com/asaptf/swift-watermark-remover.git", from: "1.0.0")

CLI

./run.sh document.md -o cleaned.md
# or after bootstrap:
watermark-purge input.md -o cleaned.md --intensity aggressive --stats

Library

import WatermarkPurgeCore

let service = PurgeService()
var config = PurgeConfig(intensity: .balanced, preferredModel: "auto")
let result = try await service.purge(text: source, config: config)

MIT License.