How drs0me1/gezgin works
Gezgin is a self-hosted web file manager. A user signs in, navigates or searches their scoped files, then previews or acts on them; the app sends requests to the Go HTTP server, which applies user permissions and file rules and uses storage or filesystem services. The README also documents separate trash, favourites, sharing/WebDAV, archive, settings, and user-management capabilities. Several backend links are evidenced by the source index; frontend-to-API wiring and unsampled feature handlers are shown only as documented, so those links are dashed.
Main entry points: http HTTP handlers · root.go Server startup · bolt Bolt database · views Views and navigation
Components 19
Web client
- Vue application
frontend/src/App.vue - Views and navigation
frontend/src/views - API clients
frontend/src/api - Frontend bootstrap
frontend/src/main.ts
Server and API
- Server startup
cmd/root.go - HTTP handlers
http
File capabilities
- Scoped file access
files/file.go - Resumable uploads
http/tus_handlers.go - Archive operations
pack - File search
search/search.go - Trash lifecycle
trash/trash.go - Image previews
img/service.go - Favourites
http/favorites.go
Identity and state
- User permissions
users/storage.go - Authentication
auth/auth.go - Instance settings
settings/storage.go - Links and WebDAV
share/storage.go - Bolt database
storage/bolt
Other components
- File manager user
Connections 21
- File manager user → Vue application: uses
README.md - Frontend bootstrap → Vue application: mounts
frontend/src/main.ts - File manager user → Views and navigation: browses
README.md - Views and navigation → API clients: requests
- API clients → HTTP handlers: calls
README.md - Server startup → HTTP handlers: serves
cmd/root.go - Server startup → Instance settings: reads
cmd/root.go - HTTP handlers → Scoped file access: checks files
http/tus_handlers.go - HTTP handlers → Resumable uploads: dispatches
- HTTP handlers → User permissions: authorizes
README.md - HTTP handlers → File search: searches
README.md - HTTP handlers → Trash lifecycle: manages trash
README.md - HTTP handlers → Archive operations: handles archives
README.md - HTTP handlers → Image previews: serves previews
http/preview.go - HTTP handlers → Links and WebDAV: manages shares
README.md - HTTP handlers → Favourites: manages favourites
README.md - HTTP handlers → Authentication: authenticates
README.md - HTTP handlers → Instance settings: serves settings
README.md - Server startup → Bolt database: configures
cmd/root.go - Links and WebDAV → Bolt database: persists
- User permissions → Bolt database: persists