XShow is a modern, secure file management application built with PHP and SQLite. It provides a clean, intuitive interface for managing files and folders with user authentication and admin controls. Version 2.0 introduces powerful navigation features including a collapsible folder tree sidebar and enhanced markdown editing capabilities.
-
🌲 Collapsible Folder Tree Sidebar - Visual hierarchical navigation with expandable/collapsible folders
- Recursive tree structure showing complete folder hierarchy
- Expandable folders with arrow indicators (▶/▼)
- Sticky sidebar that persists while scrolling
- Mobile-responsive with slide-out panel and toggle button
- State persistence using sessionStorage - folders stay open after navigation
- Click folder name to navigate or arrow to expand/collapse
-
📝 Create Markdown Files - Create new .md files directly from the interface
- Dedicated action card for creating markdown files
- Auto-appends
.mdextension if not provided - Seamless redirect to SimpleMDE editor after creation
- Unique autosave per file to prevent content conflicts
- 🗂️ File Management - Upload, organize, rename, move, and delete files and folders
- 👥 User Management - Admin panel for managing users and permissions
- 🔒 Secure Authentication - Session-based login with role-based access
- 📁 Advanced Navigation - Browse through folder hierarchies with tree view
- 🔍 Search Functionality - Find both files and folders quickly
- 📤 Multiple Upload - Upload multiple files simultaneously
- ✏️ Markdown Editor - Integrated SimpleMDE for editing markdown files
- 🎨 Modern UI - Responsive design with gradient themes and smooth animations
- 🛡️ Security - CSRF protection, secure sessions, file validation
- 💾 Database Storage - SQLite database for users, files, and metadata
- PHP 7.4 or higher
- PDO SQLite extension
- Web server (Apache, Nginx, etc.)
- Write permissions on the application directory
- Upload all files to your web server
- Set write permissions on the
xshowdirectory - Navigate to
install.phpin your web browser - Create your admin account during installation
- Start using XShow!
xshow/
├── config.php # Database configuration
├── auth.php # Authentication functions
├── file_manager.php # File operations
├── install.php # Installation script
├── index.php # Main file manager
├── login.php # Login page
├── admin.php # Admin panel
├── data/ # SQLite database
├── uploads/ # User files
└── README.md
XShow uses SQLite for data storage and creates the database automatically during installation. File uploads are stored in the uploads/ directory.
- Admin: Full access to user management and all files
- User: Access to file management only
- Secure session management with httponly and samesite cookies
- CSRF protection on forms
- Password hashing with bcrypt
- Directory traversal protection
- File upload validation and size limits
- Role-based access control
- Automatic database creation with proper permissions
XShow is perfect for:
- Web developers organizing project assets and files with visual tree navigation
- Small teams sharing and collaborating on files and markdown documentation
- Content creators managing web content, media, and markdown articles
- Documentation writers creating and organizing markdown-based documentation
- System administrators needing a simple file management solution
- Personal file storage with user access controls and hierarchical organization
XShow follows a modular architecture:
- config.php: Database configuration and user management
- auth.php: Authentication and session management
- file_manager.php: File operations and folder management
- install.php: One-time setup and database initialization
- index.php: Main file manager interface
- login.php: User authentication page
- admin.php: Administrative user management
Contributions are welcome! Here's how you can help:
- Fork the repository
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request
This project is licensed under the MIT License.
- Tailwind CSS for the design inspiration
- SimpleMDE for the Markdown editor
- All the amazing open-source contributors who make projects like this possible
Having trouble? Check out our documentation or open an issue.
Crafted with 🫀 by ADIRA Studio
