A simple, secure web-based file manager built with Rust and Actix-Web.
Supports login authentication, file upload, download, preview, and delete operations β all inside a modern UI styled with TailwindCSS.
- π Admin Login with session-based authentication
- π Directory Listing (navigable with back button)
- β¬οΈ File Uploads to any folder
- β¬οΈ File Downloads
- π File Preview (images, videos, audio, text, HTML)
- π File & Folder Delete
- β³ Failed login attempt lockout (3 tries β 30 min block) (optional)
- π¨ Responsive UI using TailwindCSS + FontAwesome
- Rust (Backend)
- Actix-Web (Web framework)
- Actix-Session (Authentication)
- Actix-Files (Static file serving)
- TailwindCSS (UI)
- FontAwesome (Icons)
Default upload directory static UPLOAD_DIR: &str = "C:\Users\ANKIT\Desktop\"; //Update path
Admin credentials static USERNAME: &str = "admin"; // Change username static PASSWORD: &str = "1234"; //Change Password
git clone https://github.com/ankit78v/rust-file-manager.git
cd rust-file-manager
//Install Dependencies
rustup update
// Run Server
cargo run