For entrepreneurs
Backup rotation
Keeps the last N backups, one per week and one per month, and deletes the rest. Dry run by default.
Read the guide automation-backup-rotatenode scripts/35-backup-rotate.mjs /var/backups --pattern .encOpen source
Free, dependency-free, tested.
Command-line tools for recurring chores: cleaning data, chasing invoices, forecasting cash, scoring leads, checking a deployment. For developers and for entrepreneurs. Published under the MIT license: take them, adapt them, redistribute them. Many come with a step-by-step guide.
Node.js 18+ · no dependencies · tested · MIT license · messages in French
For entrepreneurs
Keeps the last N backups, one per week and one per month, and deletes the rest. Dry run by default.
Read the guide automation-backup-rotatenode scripts/35-backup-rotate.mjs /var/backups --pattern .encFor entrepreneurs
Totals hours and billable amounts by project and ISO week from a CSV of time entries.
Read the guide automation-timesheet-summarynode scripts/34-timesheet-summary.mjs temps.csv --rate 20000For entrepreneurs
Computes MRR, new customers, departures, churn, ARPA and LTV month by month from your list of subscriptions.
Read the guide automation-subscription-metricsnode scripts/33-subscription-metrics.mjs abonnements.csv --from 2026-06For entrepreneurs
Generates one e-mail draft per contact from a template and a CSV, with default values. Sends nothing.
Read the guide automation-email-mergenode scripts/32-email-merge.mjs modele.txt contacts.csv --out brouillons/For entrepreneurs
Scores and ranks your prospects against your own JSON rules (budget, size, source, age…), with the reasons for each score.
Read the guide automation-lead-scoringnode scripts/31-lead-scoring.mjs prospects.csv --rules scoring.json --top 10For entrepreneurs
Sorts a bank statement into categories by keyword, totals by category and month, and lists what is unclassified.
Read the guide automation-expense-categorizernode scripts/30-expense-categorizer.mjs releve.csv --rules regles.jsonFor entrepreneurs
Derives the minimum day rate from a target net income, accounting for charges, expenses, time off and unbilled time.
Read the guide automation-day-ratenode scripts/29-day-rate.mjs --net 600000 --expenses 80000For entrepreneurs
Computes the number of sales that covers your fixed costs and a target profit, with a scenario table.
Read the guide automation-breakevennode scripts/28-breakeven.mjs --fixed 800000 --price 25000 --variable 9000For entrepreneurs
Projects cash month by month (one-off or recurring flows), spots the first negative month and estimates runway.
Read the guide automation-cashflow-forecastnode scripts/27-cashflow-forecast.mjs flux.csv --balance 300000 --months 6For entrepreneurs
Generates a quote or invoice (Markdown or HTML) from JSON: lines, discounts, VAT, currency-rounded total, due date.
Read the guide automation-quote-invoicenode scripts/26-quote-invoice.mjs mon-devis.json --format html --out devis.htmlFor developers
Turns a cron expression into a plain sentence (FR or EN) and computes its next runs in UTC.
Read the guide automation-cron-explainnode scripts/25-cron-explain.mjs "*/15 8-18 * * 1-5" --count 5For developers
Checks lang, title, meta description, viewport, single h1, image alt, empty links and target=_blank without noopener.
Read the guide automation-html-auditnode scripts/24-html-audit.mjs ./distFor developers
Classifies node_modules licenses (permissive, weak or strong copyleft, unknown) and flags what deserves review.
Read the guide automation-license-checknode scripts/23-license-check.mjs ./node_modulesFor developers
Checks an API's key routes from a JSON file: status, response fields, slowness. Tokens come from the environment.
Read the guide automation-api-smokeAPI_TOKEN=… node scripts/22-api-smoke.mjs smoke.jsonFor developers
Waits for a URL to respond after a deployment, retrying at growing intervals, before the next pipeline step.
Read the guide automation-wait-for-urlnode scripts/21-wait-for-url.mjs https://staging.exemple.com/health --timeout 120For developers
Counts TODO, FIXME, HACK, XXX and BUG markers inside comments, by type and by file, with a ceiling for CI.
Read the guide automation-todo-scannode scripts/20-todo-scan.mjs ./src --max 50For developers
Validates every .json in a folder: errors with line and column, duplicate keys, JSONC mode for comments.
Read the guide automation-json-lintnode scripts/19-json-lint.mjs ./mon-projet --jsoncFor developers
Sorts `npm outdated` by severity (majors first) and fails CI above a threshold of major gaps.
Read the guide automation-deps-outdatednode scripts/18-deps-outdated.mjs --run --max-major 3For developers
Generates a Markdown CHANGELOG grouped by type from conventional commits (feat, fix, perf…) between two references.
Read the guide automation-git-changelognode scripts/17-git-changelog.mjs --from v1.1.0 --title "v1.2.0"For developers
Compares .env.example with a real .env: missing, empty, example-value and extra variables. Never prints values.
Read the guide automation-env-checknode scripts/16-env-check.mjs .env.example .env --strictWeb monitoring
Traffic, status classes, busiest pages and IPs, frequent errors and peak hours ("combined" format).
automation-log-summarynode scripts/15-log-summary.mjs /var/log/nginx/access.logSecurity & backup
Detects API keys, tokens and private keys left in a folder, values masked. Run it before commits or in CI.
automation-secrets-scannode scripts/14-secrets-scan.mjs ./mon-projetWeb monitoring
Walks a sitemap.xml (index included) and tests every URL to catch broken pages and failed redirects.
automation-sitemap-checknode scripts/13-sitemap-check.mjs https://exemple.com/sitemap.xmlWeb monitoring
Days left before each certificate expires, with warning (30 d) and critical (7 d) thresholds.
automation-ssl-expirynode scripts/12-ssl-expiry.mjs exemple.com autre-site.orgWeb monitoring
Checks a list of URLs (status, duration, slowness threshold) and exits with code 2 if any fails.
automation-http-checknode scripts/11-http-check.mjs --file urls.txt --max-ms 3000Security & backup
Size by extension, largest files and duplicates found by SHA-256 — handy for auditing a workstation or a share.
automation-folder-inventorynode scripts/10-folder-inventory.mjs ./partage --dupesSecurity & backup
Encrypts and decrypts a file with AES-256-GCM, scrypt-derived key; the passphrase comes from an environment variable.
automation-encrypt-backupBACKUP_PASSPHRASE='…' node scripts/09-encrypt-backup.mjs encrypt dump.sql dump.encBusiness & process
Checks exactly one accountable (A) and at least one responsible (R) per task, and flags work concentrated on one person.
automation-raci-checknode scripts/08-raci-check.mjs raci.csvBusiness & process
From a list of steps: Mermaid diagram, critical path, waiting bottlenecks, efficiency and hand-offs between owners.
automation-process-mappernode scripts/07-process-mapper.mjs processus.csv --out analyse.mdBusiness & process
Revenue, sales count, average basket and top products in Markdown, compared with the previous week.
automation-weekly-reportnode scripts/06-weekly-report.mjs ventes.csv --out rapport.mdBusiness & process
Finds unpaid invoices and drafts one reminder each at day 7, 21 and 45. It sends nothing — you review before sending.
automation-invoice-remindersnode scripts/05-invoice-reminders.mjs factures.csv --drafts relances/Data quality
Converts both ways; the direction is inferred from the input file's extension.
automation-csv-jsonnode scripts/04-csv-json.mjs donnees.csv --out donnees.jsonData quality
Added, removed and changed rows between two exports, on a key. Exit code 2 when they differ.
automation-csv-diffnode scripts/03-csv-diff.mjs avant.csv apres.csv --key idData quality
Removes duplicates on one or more columns, ignoring case, accents and whitespace.
automation-csv-dedupenode scripts/02-csv-dedupe.mjs clients.csv --keys email,telephoneData quality
Types, empty rates, distinct values and candidate keys for every column — the first reflex before any data cleanup.
automation-csv-profilenode scripts/01-csv-profile.mjs clients.csvGetting started
tar xzf elzam-automation-scripts.tgz
cd elzam-automation-scripts
node scripts/01-csv-profile.mjs samples/clients.csv
npm testGood to know: these scripts read and write local files, and none of them sends any message or data (only the monitoring ones contact the addresses you give them). Try them on a copy first, and always review reminders and drafts before sending them. The messages printed on the command line are in French.
Provided as is, without warranty (MIT license). For a custom need — process audit, automation across a team — that is my job: let's talk.