Run on Terminal¶
Run r10n directly from your terminal without cloning or installing anything. Perfect for quick, one-off automation tasks.
Prerequisites¶
You need uv installed. If you don't have it:
Verify installation:
Run Any Automation Instantly¶
Use uvx to run r10n without installing:
This downloads r10n temporarily, runs it, and cleans up automatically.
To open the persistent terminal UI instead of printing help:
The home screen shows the banner, command list, and an input box. Type an automation command, then press Ctrl+C when you are done.
Available Commands¶
List all available automations:
Output:
Usage: r10n [OPTIONS] COMMAND [ARGS]...
r10n - Automate repetitive data and workflow tasks
Options:
--help Show this message and exit.
Commands:
fill-pdfs Fill PDF templates with data
colors Convert CSS colors to oklch() format
contacts Generate VCF contact cards from phone numbers
email Send bulk personalized emails
images Optimize and convert images to WebP
Quick Examples¶
Generate Contact Cards¶
uvx --from git+https://github.com/pruthivithejan/r10n.git r10n contacts \
--input numbers.txt \
--prefix Customer \
--output customers.vcf
Optimize Images¶
uvx --from git+https://github.com/pruthivithejan/r10n.git r10n images \
--input ./photos \
--output ./optimized \
--quality 85
Convert Colors to oklch¶
Fill PDFs¶
uvx --from git+https://github.com/pruthivithejan/r10n.git r10n fill-pdfs \
--config config.json \
--recipients participants.csv
Send Bulk Emails¶
uvx --from git+https://github.com/pruthivithejan/r10n.git r10n email \
--config email-config.json \
--recipients recipients.csv \
--body message.txt
Interactive Mode¶
Run any command without arguments to enter interactive mode:
The CLI will guide you through each step:
╭─────────────────────────────────────────────────────────────╮
│ 📇 Contact Generator │
│ Generate VCF contact cards from phone numbers │
╰─────────────────────────────────────────────────────────────╯
Step 1/3: Select input file
Enter path to file with phone numbers: numbers.txt
Step 2/3: Set contact name prefix
Enter prefix for contact names [Contact]: Customer
Step 3/3: Set output file
Enter output VCF file path [contacts.vcf]: customers.vcf
Summary:
Input file: numbers.txt
Prefix: Customer
Output: customers.vcf
Proceed with contact generation? [y/n]: y
Creating Input Files¶
For most automations, you'll need to create input files first. Here are examples:
Phone Numbers (for contacts)¶
Create numbers.txt:
Recipient List (for email)¶
Create recipients.csv:
CSV Data (for fill-pdfs)¶
Create participants.csv:
Tips¶
- Create an alias for frequent use:
Then run:
-
Use absolute paths when specifying files:
-
Check command help for all available options:
Troubleshooting¶
"Command not found: uvx"¶
Install uv first:
Then restart your terminal or run:
"No such file or directory"¶
Make sure your input file exists and the path is correct:
Network Issues¶
If you're behind a firewall or have slow internet, consider setting up locally instead.
Next Steps¶
- Install Binary — Install with curl and update via
r10n upgrade - Setup Locally — For repeated use or development
- Automations — Detailed guides for each automation
- GitHub Issues — Get help or report bugs