README.md
View on GitHub
Text2Arch
The Professional ArchBase4 Editor
Text2Arch is a state-of-the-art text encoding tool tailored for the ArchBase4 quaternary format. Designed for precision and ease of use, it features a split-pane interface with real-time bidirectional editing, syntax highlighting, and persistent layout management.
Features
- Bidirectional Editing: Changes in the source text instantly update the encoded output, and vice versa.
- Dual Protocol Support:
- v2 (Default): Paragraph-preserving encoding for structured output.
- v1 (Legacy): Classic continuous stream encoding.
- Quaternary Syntax Highlighting: Visual distinction for
i,use,arch,btwtokens. - Smart Layout: Resizable panes that remember user settings significantly enhance workflow.
- Dark Mode Optimization: A sleek, dark-themed UI built for prolonged coding sessions.
Technologies
Built with a modern stack for high performance and maintainability:
- React 18
- TypeScript
- Vite
- Tailwind CSS
Getting Started
Prerequisites
- Node.js (Latest LTS recommended)
Installation
-
Clone the repository
git clone https://github.com/mozi1924/text2arch.git cd text2arch -
Install dependencies
npm install -
Start the development server
npm run dev -
Build for production
npm run build
ArchBase4 Spec
v2 (Structural)
Preserves original paragraph formatting, generating a structured and readable ciphertext.
v1 (Legacy)
Encodes everything into a single continuous stream, treating newlines as standard bytes.