Thanks to visit codestin.com
Credit goes to github.com

Skip to content

TachyonFX FTL is a browser-based editor and previewer for TachyonFX effects, powered by Ratzilla and Ace Editor

License

Notifications You must be signed in to change notification settings

junkdog/tachyonfx-ftl

Repository files navigation

TachyonFX FTL

screenshots

Live Editor

Try it now on GitHub Pages

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).

Features

  • 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

How to Use

  1. Visit the TachyonFX FTL web application
  2. Write your TachyonFX effect code in the left panel
  3. Customize the canvas input at the bottom if needed
  4. Click "Run" or press Ctrl+S/Cmd+S to apply the effect
  5. Share your creation by copying the URL

Development

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 serve

License

Copyright (c) Adrian Papari [email protected]

This project is licensed under the MIT license (LICENSE or http://opensource.org/licenses/MIT)

About

TachyonFX FTL is a browser-based editor and previewer for TachyonFX effects, powered by Ratzilla and Ace Editor

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •