How uvsax/px4x works
PX4X is an Arabic, multi-user presentation and document manager. A user signs in, uploads and manages private files, previews them through an online viewer, or creates public share links. The backend also supports optional Google OAuth. The excerpts show FastAPI routes, SQLite access, file handling, and static UI mounting; the frontend implementation and some route bodies were not sampled, so UI-to-API interactions are marked unverified.
Main entry points: app.py FastAPI application · index.html Arabic web UI
Components 14
Web interface
- Arabic web UI
static/index.html - FastAPI application
app.py - Privacy page
app.py
Identity and accounts
- Account sessions
app.py - Google OAuth
app.py - SQLite records
app.py
File management
- File upload
app.py - Private file library
app.py - Uploaded files
app.py
Preview and sharing
- Viewer access tokens
app.py - Public share links
app.py
Other components
- User
- Google identity
- Microsoft viewer
Connections 19
- User → Arabic web UI: uses
README.md - FastAPI application → Arabic web UI: serves
app.py - Arabic web UI → FastAPI application: calls API
- FastAPI application → Account sessions: routes auth
app.py - Account sessions → SQLite records: reads/writes
app.py - FastAPI application → Google OAuth: routes OAuth
app.py - Google OAuth → Google identity: requests identity
app.py - Google OAuth → SQLite records: finds/creates user
app.py - FastAPI application → File upload: routes upload
app.py - File upload → Uploaded files: stores files
README.md - FastAPI application → Private file library: routes file actions
app.py - Private file library → Uploaded files: lists/reads/deletes
app.py - FastAPI application → Viewer access tokens: issues tokens
app.py - Viewer access tokens → Uploaded files: authorizes file fetch
app.py - Viewer access tokens → Microsoft viewer: provides viewer URL
README.md - FastAPI application → Public share links: routes sharing
app.py - Public share links → SQLite records: reads share records
app.py - Public share links → Uploaded files: serves shared file
app.py - FastAPI application → Privacy page: serves page
app.py