Releases: asaptf/swift-watermark-remover
Releases · asaptf/swift-watermark-remover
Release list
1.0.0
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 --statsLibrary
import WatermarkPurgeCore
let service = PurgeService()
var config = PurgeConfig(intensity: .balanced, preferredModel: "auto")
let result = try await service.purge(text: source, config: config)MIT License.