How mr-b34n/indieg works
Ludon is a gaming social network combining a social feed, community forums, game discovery, and player tools. The usual journey starts with sign-in, then moves through feed or discovery into posts, communities, or game hubs; users can also find squads, personalize profiles, search, and manage notifications and saved content. The UI is organized by feature, backed by shared API/query and state layers. Several feature internals were not sampled, so their documented capabilities are shown without assuming unobserved call chains.
Main entry points: useAuthStore.ts Authentication · upload-service.ts Image upload pipeline · client.ts HTTP client · App.tsx Application shell
Components 24
App entry
- Application shell
src/App.tsx - Route tree
src/routeTree.gen.ts - Authentication
src/features/auth/store/useAuthStore.ts
Social spaces
- Feed and posts
src/features/feed/components/FeedList.tsx - Post interactions
src/features/post/components/Post.tsx - Community hub
src/features/community/components/hub/CommunityDetailPage.tsx - Safety reports
src/features/report/components/ReportModal.tsx - Saved content
src/features/bookmark/components/BookmarkList.tsx
Gaming and identity
- Explore
src/features/explore/components/ExplorePage.tsx - Game hub
src/features/game/components/GameDetail.tsx - Squad matching
src/features/squad/components/SquadList.tsx - Player profiles
src/features/profile/components/UserProfile.tsx - Global search
src/features/search/components/SearchResultsPage.tsx
Shared platform
- Notifications
src/features/notification/components/NotificationDropdown.tsx - Account settings
src/features/settings/components/SettingsPage.tsx - Query orchestration
src/shared/api/useQueries.ts - API operations
src/shared/api/index.ts - HTTP client
src/shared/api/client.ts - Image upload pipeline
src/shared/services/upload-service.ts - Image processing
src/shared/utils/image-processor.ts - Theme and language
src/shared/store/useThemeStore.ts
Other components
- Player
- Ludon backend
- Cloudflare R2
Connections 27
- Player → Application shell: uses
- Application shell → Authentication: initializes
src/App.tsx - Application shell → Route tree: provides
src/App.tsx - Route tree → Global search: routes to
- Player → Authentication: signs in
- Player → Feed and posts: reads and posts
- Player → Post interactions: interacts
- Player → Community hub: joins and discusses
- Player → Explore: discovers
- Player → Game hub: explores games
- Player → Squad matching: finds teammates
- Player → Player profiles: customizes
- Player → Global search: searches
- Player → Notifications: checks
- Player → Saved content: saves content
- Player → Safety reports: reports content
- Player → Account settings: configures account
- Authentication → API operations: uses
src/features/auth/store/useAuthStore.ts - Authentication → HTTP client: refreshes tokens
src/features/auth/store/useAuthStore.ts - Authentication → Theme and language: checks language
src/features/auth/store/useAuthStore.ts - Query orchestration → API operations: invokes operations
src/shared/api/useQueries.ts - API operations → HTTP client: sends requests
src/shared/api/index.ts - HTTP client → Ludon backend: calls API
src/shared/api/client.ts - Image upload pipeline → Image processing: processes images
src/shared/services/upload-service.ts - Image upload pipeline → HTTP client: requests upload URL
src/shared/services/upload-service.ts - Image upload pipeline → Cloudflare R2: uploads directly
src/shared/services/upload-service.ts - Image upload pipeline → Ludon backend: confirms upload
src/shared/services/upload-service.ts