Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PC to Web

A simple PHP web app that lets you browse and manage your PC's folders (Documents, Downloads, Music, Photos, Videos, Apps) from a browser — like a mini personal file manager / media gallery.

Features

  • Browse folders with breadcrumb navigation
  • Image & video preview (lightbox viewer with keyboard controls)
  • Search and filter by type (Images / Video / Documents / Folders)
  • Copy, paste, rename, delete, and drag-and-drop move
  • Dark / light theme toggle
  • Secure file streaming with range-request (video seeking) support

Tech Stack

PHP + HTML + CSS + Vanilla JS. No database, no framework.

Project Structure

index.php        # Main UI + directory scanning
serve_file.php    # Secure file streaming (images/videos/docs)
copy.php          # Copy/paste handler
rename.php        # Rename & move handler
delete.php        # Delete handler
icon/adfd.png      # Favicon

Setup

  1. Clone into your server's web root:
    git clone https://github.com/siamhossanridoy/PC_To_Web.git
  2. Edit the folder paths in index.php ($rootDirectories) and serve_file.php (ALLOWED_ROOTS) to match your own PC's folders.
  3. Run it via XAMPP/WAMP and open http://localhost/PC_To_Web/ in your browser.

⚠️ Note

No login/authentication is built in, and it can delete/rename real files on your PC. Use it only on your local machine or trusted local network — don't expose it to the public internet.

Author

Siam Hossan Ridoy@siamhossanridoy

About

A lightweight PHP web app to browse, preview, and manage your PC's files (Documents, Photos, Videos, etc.) from any browser on your local network.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages