How lompendans/eznas works
ezNAS is a self-hosted LAN NAS. The main workflow is a user managing files in the browser, with the Go server handling file operations and storage. Separate capabilities cover search, recycle-bin recovery, ZIP backups, password and request security, TLS, sharing, and verified updates. The excerpts show file, search, storage-display, and update UI requests, but omit much of the server routing and handler code; uncertain wiring is therefore not asserted as a confirmed call.
Main entry points: main.go Server and API · app.js File manager UI · shares.go Share links · updater.go Verified updater
Components 15
Web client
- File manager UI
web/app.js
NAS server
- Server and API
main.go - File operations
main.go - Name search
main.go - Recycle bin and backups
main.go - NAS storage
- Capacity reporting
storage_linux.go
Security and access
- Configuration and sessions
main.go - Request safeguards
security.go - TLS management
main.go
Shared links
- Share links
shares.go - Share records
shares.go
Maintenance
- Verified updater
updater.go - GitHub releases
Other components
- NAS user
Connections 17
- NAS user → File manager UI: manages files
README.md - File manager UI → Server and API: sends API requests
web/app.js - Server and API → File operations: dispatches requests
main.go - Server and API → Name search: dispatches requests
main.go - File operations → NAS storage: reads and writes
README.md - Name search → NAS storage: searches names
main.go - Recycle bin and backups → NAS storage: backs up and recovers
README.md - Server and API → Request safeguards: checks request origin
main.go - File manager UI → Share links: manages shares
web/app.js - Share links → Share records: persists records
shares.go - Share links → NAS storage: serves shared files
shares.go - File manager UI → Verified updater: requests installation
web/app.js - Verified updater → GitHub releases: downloads releases
updater.go - Server and API → Verified updater: routes update request
- Server and API → Recycle bin and backups: routes storage actions
main.go - File manager UI → Capacity reporting: displays capacity
web/app.js - Server and API → TLS management: configures HTTPS
README.md