# wacxv/stickup architecture

> Architecture diagram of the GitHub repository wacxv/stickup, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-29). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/wacxv/stickup
- Repository: https://github.com/wacxv/stickup

## Overview

The repository is an in-progress Tauri desktop app with a React greeting screen and a small Rust command backend; the README documents no broader product workflow. The visible flow is user input, frontend command invocation, Rust greeting generation, and display of the returned text. Source excerpts show the app entry points and command wiring, but not further product features.

Main entry points: [`src/App.tsx`](https://github.com/wacxv/stickup/blob/main/src/App.tsx) (Greeting UI), [`src-tauri/src/lib.rs`](https://github.com/wacxv/stickup/blob/main/src-tauri/src/lib.rs) (Greeting command), [`src/main.tsx`](https://github.com/wacxv/stickup/blob/main/src/main.tsx) (Frontend entry), [`src-tauri/src/main.rs`](https://github.com/wacxv/stickup/blob/main/src-tauri/src/main.rs) (Rust entry)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_frontend["React frontend"]
  node_main["Frontend entry<br/>[main.tsx]"]
  node_app["Greeting UI<br/>[App.tsx]"]
end

subgraph group_desktop["Tauri backend"]
  node_rustmain["Rust entry<br/>[main.rs]"]
  node_runtime["Tauri runtime<br/>[lib.rs]"]
  node_greet["Greeting command<br/>[lib.rs]"]
end

node_user(("User"))

node_main -->|"mounts"| node_app
node_user -->|"submits name"| node_app
node_app -->|"invokes command"| node_greet
node_greet -->|"returns greeting"| node_app
node_rustmain -->|"starts"| node_runtime
node_runtime -->|"registers handler"| node_greet

click node_main "https://github.com/wacxv/stickup/blob/main/src/main.tsx"
click node_app "https://github.com/wacxv/stickup/blob/main/src/App.tsx"
click node_rustmain "https://github.com/wacxv/stickup/blob/main/src-tauri/src/main.rs"
click node_runtime "https://github.com/wacxv/stickup/blob/main/src-tauri/src/lib.rs"
click node_greet "https://github.com/wacxv/stickup/blob/main/src-tauri/src/lib.rs"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_main,node_app,node_user toneBlue
class node_rustmain,node_runtime,node_greet toneAmber
```

## Components

### React frontend

- [Frontend entry](https://github.com/wacxv/stickup/blob/main/src/main.tsx): `src/main.tsx`
- [Greeting UI](https://github.com/wacxv/stickup/blob/main/src/App.tsx): `src/App.tsx`

### Tauri backend

- [Rust entry](https://github.com/wacxv/stickup/blob/main/src-tauri/src/main.rs): `src-tauri/src/main.rs`
- [Tauri runtime](https://github.com/wacxv/stickup/blob/main/src-tauri/src/lib.rs): `src-tauri/src/lib.rs`
- [Greeting command](https://github.com/wacxv/stickup/blob/main/src-tauri/src/lib.rs): `src-tauri/src/lib.rs`

### Other components

- **User**

## Connections

- Frontend entry → Greeting UI: mounts
- User → Greeting UI: submits name
- Greeting UI → Greeting command: invokes command
- Greeting command → Greeting UI: returns greeting
- Rust entry → Tauri runtime: starts
- Tauri runtime → Greeting command: registers handler
