Skip to content

Commit e3fff0d

Browse files
eisbawclaude
authored andcommitted
refactor: rename claudia to opcode throughout web server code
- Rename binary from claudia-web to opcode-web in Cargo.toml - Update all references in justfile (web commands) - Update console output messages in web_server.rs and web_main.rs - Update documentation in web_server.design.md This completes the project rename from Claudia to Opcode. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 1f9f09f commit e3fff0d

File tree

5 files changed

+12
-16
lines changed

5 files changed

+12
-16
lines changed

justfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Claudia - NixOS Build & Development Commands
1+
# Opcode - NixOS Build & Development Commands
22

33
# Show available commands
44
default:
@@ -65,11 +65,11 @@ rebuild: clean build run
6565

6666
# Run web server mode for phone access
6767
web: build-frontend
68-
cd src-tauri && cargo run --bin claudia-web
68+
cd src-tauri && cargo run --bin opcode-web
6969

7070
# Run web server on custom port
7171
web-port PORT: build-frontend
72-
cd src-tauri && cargo run --bin claudia-web -- --port {{PORT}}
72+
cd src-tauri && cargo run --bin opcode-web -- --port {{PORT}}
7373

7474
# Get local IP for phone access
7575
ip:
@@ -80,7 +80,7 @@ ip:
8080

8181
# Show build information
8282
info:
83-
@echo "🚀 Claudia - Claude Code GUI Application"
83+
@echo "🚀 Opcode - Claude Code GUI Application"
8484
@echo "Built for NixOS without Docker"
8585
@echo ""
8686
@echo "📦 Frontend: React + TypeScript + Vite"

src-tauri/Cargo.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,7 @@ name = "opcode_lib"
1717
crate-type = ["lib", "cdylib", "staticlib"]
1818

1919
[[bin]]
20-
name = "claudia"
21-
path = "src/main.rs"
22-
23-
[[bin]]
24-
name = "claudia-web"
20+
name = "opcode-web"
2521
path = "src/web_main.rs"
2622

2723
[build-dependencies]

src-tauri/src/web_main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ mod process;
77
mod web_server;
88

99
#[derive(Parser)]
10-
#[command(name = "claudia-web")]
11-
#[command(about = "Claudia Web Server - Access Claudia from your phone")]
10+
#[command(name = "opcode-web")]
11+
#[command(about = "Opcode Web Server - Access Opcode from your phone")]
1212
struct Args {
1313
/// Port to run the web server on
1414
#[arg(short, long, default_value = "8080")]
@@ -25,7 +25,7 @@ async fn main() {
2525

2626
let args = Args::parse();
2727

28-
println!("🚀 Starting Claudia Web Server...");
28+
println!("🚀 Starting Opcode Web Server...");
2929
println!("📱 Will be accessible from phones at: http://{}:{}", args.host, args.port);
3030

3131
if let Err(e) = web_server::start_web_mode(Some(args.port)).await {

src-tauri/src/web_server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,6 @@ pub async fn create_web_server(port: u16) -> Result<(), Box<dyn std::error::Erro
704704
pub async fn start_web_mode(port: Option<u16>) -> Result<(), Box<dyn std::error::Error>> {
705705
let port = port.unwrap_or(8080);
706706

707-
println!("🚀 Starting Claudia in web server mode...");
707+
println!("🚀 Starting Opcode in web server mode...");
708708
create_web_server(port).await
709709
}

web_server.design.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Claudia Web Server Design
1+
# Opcode Web Server Design
22

3-
This document describes the implementation of Claudia's web server mode, which allows access to Claude Code from mobile devices and browsers while maintaining full functionality.
3+
This document describes the implementation of Opcode's web server mode, which allows access to Claude Code from mobile devices and browsers while maintaining full functionality.
44

55
## Overview
66

@@ -99,7 +99,7 @@ Claude Process → Rust Backend → WebSocket → Browser DOM Events → UI Upda
9999
## File Structure
100100

101101
```
102-
claudia/
102+
opcode/
103103
├── src-tauri/src/
104104
│ └── web_server.rs # Main web server implementation
105105
├── src/

0 commit comments

Comments
 (0)