How dash2100/uploader works
Uploader is a Flask-based file-sharing server: users browse shared files, preview or download them, while administrators upload and manage files and sharing settings. The sampled UI also exposes search, multi-file ZIP downloads, short-link controls, and a bundled PDF viewer. Runtime implementation is concentrated in main.py, with SQLite initialization separated into App/sql_init.py. Some routes and template wiring are omitted from the excerpts, so uncertain connections are left out.
Main entry points: main.py Flask routes · admin.js Admin UI · index.js Preview controls · viewer.js PDF viewer
Components 17
Web workflows
- Flask routes
main.py - Shared file UI
static/index.js - Page templates
templates
File management
- Admin UI
static/admin.js - Upload UI
static/upload.js - Quick upload
static/QuickUP/quickup.js - Admin login
main.py - File operations
main.py - Sharing and links
main.py
Persistence
- Schema setup
App/sql_init.py - SQLite database
- Uploaded files
Preview assets
- Preview controls
static/index.js - PDF viewer
static/PDF_Viewer/viewer.js - File password UI
static/file_password/script.js
Other components
- Visitor
- Administrator
Connections 18
- Visitor → Shared file UI: browses files
README.md - Administrator → Admin UI: manages files
README.md - Shared file UI → Flask routes: requests downloads
static/index.js - Preview controls → Flask routes: requests previews
static/index.js - Flask routes → Uploaded files: serves files
main.py - Flask routes → SQLite database: reads and updates
main.py - Schema setup → SQLite database: creates schema
App/sql_init.py - Admin UI → Flask routes: manages sharing
static/admin.js - Upload UI → Flask routes: uploads files
static/upload.js - Quick upload → Flask routes: uploads files
static/QuickUP/quickup.js - Flask routes → Admin login: requires login
main.py - Flask routes → Page templates: renders pages
main.py - Admin UI → PDF viewer: opens PDF preview
- Preview controls → PDF viewer: opens PDF preview
static/index.js - Admin UI → Sharing and links: sets links
static/admin.js - Flask routes → Sharing and links: handles link state
main.py - Flask routes → File operations: handles file actions
main.py - File password UI → Flask routes: checks file password