Update README.md

This commit is contained in:
Piotr 2025-06-16 21:46:33 +02:00 committed by GitHub
parent 9b3a153b75
commit bf53b76539
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -82,7 +82,7 @@ VibeTunnel offers two server implementations that can be switched at runtime:
- Spawns and manages terminal processes - Spawns and manages terminal processes
- Records sessions in asciinema format - Records sessions in asciinema format
- WebSocket streaming for real-time terminal I/O - WebSocket streaming for real-time terminal I/O
- Source: `rust/tty-fwd/` directory - Source: `tty-fwd/` directory
Both servers expose similar APIs: Both servers expose similar APIs:
- `POST /sessions`: Create new terminal session - `POST /sessions`: Create new terminal session
@ -184,7 +184,7 @@ Key files:
2. Build the Rust server: 2. Build the Rust server:
```bash ```bash
├── tty-fwd/ # Rust TTY forwarding server cd tty-fwd
cargo build --release cargo build --release
cd .. cd ..
``` ```
@ -259,7 +259,7 @@ vibetunnel/
│ ├── Models/ # Data models │ ├── Models/ # Data models
│ ├── Views/ # SwiftUI views │ ├── Views/ # SwiftUI views
│ └── Resources/ # Assets and bundled files │ └── Resources/ # Assets and bundled files
├── rust/tty-fwd/ # Rust TTY forwarding server ├── tty-fwd/ # Rust TTY forwarding server
├── web/ # TypeScript/JavaScript frontend ├── web/ # TypeScript/JavaScript frontend
├── scripts/ # Build and utility scripts ├── scripts/ # Build and utility scripts
└── Tests/ # Unit and integration tests └── Tests/ # Unit and integration tests
@ -278,7 +278,7 @@ vibetunnel/
swift test swift test
# Run Rust tests # Run Rust tests
cd rust/tty-fwd && cargo test cd tty-fwd && cargo test
# Run frontend tests # Run frontend tests
cd web && npm test cd web && npm test