How rachit-mangawa/os_project_file_system_and_file_management works
This is a local, browser-based sandbox file manager with an integrated command terminal. Users navigate the storage tree, browse or search files, inspect metadata, edit and transfer files, or issue terminal commands; the FastAPI backend routes these actions to filesystem logic operating inside storage/. The README documents additional UI capabilities whose JavaScript implementation was not sampled, so those are represented at the interface level. Edges are limited to relationships shown in excerpts or documented in the README.
Main entry points: main.py FastAPI routes · storage Sandbox files · terminal.py Terminal operations · index.html File manager UI
Components 14
Browser interface
- File manager UI
index.html
HTTP backend
- FastAPI routes
main.py - Browse and tree
main.py - File actions
main.py - Name search
main.py - Item properties
main.py - Command endpoint
main.py
Terminal commands
- Command dispatch
terminal.py - Terminal operations
terminal.py
Filesystem services
- Safe path resolver
fs.py - Metadata and allocation
fs.py - Directory tree builder
fs.py
Sandbox data
- Sandbox files
storage
Other components
- User
Connections 22
- User → File manager UI: uses
README.md - File manager UI → FastAPI routes: sends requests
README.md - FastAPI routes → File manager UI: serves
main.py - FastAPI routes → Browse and tree: routes listing
main.py - FastAPI routes → File actions: routes file actions
main.py - FastAPI routes → Name search: routes search
main.py - FastAPI routes → Item properties: routes properties
main.py - FastAPI routes → Command endpoint: routes commands
main.py - Command endpoint → Command dispatch: invokes handler
main.py - Command dispatch → Terminal operations: dispatches commands
terminal.py - FastAPI routes → Safe path resolver: resolves paths
main.py - FastAPI routes → Metadata and allocation: gets item info
main.py - FastAPI routes → Directory tree builder: builds tree
main.py - Terminal operations → Safe path resolver: resolves paths
terminal.py - Terminal operations → Sandbox files: reads and modifies
terminal.py - Safe path resolver → Sandbox files: confines paths
fs.py - Metadata and allocation → Sandbox files: reads stat data
fs.py - Directory tree builder → Sandbox files: scans entries
fs.py - Browse and tree → Sandbox files: lists directory
main.py - Name search → Sandbox files: scans names
main.py - File actions → Sandbox files: reads and modifies
main.py - Item properties → Sandbox files: reads item
main.py