Skip to content

Mocked Single-Page-Applications for Evals & RL

Notifications You must be signed in to change notification settings

gaganodez/dojo-spas

 
 

Repository files navigation

Dojo Single-Page Applications (SPAs)

Curated single-page applications built with React, Vite, and a shared state layer—powering experiences on trydojo.ai.

Why Mock SPAs Matter

  • Reinforcement-learning loops need safe, deterministic sandboxes; real production apps mutate too quickly. Our mock SPAs mirror the UX of live tools like Linear without exposing private data.
  • Authentication is predictable here—agents can safely interact with environments without fretting over CAPTCHAs, SSO glitches, or expiring secrets.
  • State-setting, verification, and retrieval stay under tight control: every view reads and writes through dojo-hooks, so RL agents can rely on consistent schemas instead of chasing ever-changing production APIs.
image

Dojo Hooks

  • @chakra-dev/dojo-hooks exposes useDojoState and a global dojo helper for persisting and retrieving SPA state without wiring extra context.
  • Each app consumes these hooks to keep widgets in sync and to share state across routes or nested components.

Build a New SPA

  1. Duplicate an existing */app folder (or scaffold a fresh npm create vite@latest React app) inside this repo.
  2. Install deps with pnpm install (or npm install) and add @chakra-dev/dojo-hooks.
  3. Use useDojoState to hold the shared data you want to read/write across the experience.
  4. Run pnpm run dev while building, and pnpm run build to emit the static bundle that ships.

Bounty Board

  • Open the GitHub Issues tab and filter by the bounty label—each issue describes a SPA the team wants next.
  • Comment with your intent and wait for a maintainer to confirm assignment before you dive in.
  • Ship the SPA in a PR that links the bounty issue; include any deployment notes.
  • Once the PR merges, the maintainers close the issue with payout details so you can get paid for the contribution.

About

Mocked Single-Page-Applications for Evals & RL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.9%
  • Other 1.1%