What problem does it solve?
This skill provides a clear, quick-start path for teams to set up and begin using Trebuchet distributed actors, reducing onboarding time and avoiding common configuration pitfalls.
Core Features & Use Cases
- Guided installation: Steps for adding Trebuchet to a Swift project via Package.swift, CocoaPods, or Xcode integration.
- First actor pattern: Walkthrough to create a simple distributed actor and wire up server-client communication.
- Hands-on examples: Quick templates and configuration snippets that cover common patterns like server exposure and client resolution for local and remote calls.
- Use Case: Bootstrap a new project quickly, then scale to streaming and cloud deployment.
Quick Start
Install the Trebuchet CLI or library, initialize a new project, and follow the included examples to create and expose a basic actor.
- Install the CLI:
mint install briannadoubt/Trebuchet or build from source and copy the binary to your PATH.
- Initialize a project and run:
trebuchet dev in your project directory, then trebuchet deploy to publish.
- Create a simple actor and expose it: define a distributed actor, start the server, and resolve the actor from a client.