FolkJS collaborative canvas with subdomain routing for community spaces
Go to file
Jeff Emmett 831c8b1c24 feat: refactor rSocials from monolith to full rApp
Decompose the 2,116-line mod.ts into a canonical rApp matching the
rFlows/rBooks pattern with Automerge sync, web components, and
extracted CSS.

New files:
- schemas.ts: SocialsDoc, ThreadData, Campaign types + Automerge schema
- local-first-client.ts: browser-side sync client
- lib/types.ts: shared types, DEMO_FEED, PLATFORM_LIMITS
- lib/image-gen.ts: server-only fal.ai + file upload helpers
- components/folk-thread-builder.ts: compose/preview/readonly component
- components/folk-thread-gallery.ts: thread listing grid component
- components/folk-campaign-manager.ts: campaign viewer with import modal
- components/socials.css: all extracted CSS (~550 lines)

mod.ts slimmed to ~616 lines: ensureDoc, image APIs, page routes
injecting <folk-*> web components, file→Automerge migration, seed
template, and module export. Thread/campaign CRUD moved from REST
to Automerge local-first sync.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 20:42:18 -08:00
backlog feat: inline config panel for rFlows elements with tabbed Config/Analytics/Alloc 2026-03-04 18:03:09 -08:00
db Add rSplat module — Gaussian splat viewer with x402 gated uploads 2026-02-21 20:55:45 +00:00
deploy/twenty-crm fix: disable Twenty multi-workspace to prevent subdomain redirect loop 2026-03-04 20:23:57 -08:00
docs feat: layered local-first data architecture — encrypted backup, relay persistence, at-rest encryption 2026-03-02 17:09:07 -08:00
lib refactor: complete rfunds → rflows rename across configs and references 2026-03-03 19:13:14 -08:00
modules feat: refactor rSocials from monolith to full rApp 2026-03-04 20:42:18 -08:00
public/.well-known fix: change WebAuthn RP ID from jeffemmett.com to rspace.online 2026-02-18 14:32:57 -07:00
scripts feat: Transak credit card → USDC fiat on-ramp for rFunds TBFF 2026-03-02 18:04:53 -08:00
server chore: remove rDocs and rDesign from module registry 2026-03-04 19:36:10 -08:00
shared fix: defer tab bar active state until switchTo() resolves 2026-03-04 19:32:38 -08:00
src feat: add unified notification system with real-time WS delivery 2026-03-03 18:59:09 -08:00
types fix: resolve all TypeScript build errors across modules 2026-02-23 19:42:44 -08:00
website feat: redesign canvas toolbar with fluid expand and 9-group layout 2026-03-04 20:13:19 -08:00
.dockerignore fix: make Docker build self-contained with local context 2026-02-16 18:51:24 -07:00
.gitignore refactor: rename module directories to match r-prefixed module IDs 2026-02-28 19:49:26 -08:00
Dockerfile fix: copy src/ directory into Docker image for notification module 2026-03-03 19:45:13 -08:00
Dockerfile.encryptid fix: add notification-service to encryptid Docker image 2026-03-04 11:15:19 -08:00
MODULE_SPEC.md docs: add MODULE_SPEC.md with permission model and capabilities 2026-02-17 12:30:14 -07:00
ONTOLOGY.md feat: add rSchedule module — persistent cron-based job scheduling 2026-03-03 14:34:53 -08:00
bun.lock feat: add unified notification system with real-time WS delivery 2026-03-03 18:59:09 -08:00
docker-compose.encryptid.yml feat: admin dashboard with user management and delete capabilities 2026-02-28 22:30:21 -08:00
docker-compose.standalone.yml refactor: complete rfunds → rflows rename across configs and references 2026-03-03 19:13:14 -08:00
docker-compose.yml refactor: complete rfunds → rflows rename across configs and references 2026-03-03 19:13:14 -08:00
entrypoint.sh feat: Gemini AI integration + zine generator + fix Ollama network 2026-03-02 21:27:11 -08:00
package-lock.json fix: switch all module shell themes from light to dark 2026-02-24 19:42:33 -08:00
package.json feat: add unified notification system with real-time WS delivery 2026-03-03 18:59:09 -08:00
tsconfig.json fix: resolve all TypeScript build errors across modules 2026-02-23 19:42:44 -08:00
vite.config.ts feat: refactor rSocials from monolith to full rApp 2026-03-04 20:42:18 -08:00