TwoFold: Make Plain Text Files Dynamic

2025-05-14
TwoFold: Make Plain Text Files Dynamic

TwoFold is a small command-line application that allows plain text files to behave like dynamic files. It's a hybrid between a text expander and a template engine, inspired by Emacs Org-mode, Python Jupyter Notebooks, and React JS. TwoFold processes text files, identifying LISP/XML-like tags and transforming them into useful outputs. It's compatible with XML and HTML, but tag markers are customizable. It can watch files for changes, enabling real-time collaboration for tasks like data validation, statistical calculations, or spell checking. TwoFold supports various file types (.txt, Markdown, Emacs Org, reStructured Text, HTML, XML, source code), but not binary files. It runs using Bun and allows users to easily write and load custom tags.

Development template engine