How smp46/pingvin-share-x works
Pingvin Share X is a self-hosted file-sharing application. A visitor or account holder creates a share, uploads files, and distributes a link; recipients access the share subject to its expiration and security settings. Reverse shares let an owner invite others to upload. Account authentication, administration, and storage/security integrations are additional product branches. The graph follows the shown frontend service calls and backend controller ownership; broader capabilities documented in the README are included, but their unsampled implementation links are left unverified.
Main entry points: prisma.service.ts Application database · auth.service.ts Authentication · oauth.service.ts OAuth identity · pages Pages and forms
Components 29
Web experience
- Pages and forms
frontend/src/pages - API client
frontend/src/services/api.service.ts - Share client
frontend/src/services/share.service.ts - Auth client
frontend/src/services/auth.service.ts - Admin pages
frontend/src/pages/admin
Sharing workflows
- Share API
backend/src/share/share.controller.ts - Share management
backend/src/share/share.service.ts - File API
backend/src/file/file.controller.ts - File handling
backend/src/file/file.service.ts - File providers
backend/src/file - Reverse-share API
backend/src/reverseShare/reverseShare.controller.ts - Reverse-share management
backend/src/reverseShare/reverseShare.service.ts
Identity and accounts
- Authentication API
backend/src/auth/auth.controller.ts - Authentication
backend/src/auth/auth.service.ts - TOTP authentication
backend/src/auth/authTotp.service.ts - OAuth API
backend/src/oauth/oauth.controller.ts - OAuth identity
backend/src/oauth/oauth.service.ts - OAuth providers
backend/src/oauth/provider - LDAP authentication
backend/src/auth/ldap.service.ts - User API
backend/src/user/user.controller.ts - User management
backend/src/user/user.service.ts
Administration and services
- Configuration API
backend/src/config/config.controller.ts - Configuration
backend/src/config/config.service.ts - Admin notices
backend/src/adminNotice - Application database
backend/src/prisma/prisma.service.ts - ClamAV scanner
backend/src/clamscan/clamscan.service.ts - Email service
backend/src/email/email.service.ts
Other components
- Visitor
- Account holder
Connections 34
- Visitor → Pages and forms: uses
README.md - Account holder → Pages and forms: uses
README.md - Pages and forms → Share client: requests shares
- Pages and forms → Auth client: requests authentication
- Share client → API client: sends requests
frontend/src/services/share.service.ts - Auth client → API client: sends requests
frontend/src/services/auth.service.ts - Share client → Share API: calls share routes
frontend/src/services/share.service.ts - Auth client → Authentication API: calls auth routes
frontend/src/services/auth.service.ts - Share API → Share management: delegates to
backend/src/share/share.controller.ts - File API → File handling: delegates to
backend/src/file/file.controller.ts - Reverse-share API → Reverse-share management: delegates to
backend/src/reverseShare/reverseShare.controller.ts - Share management → Application database: reads and writes
backend/src/share/share.service.ts - Reverse-share management → Application database: reads and writes
- File handling → File providers: stores files
backend/src/file/file.controller.ts - File handling → ClamAV scanner: scans uploads
- File providers → Application database: stores metadata
- Authentication API → Authentication: delegates to
backend/src/auth/auth.controller.ts - Authentication API → TOTP authentication: delegates TOTP
backend/src/auth/auth.controller.ts - Authentication → LDAP authentication: authenticates through
backend/src/auth/auth.service.ts - Authentication → User management: uses account service
backend/src/auth/auth.service.ts - Authentication → Application database: reads and writes
backend/src/auth/auth.service.ts - TOTP authentication → Authentication: uses auth service
backend/src/auth/authTotp.service.ts - OAuth API → OAuth identity: delegates to
backend/src/oauth/oauth.controller.ts - OAuth identity → Authentication: registers users
backend/src/oauth/oauth.service.ts - OAuth identity → Application database: reads and writes
backend/src/oauth/oauth.service.ts - OAuth identity → OAuth providers: uses providers
backend/src/oauth/oauth.service.ts - User API → User management: delegates to
backend/src/user/user.controller.ts - User management → Application database: reads and writes
- Admin pages → Configuration API: manages settings
- Admin pages → User API: manages accounts
- Configuration API → Configuration: delegates to
backend/src/config/config.controller.ts - Configuration → Application database: reads and writes
backend/src/config/config.service.ts - Admin notices → Application database: persists notices
- Email service → Account holder: sends notifications