Skip to content

851-labs/opencode-pocket

Repository files navigation

opencode-pocket

Native SwiftUI client for a headless OpenCode server.

  • macOS: managed local server connection.
  • iOS: remote server connection flow.

This is a community project and is not affiliated with or built by the OpenCode team.

Stack

  • SwiftUI app target
  • Handwritten OpenCode HTTP client (REST + SSE)
  • No OpenAPI codegen

Server compatibility

  • Built and tested against OpenCode server v1.1.65

Quick start

  1. Generate project files.
xcodegen generate
  1. Open the project.
open OpenCodePocket.xcodeproj
  1. Build and run on an iOS 26+ simulator.

Included API surface

  • GET /global/health
  • Session CRUD
  • Session messages list/get/send
  • POST /session/:id/prompt_async
  • POST /session/:id/abort
  • GET /event SSE stream

Security

  • Optional Basic Auth support
  • Password persisted in Keychain
  • ATS exception for claudl.taile64ce5.ts.net to permit HTTP for local network use

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages