Skip to content

Kiramei/baas-tauri

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

205 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

BAAS icon

BAAS Tauri App

Desktop command center for multi-profile Blue Archive automation

Tauri 2 React 19.2 Vite 8 Tailwind CSS 4.1 License GPL-3.0

Chinese README Download Documentation License

Light Mode Dark Mode
BAAS Tauri home page in light mode BAAS Tauri home page in dark mode

πŸš€ Overview

BAAS Tauri is the desktop control client for Blue Archive Auto Script. It turns the BAAS backend into a daily-use desktop workbench: profile management, scheduling, feature configuration, runtime logs, remote emulator display, updater controls, and web documentation all live in one app.

The boundary is intentional:

  • Tauri orchestrates profiles, task settings, UI state, logs, update choices, and documentation.
  • The backend executes ADB connection, screenshots, recognition, emulator control, task execution, and state synchronization.
✨ Multi-profile orchestration for different accounts, servers, and emulator instances
⚑ Real-time task queue, status cards, assets, and log streaming
🧩 Independent configuration panels for every automation domain
πŸ“Ί Remote emulator display with decoder and stream tuning controls
🌐 Multilingual application UI with maintained Chinese and English documentation
πŸ“š Fumadocs documentation site, available in-app and as a detached Tauri window

🧭 Runtime Flow

flowchart LR
  User["User / Profile"] --> Client["BAAS Tauri"]
  Client --> Scheduler["Scheduler"]
  Client --> Config["Feature Configuration"]
  Client --> Logs["Logs & Remote Display"]
  Scheduler --> Backend["BAAS Backend"]
  Config --> Backend
  Backend --> ADB["ADB / Emulator"]
  Backend --> Game["Blue Archive"]
  Backend --> Client
Loading

🧩 What It Controls

Area What You Can Do
πŸ—‚οΈ Profiles Separate accounts, servers, emulator instances, and task strategies.
▢️ Home Start or stop scheduling, inspect the running task, next task, queue, logs, assets, and remote display.
πŸ—“οΈ Scheduler Enable tasks, edit next run time, search, sort, set intervals, daily reset windows, pre-tasks, and post-tasks.
🧩 Configuration Configure server, emulator, script, stages, sweeps, teams, cafe, lessons, shop, crafting, combat, maintenance, push, and more.
πŸŽ›οΈ Settings Tune theme, language, background, UI scale, remote decoder, safe stream, low performance mode, update channel, source, MirrorC CDK, and SHA tests.
πŸ“š Docs Load the Fumadocs documentation site inside the app Wiki page or detach it into a normal Tauri window.

πŸ–ΌοΈ Screenshots

Scheduler Feature Configuration
Scheduler overview with inactive and active task columns Feature configuration overview
Remote Emulator Settings and Updates
Remote emulator display player Settings and version overview

πŸ“₯ Download

Installers are published on GitHub Releases. Use the latest Release and choose the package that matches your operating system and CPU architecture.

System Package
Windows x64 BAAS.Tauri_*_x64-setup.exe
Windows ARM64 BAAS.Tauri_*_arm64-setup.exe
Windows x64 fixed WebView2 BAAS.Tauri_*_x64_fixed_webview2-setup.exe
Windows ARM64 fixed WebView2 BAAS.Tauri_*_arm64_fixed_webview2-setup.exe
macOS Apple Silicon BAAS.Tauri_*_aarch64.dmg
macOS Intel BAAS.Tauri_*_x64.dmg
Linux Debian/Ubuntu BAAS.Tauri_*_amd64.deb or *_arm64.deb
Linux Fedora/RHEL BAAS.Tauri_*_x86_64.rpm or *_aarch64.rpm

The documentation site also includes a dynamic download panel that reads the latest GitHub Release and lists direct installer links.

πŸ“¦ Tech Stack

Category Tools Notes
Desktop Shell Tauri 2, Rust Native windowing, commands, capabilities, and packaging.
Frontend React 19.2, Vite 8, TypeScript Fast UI iteration and typed client code.
Styling Tailwind CSS 4, CSS variables Dark/light themes, accent color, background image, zoom, and responsive layout.
State & Data Zustand, React Context, localStorage Profile state, config snapshots, UI preferences, and runtime state.
Realtime SecureWebSocket Authenticated channels for provider, sync, trigger, heartbeat, and remote display.
UX Framer Motion, Radix UI, Sonner, lucide-react Motion, accessible primitives, toast notifications, and icon controls.
Documentation Fumadocs, Next.js, MDX, Mermaid, Blueaka Web docs, diagrams, bilingual content, GitHub Pages deployment, and font subsetting.

πŸ“š Documentation Site

The documentation site lives in docs/ and is built as a separate Fumadocs/Next.js app.

cd docs
bun install
bun run dev
bun run build
Language Local URL
Chinese http://localhost:3000/docs/zh/
English http://localhost:3000/docs/en/

Documentation policy:

  • Only Chinese and English documentation are maintained.
  • Other in-app documentation languages fall back to English.
  • Screenshots are named by visible content under docs/public/cn and docs/public/en.
  • GitHub Pages deployment is handled by .github/workflows/wiki-pages.yml.

πŸ› οΈ Development

Prerequisites:

  • Bun 1.3 or later.
  • A Node.js version compatible with the current Vite and Next.js toolchain.
  • Rust toolchain and Tauri 2 prerequisites.
  • A BAAS backend service for full runtime interaction.

Quick Start

bun install

# Development
bun run tauri dev

# Release build
bun run tauri build

Command List

# Web UI
bun run dev:webui
bun run build:webui

# Tauri frontend assets
bun run dev:tauri
bun run build:tauri

# Full Tauri app
bun run tauri dev
bun run tauri build

# Target-specific Tauri build
bun run tauri dev --target <TARGET>
bun run tauri build --target <TARGET>

# Checks and formatting
bun run lint
bun run format
bun run i18n:check
Command Purpose
bun run dev:webui Start the Vite development server in Web UI mode.
bun run dev:tauri Start the frontend in Tauri mode.
bun run build:webui Build Web UI assets.
bun run build:tauri Build Tauri-mode frontend assets.
bun run tauri dev Run the full Tauri app in development mode.
bun run tauri build Build the full Tauri app.
bun run lint Run ESLint and i18n checks.
bun run i18n:check Verify locale key consistency.

🧱 Project Layout

baas-tauri/
|-- src/                    # React client
|-- src-tauri/              # Tauri 2 Rust shell, commands, windows, capabilities
|-- public/                 # application assets, fonts, locales, compatibility docs
|-- docs/                   # Fumadocs documentation site
|-- scripts/                # packaging, updater, font, and maintenance scripts
`-- .github/workflows/      # release and documentation deployment workflows

πŸ“– Wiki Behavior

The app no longer uses the old local Wiki as the primary documentation surface. The Wiki page loads the web documentation site by default.

In Tauri mode, Detach opens a normal independent window titled Wiki Docs. The main window then shows that documentation is already open separately and offers actions to focus the detached window or return the page to the main window.

License

Licensed only under the GNU General Public License v3.0 (GPLv3). See LICENSE.

About

A tauri-reconstructed application for BAAS, with GUI of baas-webui

Topics

Resources

License

Stars

2 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors