Local testing solution for the whole rokojori network
A local dev setup that runs all services together: rokojori-auth, styles, tunnel,
and roject. Needs hosts file entries for *.local.rokojori.com subdomains so auth
cookies flow correctly, per-service .env.local files pointing at each other, and
a startup script to launch everything at once. Optionally a local reverse proxy
(Caddy) to avoid port numbers in URLs. Currently, the Electron app is the preferred
workaround for local testing since it injects auth headers directly.
Local Git Repository Integration
Git integration inside the editor: file status indicators in the tree, staging,
commit, push, pull, diffs, and history. Depends on local filesystem access.
Once Roject can open an arbitrary local directory, the git repo is already there.
Implementation via simple-git (thin Node.js wrapper around the git CLI).
Reactive one-retry-on-401 fallback for token refresh
Considered as part of the auth-update central Token Updater work and deliberately
not built: when a call 401s in the narrow window right after the access token
expired but before the next proactive refresh tick, retry it once after triggering
a refresh, instead of failing immediately. Skipped for now to keep the guarded-call
path simple (calls only care whether access is valid, nothing else); revisit if the
5-minute proactive refresh interval turns out to leave a real-world gap.
Real-Time Multi-User Collaboration
Multiple users editing the same file simultaneously with presence indicators
and conflict resolution. Likely via operational transforms or CRDTs.
Significant architecture work; not planned for the near term.
Mobile App (PWA first, native shell later)
Make Roject usable on a phone or tablet. Quickest path: PWA with a manifest
and service worker — works in Safari and Chrome on Android and iOS without an
app store. If native capabilities are later needed, Capacitor can wrap the same
web app. A React Native or Flutter rewrite is not planned.
The realistic mobile workflow is browsing files, reading output, and light edits
rather than heavy coding.