A simple CLI tool to strip emojis from markdown files. It can process single files or recursively scan directories.
You can install remoji using Cargo:
cargo install --path .remoji --path <PATH> [OPTIONS]-p, --path <PATH>: Path to a markdown file or directory containing .md files.-r, --recursive: Recursively process all .md files in the directory (replaces files in-place).-o, --output <FILE>: Output file path (only works with single file mode, ignored with --recursive).-v, --verbose: Show detailed processing information.-d, --dry-run: Preview changes without modifying files.-b, --backup: Create backup files (.bak) before modifying (only with --recursive).-h, --help: Print help information.-V, --version: Print version information.
Process a single file and print to standard output:
remoji -p README.mdProcess a single file and save to a new file:
remoji -p input.md -o output.mdRecursively process a directory (modifies files in-place) and create backups:
remoji -p ./docs -r -bPreview changes without modifying anything:
remoji -p ./docs -r --dry-run