#makepad #setting-up #genui #command-line-tool #cli

app ract

Ract is a conversational CLI tool written in Rust, providing an all-in-one solution for integrating dependencies, setting up environments, generating project templates, running, and packaging projects with frameworks like GenUI and Makepad. Simplify your development workflow with minimal arguments and intuitive dialogs. πŸš€

3 releases

new 0.1.2 Jan 25, 2025
0.1.1 Jan 24, 2025
0.1.0 Jan 24, 2025

#386 in Command line utilities

Download history 92/week @ 2025-01-19

92 downloads per month

MIT license

260KB
6.5K SLoC

Ract

Ract is a conversational CLI tool written in Rust, designed to simplify the development process by providing an all-in-one solution for:

  • Integrating dependencies
  • Setting up environments
  • Generating project templates
  • Running and packaging projects

With minimal arguments and an intuitive dialog-based interface, Ract supports frameworks like GenUI and Makepad, making your development workflow smooth and efficient. πŸš€

[!IMPORTANT] Please make sure Ract is the latest version!


πŸ› οΈ Config

[!WARNING] Your computer may prompt security questions, please select Allow

You can configure ract as a global command in the following way:

Macos | Linux

# copy download ract to /usr/local/bin
sudo cp /path/to/download/ract /usr/local/bin/ract/ract

# add permission
sudo chmod 755 /usr/local/bin/ract
sudo chmod 755 /usr/local/bin/ract/ract

# confirm permission
sudo chown -R $(whoami) /usr/local/bin/ract

# echo to .zshrc
echo 'export PATH="/usr/local/bin/ract:$PATH"' >> ~/.zshrc

source ~/.zshrc
# get version
ract --version

Windows

put path/to/ract into System Env


πŸ“– Document for Ract

You can choose the following documents for usage

[!TIP]

Even though they are only slightly different, you still need to treat them differently.


🎯 Features

Core Features

  • Initialization: Automatically generate .env and environment templates.
  • Toolchain Check: Verify if all dependencies are installed.
  • Interactive Installation: Install only the tools you need.
  • Environment Configuration: Flexible configuration of environment paths.
  • Project Running: Run Makepad or GenUI projects with a single command.
  • WASM Support: Build and serve WASM projects in the browser.
  • Project Packaging: Streamlined packaging for distribution.
  • Watcher: Monitor changes for automatic reload.
  • Logger: Advanced logging system for debugging.

Future Features

  • Better Terminal UI: Use ratatui to optimize terminal ui.
  • Cross-platform Packaging: Simplify builds for multiple platforms.
  • Documentation: Include a comprehensive book for learning Makepad and GenUI.
  • Remote Services: Enable Ract to call some remote services.
  • Auto Update: Automatic updates to new versions.

Ract makes your Rust-based development with Makepad and GenUI easier, faster, and more efficient. πŸŽ‰

Feel free to contribute or share feedback to help us improve! 😊

Dependencies

~14–26MB
~411K SLoC