Updated: 20 Sep 2026 13:00 Uptime: 83d 9h 12m CPU temp: 41.9°C

A Heroku-Hosted Splitter in 30 Minutes

4 Mar 2026

ipsos tools i18n locales automation heroku

In two iterations (half an hour, at most) I put together locale-splitter: a tiny web tool to trim the master translation TXT and download it as a ZIP, already running on Heroku.

The TXT contains concatenated HTML and the splitter cuts it when it finds separators like |- (EN-PH) faq-contact-us. Without that exact format, nothing gets cut or renamed.

What the MVP does

  • You upload a .txt
  • It detects |- (LOCALE) slug markers
  • It cuts the content between markers (without including the marker line)
  • It generates a ZIP with all the HTML in one folder, with naming:
  • (EN-US) faq-common-concerns.html

The crazy part

Codex not only generated the app (Node/Express), it also pushed it to GitHub and published it on Heroku. It got carried away creating a new repo at first even though I already had one defined, but with a redeploy pointing to the right repo it was ready.

Next step

Add a report.txt if any warnings show up (for example, markers with no content).

Originally written in Spanish. Read the original →

← Back to notes