How muink/luci-app-tinyfilemanager works
LuCI Tiny File Manager embeds a web-based file manager in LuCI and provides configuration and maintenance controls. The principal workflow is opening the LuCI page, loading the manager through its web route, and managing files in the browser; optional LuCI-session auto-login validates the session through ubus. The README documents file operations, uploads, text editing with syntax highlighting, multi-user access, and online document viewers. The manager archive and service scripts are present, but their internals were not sampled, so their detailed wiring is omitted.
Main entry points: index.tgz Tiny File Manager · config.js Settings page · luci-app-tinyfilemanager.json LuCI menu entry · main.js Manager iframe
Components 16
LuCI interface
- LuCI menu entry
root/usr/share/luci/menu.d/luci-app-tinyfilemanager.json - Manager iframe
htdocs/luci-static/resources/view/tinyfilemanager/main.js - Settings page
htdocs/luci-static/resources/view/tinyfilemanager/config.js
File manager
- Web route
root/etc/nginx/conf.d/tinyfilemanager.locations - Tiny File Manager
htdocs/tinyfilemanager/index.tgz - File operations
htdocs/tinyfilemanager/index.tgz - File uploads
htdocs/tinyfilemanager/index.tgz - Text editor
htdocs/tinyfilemanager/index.tgz - Online viewers
htdocs/tinyfilemanager/index.tgz - Session auto-login
root/usr/share/tinyfilemanager/auto-login-base-luci.php
Configuration
- Tiny File Manager settings
root/etc/config/tinyfilemanager
Maintenance
- Service controls
root/etc/init.d/tinyfilemanager - Updater
root/usr/libexec/tinyfilemanager-update - Config save helper
root/usr/libexec/tinyfilemanager-config-save
Other components
- Router user
- LuCI session service
Connections 15
- Router user → LuCI menu entry: opens
- LuCI menu entry → Manager iframe: opens page
- Manager iframe → Web route: loads iframe
- Web route → Tiny File Manager: routes requests
- Tiny File Manager → File operations: supports
- Tiny File Manager → File uploads: supports
- Tiny File Manager → Text editor: supports
- Tiny File Manager → Online viewers: supports
- Tiny File Manager → Session auto-login: includes integration
- Session auto-login → LuCI session service: validates session
- Router user → Settings page: configures
- Settings page → Tiny File Manager settings: loads settings
- Settings page → Service controls: requests reload
- Settings page → Service controls: checks updates
- Settings page → Updater: starts upgrade