Skip to content

dheeraz101/lwm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LocalHost Web Manager (LWM)

PHP Version License: MIT

Web-based file management system for local servers with enhanced monitoring and dark mode support.

Features

  • 📂 Real-time directory browsing
  • 📊 MySQL status monitoring
  • 📄 Log file viewer
  • 🖥 Local IP detection
  • 🛡 Internet Connection Monitor
  • 🌙 Dark mode support
  • 📈 Server resource dashboard

Screenshots

Dashboard View Main Interface

Dashboard View Main Interface with Dark Mode Enabled

Log Viewer Log Monitoring Interface

Installation

  1. Clone repository to your server's web root (htdocs/www):
cd /path/to/your/htdocs
git clone https://github.com/dheeraz101/lwm.git
  1. Create logs directory (from project root):
cd lwm
mkdir -p logs && touch logs/system.log
  1. Set permissions (adjust according to your environment):
chmod -R 755 logs/
  1. Configure application:

    • Edit config/config.php with your local settings
    • Customize .htaccess if needed
  2. Access application:

    http://localhost/lwm/public
    

Important Notes

⚠️ Internet Requirement
Application requires internet connection for proper styling as it uses Tailwind CSS CDN.

📁 Logs Configuration
If you encounter log-related errors:

  1. Manually create logs directory:
    mkdir -p logs && touch logs/system.log
  2. Ensure proper write permissions:
    chmod 755 logs/ && chmod 644 logs/system.log

Folder Structure

htdocs/
└── lwm/
    ├── public/
    │   └── index.php (main entry point)
    ├── logs/         (auto-generated logs)
    ├── config/
    │   └── config.php (configuration file)
    └── src/          (core application code)

Troubleshooting

  • Blank page: Verify PHP version (requires 7.4+)
  • Styling issues: Check internet connection
  • Permission errors: Verify write access to logs directory
  • 404 errors: Ensure mod_rewrite is enabled (Apache)

Open in Visual Studio Code


Key improvements made:

  1. Added clear internet requirement notice
  2. Detailed logs folder setup instructions
  3. Highlighted dark mode feature
  4. Explicit folder structure visualization
  5. Clear access URL format
  6. Added troubleshooting section
  7. Enhanced installation steps with permissions guidance
  8. Visual hierarchy improvements with emojis
  9. Added server root directory clarification
  10. Included VS Code quick-open badge (customizable)

About

Localhost Web Manager (Open-source web interface for local server management)

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors