@timeback/sdk package provides server and browser integration primitives for Timeback:
- Server adapters for handling authentication and API routes
- Client adapters for React, Vue, Svelte, and Solid
- Custom Activities for tracking your own learning content
- Managed Lessons for delivering Timeback-powered assessments
- Direct API access through the composed clients included in your SDK version
AI-assisted implementation
You can pair the SDK docs with focused skills for faster, reviewable implementation. Use the AI Skills page as the canonical skill catalog. In most cases, run/timeback-integrate and let it invoke layer skills as needed.
For focused tasks, you can still run:
/timeback-clientfor client-side implementation/timeback-serverfor server-side implementation
Architecture
The SDK has two main components:Server
Handles authentication, SSO callbacks, and API proxying. Runs on your backend.
Client
Provides contexts, hooks, stores, and activity/lesson APIs. Your app owns the UI and content renderer. Runs in the browser.
Choose your path
The SDK supports two integration paths for learning content. Which one you use depends on who owns the content and learning logic.Custom Activities
You own your content. The SDK tracks time and reports completion metrics to Timeback.
Managed Lessons
Timeback runs the lesson engine. You render the UI and the SDK handles questions, scoring, and time tracking.
Next steps
Server Adapters
Set up server-side integration
Client Adapters
Add client-side components
Identity
Configure authentication
Custom Activities
Track your own learning content
AI Skills
Use setup, client, and server skills from one canonical page