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
92 downloads per month
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
- If you are a GenUI developer
- Ract for Makepad: If you are a Makepad developer
[!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