TachyonFX FTL is a browser-based editor and previewer for TachyonFX effects. It allows you to create, visualize, and iterate on terminal UI effects in real-time using TachyonFX's DSL (Domain-Specific Language).
- Live Preview: See your TachyonFX effects come to life as you type
- Code Editor: Fully-featured code editing with syntax highlighting and auto-completion powered by Ace Editor
- Web Terminal: Rendered using Ratzilla, a terminal UI library for WebAssembly
- Customizable Canvas: Define your own ANSI-escaped ASCII as the base for your effects
- Shareable Effects: Effects can be shared via URL parameters, making it easy to showcase your creations
- Split-pane Interface: Drag to resize the editor and preview areas
- Gruvbox Theme: Consistent dark theme throughout the application
- Visit the TachyonFX FTL web application
- Write your TachyonFX effect code in the left panel
- Customize the canvas input at the bottom if needed
- Click "Run" or press Ctrl+S/Cmd+S to apply the effect
- Share your creation by copying the URL
This project is a Ratzilla app built with Rust and compiled to WebAssembly. It uses:
- TachyonFX: For the core effects library and DSL
- Ratatui: Terminal UI components
- Ratzilla: WebAssembly-compatible terminal rendering
- Ace Editor: Code editing capabilities
- WebAssembly/Trunk: For building and packaging
To develop locally:
# Clone the repository
git clone https://github.com/junkdog/tachyonfx-ftl.git
cd tachyonfx-ftl
# Build and serve the application
cd tachyonfx-ftl-web
trunk serveCopyright (c) Adrian Papari [email protected]
This project is licensed under the MIT license (LICENSE or http://opensource.org/licenses/MIT)