How mendeo/web-shared-folder works
web-shared-folder serves a configured directory or static site through a browser interface. The main path is client request → server authentication and routing → directory listing or file delivery; with uploads enabled, clients can also upload and manage files. The README documents HTTPS, per-user folder restrictions, themes, localization, and clustering. Most server behavior is concentrated in server.js; because its excerpt is partial, the graph omits uncertain internal call relationships.
Main entry points: server.js Request handling · index.js Browser interactions · index.html Web pages · en-US.json Language resources
Components 19
Server entry
- Server startup
server.js - Request handling
server.js
Shared content
- Directory browsing
server.js - Static site serving
server.js - File download
server.js - Upload and file management
server.js - ZIP operations
server.js - Shared filesystem
- JSZip library
Access and transport
- User authentication
server.js - Session management
server.js - HTTPS and redirect
server.js - Cluster workers
server.js - TLS credentials
Web interface
- Browser interactions
app_files/index.js - Web pages
app_files/index.html - Language resources
app_files/locale/en-US.json
Other components
- Server operator
- Browser user
Connections 24
- Server operator → Server startup: configures and starts
- Server startup → Request handling: starts serving
- Browser user → Request handling: sends requests
- Request handling → User authentication: checks access
- User authentication → Session management: uses sessions
- Request handling → Directory browsing: dispatches browsing
- Request handling → Static site serving: dispatches site requests
- Request handling → File download: dispatches downloads
- Request handling → Upload and file management: dispatches changes
- Directory browsing → Shared filesystem: reads entries
- Static site serving → Shared filesystem: reads site files
- File download → Shared filesystem: reads files
- Upload and file management → Shared filesystem: writes files
- ZIP operations → Shared filesystem: reads and extracts
- Upload and file management → ZIP operations: requests extraction
- ZIP operations → JSZip library: uses
- Server startup → HTTPS and redirect: configures secure service
- HTTPS and redirect → TLS credentials: loads credentials
- Server startup → Cluster workers: starts workers
- Cluster workers → Session management: synchronizes sessions
- Request handling → Web pages: serves interface
- Browser user → Browser interactions: runs scripts
- Browser interactions → Request handling: submits actions
- Request handling → Language resources: serves language data