How gendotnew/attempt works
Learn Anything is a web application for organizing knowledge, exploring topic connections, and curating learning paths. The user-facing map includes landing-page graph exploration, topic and search routes, authentication, and a protected personal workspace for pages, links, tasks, journals, and learning topics. The workspace schema models user-owned content; two rich-text editor implementations provide editing capabilities. Evidence is limited to the README, tree, and sampled files, so only visible route wiring and sampled editor dependencies are linked; unsampled feature-to-data flows are left unasserted.
Main entry points: routeTree.gen.ts Route Registry · use-la-editor.ts La Editor Hook · client.tsx Web Client · router.tsx Application Router
Components 19
Web Navigation
- Web Client
web/app/client.tsx - Application Router
web/app/router.tsx - Route Registry
web/app/routeTree.gen.ts - Sign In / Up
web/app/routes/_layout/(auth)/_auth.sign-in.$.tsx
Knowledge Exploration
- Knowledge Landing
web/app/routes/_layout/(landing)/index.tsx - Topic Force Graph
web/app/routes/_layout/(landing)/-components/force-graph-client.tsx - Topic Pages
web/app/routes/_layout/_pages/(topic)/$.tsx - Topic Search
web/app/routes/_layout/_pages/search/index.tsx
Personal Workspace
- Protected Workspace
web/app/routes/_layout/_pages/_protected - Personal Content
web/app/routes/_layout/_pages/_protected/pages - Links and Tasks
web/app/routes/_layout/_pages/_protected/links - Journals and Topics
web/app/routes/_layout/_pages/_protected/journals - User Data Model
web/app/lib/schema/index.ts
Rich Text Editing
- La Editor Hook
web/shared/editor/hooks/use-la-editor.ts - Editor File Handler
web/shared/editor/extensions/file-handler/index.ts - Minimal Tiptap UI
web/shared/minimal-tiptap/minimal-tiptap.tsx - Editor Utilities
web/shared/editor/lib/utils/index.ts - Image Actions
web/shared/actions.ts
Other components
- Visitor
Connections 12
- Visitor → Web Client: opens
- Web Client → Application Router: creates
web/app/client.tsx - Application Router → Route Registry: uses
web/app/router.tsx - Route Registry → Knowledge Landing: routes to
web/app/routeTree.gen.ts - Route Registry → Sign In / Up: routes to
web/app/routeTree.gen.ts - Route Registry → Topic Pages: routes to
web/app/routeTree.gen.ts - Route Registry → Topic Search: routes to
web/app/routeTree.gen.ts - Knowledge Landing → Topic Force Graph: renders
- La Editor Hook → Editor File Handler: configures
web/shared/editor/hooks/use-la-editor.ts - La Editor Hook → Editor Utilities: uses
web/shared/editor/hooks/use-la-editor.ts - La Editor Hook → Image Actions: calls
web/shared/editor/hooks/use-la-editor.ts - Minimal Tiptap UI → Editor Utilities: uses