How ki-repos/bytes-2-share works
@BYTE is a Django app for sharing files among devices on a local Wi-Fi network. A device reaches the Django routes, which dispatch to views for registration, upload, listing, download, and deletion; the views use file metadata and the configured local media store. The README also advertises resumable chunked uploads and QR access, but the sampled upload view shows a standard file upload and no QR implementation, so those capabilities are shown as documented rather than verified. The graph reflects only sampled source and README evidence.
Main entry points: views.py Request workflows · models.py Shared file metadata · wsgi.py Django entry · urls.py Project routes
Components 14
Web interface
- Upload progress UI
fileshare/static/fileshare/js/upload.js - Page templates
fileshare/templates/fileshare - QR access
fileshare
File workflows
- Request workflows
fileshare/views.py - Resumable transfers
fileshare
Identity and routing
- Django entry
localshare/wsgi.py - Project routes
localshare/urls.py - App routes
fileshare/urls.py - Registration form
fileshare/forms.py - Django authentication
Persistence
- Shared file metadata
fileshare/models.py - SQLite metadata store
db.sqlite3 - Local file store
localshare/settings.py
Other components
- Wi-Fi device
Connections 13
- Wi-Fi device → Django entry: sends requests
README.md - Django entry → Project routes: loads routes
localshare/urls.py - Project routes → App routes: includes routes
localshare/urls.py - App routes → Request workflows: dispatches requests
fileshare/urls.py - Request workflows → Registration form: validates registration
fileshare/views.py - Request workflows → Django authentication: uses authentication
fileshare/views.py - Request workflows → Shared file metadata: creates and queries
fileshare/views.py - Request workflows → Page templates: renders pages
fileshare/views.py - Shared file metadata → SQLite metadata store: stores metadata
- Shared file metadata → Local file store: stores uploaded files
localshare/settings.py - Upload progress UI → Request workflows: posts upload
fileshare/static/fileshare/js/upload.js - Wi-Fi device → Resumable transfers: can transfer
README.md - Wi-Fi device → QR access: can access by QR
README.md