Internals
App map
Routes, layouts, shared modules, and Content collections in the Nuxt app.
Living notes for builders. Paths and names may change as the app evolves.
High-level routes
| Path | Purpose | Auth |
|---|---|---|
/ | Marketing landing | Public |
/pricing | Team plan + forever-free tools | Public |
/boolean | Public Boolean generator (browser-local history for guests) | Public |
/linkedin | Feature landing — LinkedIn panel (Team) | Public |
/google-xray | Feature landing — Google SERP workspace panel (Team) | Public |
/visited | Feature landing — SERP visit timestamps (forever free) | Public |
/privacy | Privacy policy (placeholder until legal review) | Public |
/terms | Terms of service (placeholder until legal review) | Public |
/docs, /docs/** | This documentation | Public |
/login, /signup, /confirm | Auth flows | Public |
/app, /app/** | Dashboard | Required |
/app/boolean | Workspace Boolean generator | Required |
/app/boolean/history | Workspace Boolean history (Mine/Team) | Required |
Supabase redirect options only include /app(/*)?, so marketing, docs, pricing, feature landings, and /boolean stay public.
Layouts
| Layout | Used by |
|---|---|
default | Landing (/), pricing, feature landings, public Boolean — header, main, footer |
docs | Documentation — docs header, sidebar, footer, search |
auth | Login / signup / confirm |
dashboard | Authenticated /app shell (includes Boolean in primary nav) |
Content collections
Configured in apps/modri/content.config.ts:
content— landing page data fromapps/modri/content/index.ymlpricing— pricing page data fromapps/modri/content/pricing.ymlfeatures—/linkedin,/google-xray,/visitedYAML pagesdocs— markdown underapps/modri/content/docs/**(this site)
Internal product/GTM notes in the repo-root docs/ folder are not published here.
Key directories
apps/modri/ Nuxt 4 web app (@sourcing/modri)
app/ Pages, layouts, components
content/ Nuxt Content (landing YAML + docs markdown)
server/ Nitro API routes
apps/modri-extension/ WXT Chrome extension (LinkedIn + Google SERP)
shared/
boolean/ Pure Boolean string generator (web + tests)
contact/ LinkedIn URL canonicalization shared with extension
ui/ Theme tokens / brand used by web + extension
supabase/ Migrations and config
docs/ Internal (unpublished) product & technical notes
ui/ Shared Vue UI pieces (e.g. ActivityTimeline) imported by extension
Feature entry points (builders)
| Feature | Web | Extension | Shared logic |
|---|---|---|---|
| Boolean search | /boolean, /app/boolean, /app/boolean/history, apps/modri/app/components/boolean/ | — (copy X-ray → Google) | shared/boolean/generate.ts |
| LinkedIn profile memory | Dashboard contacts | entrypoints/linkedin.content/ | shared/contact/linkedinUrl.ts |
| Google X-ray SERP panel | — | entrypoints/google.content/ | Same URL helpers + apps/modri-extension/contact/ |
See Extension and Boolean search for implementation notes.