How rumjer/rfiledrive works
rFiledrive is a self-hosted browser file manager and editor. A user opens the web interface, browses and manages files through server routes, and can preview or edit supported files; edits may create recoverable versions. The graph preserves the documented trash, storage, and SQLite-editing capabilities. Source excerpts show route registration and several backend calls, but not all route implementations or the full main-page wiring, so some documented browser/API relationships are dashed.
Main entry points: main.cpp HTTP server and routes · mainfunctions.cpp File operations · index.html File manager UI · liveedit.js Viewer and editor
Components 15
Browser experience
- File manager UI
index.html - Viewer and editor
liveedit.js
HTTP application
- HTTP server and routes
main.cpp
File operations
- File operations
mainfunctions.cpp - Managed files
- Trash and restore
mainfunctions.cpp - Storage insights
mainfunctions.cpp - HEIC previews
mainfunctions.cpp
Editing and recovery
- Safe saves and versions
liveedit.cpp - SQLite viewer and editor
sqlite_db.cpp - SQLite files
Runtime libraries
- HTTP library
httplib.h - JSON library
json.hpp - Image writer library
stb_image_write.h
Other components
- Browser user
Connections 20
- Browser user → File manager UI: uses
README.md - File manager UI → HTTP server and routes: requests APIs
- File manager UI → Viewer and editor: opens editor
liveedit.js - Viewer and editor → HTTP server and routes: requests file info
liveedit.js - Viewer and editor → HTTP server and routes: requests SQLite schema
liveedit.js - HTTP server and routes → HTTP library: registers routes
main.cpp - HTTP server and routes → File operations: calls file operations
main.cpp - HTTP server and routes → Trash and restore: calls trash actions
main.cpp - HTTP server and routes → Storage insights: requests storage info
main.cpp - HTTP server and routes → Safe saves and versions: registers edit routes
main.cpp - HTTP server and routes → SQLite viewer and editor: registers database routes
main.cpp - File operations → Managed files: manages files
README.md - Trash and restore → Managed files: moves and restores
- Storage insights → Managed files: measures usage
README.md - HEIC previews → Managed files: converts previews
README.md - File operations → Image writer library: includes
mainfunctions.cpp - Safe saves and versions → Managed files: saves and versions
liveedit.cpp - SQLite viewer and editor → SQLite files: reads and edits
sqlite_db.cpp - SQLite viewer and editor → Safe saves and versions: backs up edits
sqlite_db.cpp - File operations → JSON library: uses JSON