How sekhvolodymyr/lelekathoughts works
LelekaThoughts is a creator-focused social network. The principal workflow is a signed-in creator composing media or text, publishing it, and seeing it in feeds where people can interact; the README also documents stories, messaging, saved content, moderation, and PWA support. The sampled provider and client show state loading, authenticated mutations, Supabase RPC calls, and media storage. Several feature implementations and the app shell were not excerpted, so those connections are omitted or marked unverified. Connector runtime modules are included as a distinct internal capability; their product-facing use is not established by the README excerpts.
Main entry points: provider.tsx App state · pages.tsx Feed and pages · client.ts Supabase client · index.ts Fetch worker
Components 21
App experience
- App shell
app/components/leleka/app-shell.tsx - Feed and pages
app/components/leleka/pages.tsx - App state
app/components/leleka/provider.tsx - Offline worker
app/public/sw.js - Theme selection
app/components/leleka/theme-picker.tsx - Localization
app/lib/leleka/i18n.ts
Social features
- Composer
app/components/leleka/composer.tsx - Post interactions
app/components/leleka/post-card.tsx - Stories and series
app/components/leleka/stories.tsx - Chats
app/components/leleka/messages.tsx
Data and identity
- Sign-in and onboarding
app/components/leleka/auth.tsx - Supabase client
app/lib/leleka/client.ts - Account API
app/app/api/account/route.ts - App data schema
app/db/schema.ts - Account function
app/supabase/functions/account/index.ts - Cleanup function
app/supabase/functions/cleanup/index.ts
Request runtime
- Connector contract
app/lib/connector-contract.mts - Request binding context
app/lib/connector-context.ts - Fetch worker
app/worker/index.ts
Other components
- Creator
- Supabase services
Connections 23
- Creator → App shell: uses
README.md - App shell → Feed and pages: renders
- Feed and pages → App state: reads state
app/components/leleka/pages.tsx - Feed and pages → Post interactions: renders
app/components/leleka/pages.tsx - Feed and pages → Stories and series: renders
app/components/leleka/pages.tsx - Feed and pages → Composer: opens
app/components/leleka/pages.tsx - Composer → App state: uses state
app/components/leleka/composer.tsx - Post interactions → App state: mutates
app/components/leleka/post-card.tsx - Stories and series → App state: uses state
app/components/leleka/stories.tsx - Chats → App state: uses state
- Sign-in and onboarding → Supabase client: authenticates
app/components/leleka/auth.tsx - App state → Supabase client: loads and mutates
app/components/leleka/provider.tsx - Supabase client → Supabase services: queries and uploads
app/lib/leleka/client.ts - Supabase client → Account API: posts account action
app/lib/leleka/client.ts - Account API → Supabase services: handles account
- Account function → Supabase services: serves account
- Cleanup function → Supabase services: cleans data
- App state → Offline worker: registers worker
app/components/leleka/provider.tsx - Theme selection → App state: sets theme
app/components/leleka/theme-picker.tsx - App state → Localization: translates text
app/components/leleka/provider.tsx - Fetch worker → Request binding context: binds request
app/worker/index.ts - Fetch worker → Connector contract: uses binding type
app/worker/index.ts - Request binding context → Connector contract: stores binding
app/lib/connector-context.ts