artcraftx README

项目的 README,来自 github.com/storytold/artcraftx。合并为一个 markdown 文件:README.md。

ArtCraft-X

ArtCraft-X's image generation workspace, with model selection, reference images, and a prompt editor.

A minimal desktop app for AI creation.

Images · Video · Audio · 3D Meshes · Worlds

ArtCraft Website · ArtCraft Repository

Discord members online YouTube X LinkedIn

Early Experimental Release
Builds are Forthcoming

Development (macOS / Linux)

With Node.js 20+, npm, Rust, and the Tauri 2 CLI installed, run:

./script/unix_dev.sh

This starts the frontend and desktop app together. It installs frontend dependencies when missing, then binds the first available loopback port starting at 5183 before launching Tauri with that exact URL. Existing processes are left running. To start the port search elsewhere:

ARTCRAFTX_DEV_PORT=5200 ./script/unix_dev.sh

JavaScript, TypeScript, and CSS edits reload through Vite, including shared frontend libraries. Rust edits in the app or its workspace dependencies trigger a rebuild and desktop app restart; in-memory app state resets on a Rust restart. The Rust backend uses native Tauri IPC, so there is no second backend HTTP port to allocate. HTTP and the HMR WebSocket share the selected frontend port.

Press Ctrl-C to stop the frontend, Rust watcher, and app. Use this combined launcher instead of running the two script/artcraftx/unix_*_dev.sh scripts. The launcher resolves paths relative to itself and can be called from any directory.

artcraftx (storytold/artcraftx)

正在搜索数据库…

这是什么?ArtCraft-X 是一款精简的桌面 AI 创作应用,涵盖图像、视频、音频、3D 网格和世界生成。
这是桌面应用,还是我可以嵌入使用的库?这是一款独立的桌面应用,基于 Tauri 2 构建(Rust 后端加上基于网页的前端),不是库,也不是命令行工具。
怎样才能让它运行起来?安装 Node.js 20+、npm、Rust 和 Tauri 2 CLI,然后使用项目的合并启动脚本。该脚本会同时启动前端和桌面应用,并绑定从 5183 开始的第一个空闲本地回环端口。
试用之前需要先安装哪些东西?你需要 Node.js 20+、npm、Rust 工具链和 Tauri 2 CLI。
有没有可以直接下载运行的现成版本?暂时没有。项目目前处于“早期实验版”阶段,尚未发布可分发的安装包。
它能在 macOS 和 Linux 上运行,也支持 Windows 吗?官方文档中的开发环境只涵盖 macOS 和 Linux,没有提到 Windows。
开发时热重载的工作方式是怎样的?JavaScript、TypeScript 和 CSS 的修改会通过 Vite 立即热更新;而对应用或其工作区依赖中的 Rust 代码做出修改,则会触发完整重新编译并重启桌面应用,这会清空内存中的应用状态。
开发时是否需要在前端旁边另外运行一个后端服务器?不需要。Rust 后端通过原生的 Tauri IPC 进行通信,因此不存在第二个 HTTP 端口;前端的 HTTP 请求和 HMR WebSocket 流量共用同一个选定的端口。
开发时能否同时运行多个实例?可以。启动脚本会自动从 5183 开始查找第一个可用的本地回环端口,因此第二个实例可以在另一个端口上启动,互不冲突。
ArtCraft-X 面向哪些创意媒体类型?它面向 AI 生成的图像、视频、音频、3D 网格和世界内容。
作者
storytold
大小
37.5 MB
星标
1.1K
更新
提交Nov 17
时长
3个月
提交 · 90 天