[Open-source] Secure, Intelligent, and Beautiful File Management and Preview Tool
Open SourceReports & Dashboards
![[Open-source] Secure, Intelligent, and Beautiful File Management and Preview Tool](https://yy123.ink/api/img/1796370018341-dnlexi.png)
1. Project Overview
FileVibe | A secure, intelligent, and visually appealing file management assistant
FileVibe is a secure, intelligent, and visually appealing file management and preview tool that provides file encryption protection, AI image interpretation, multi-format file preview, music playback, and slide show playback, with a modernized user interface and smooth animation effects.
2. Open Source License
Using MulanPSL-2.0 open source protocol
3. Screenshots
4. Feature Overview
Core Function
File Encryption Protection
-
Uses AES-256-CBC encryption algorithm to encrypt file storage -
Supports batch encryption of all files in the same directory as the project -
Encrypted files automatically add the .encrypted extension -
Automatically decrypts files after logging in to ensure data security -
Automatically guides password setup on first use -
Password setup is complete and will automatically start encrypting files
File before encryption:
File after encryption:
File management and preview
-
Supports browsing all files and folders in the project directory -
Supports previewing multiple file formats: image files (JPG, PNG, GIF, WebP, etc.) audio files (MP3, WAV, OGG, etc.) video files (MP4, AVI, MKV, etc.) text files and code files (with syntax highlighting) Office files (Word, Excel, PowerPoint)
AI image interpretation
-
Integrated with the Modle Fortress API platform, supporting multiple visual models -
Default uses the GLM-4.6V-Flash model (free) -
Supports streaming responses, displaying AI interpretation results in real-time -
Supports Markdown format replies, including titles, lists, code blocks, etc.
API settings function
-
Adds API settings function in the upper right corner -
Supports multiple visual model options, including: GLM-4.6V-Flash (free) Qwen2.5-VL-32B-InstructInternVL3-78B Qwen2-VL-72B InternVL2.5-78B InternVL3-38B InternVL2-8B InternVL2.5-26B GLM-4_5VAlign-DS-VERNIE-4.5-Turbo-VLKimi-K2.5AutoGLM-Phone-9B-Multilingual Qwen3-VL-30B-A3B-Instruct Qwen3-VL-4B-Instruct Qwen3-VL-8B-Instruct MAI-UI-8B Qwen2.5-VL-7B-Instruct GLM-4.6V -
Supports saving API keys to local storage -
When clicking the visual model selection box, the right side pulls out the model option panel -
The model selection list adapts to the window height
Modernized visual design
-
Gradient background and semi-transparent frosted glass effect -
Smooth animation transition effect -
Responsive design, adapting to different screen sizes -
Unified color scheme and visual style -
Dynamic shadow background effect (multiple colorful light sources, large range of motion) -
Smooth button hover and click animation -
Unified modal box animation effect
Music playback
-
Built-in music player, supporting background music playback -
Supports playlist management -
Supports keyboard control (previous, next, play/pause) -
Modal box animation effect
Slide show playback
-
Supports automatic playback of image slide shows -
Supports keyboard control (left arrow, right arrow, space bar pause/play, Esc exit) -
Supports encrypted image slide show playback -
Modal box animation effect
About us
-
Application information and version explanation -
Modal box animation effect
5. Tech Stack
Technical implementation
Back-end Technology
- Node.js
Running environment - Express.js
Backend framework, providing API interfaces - Crypto module
Implementing file encryption/decryption functionality - Mime-types
Identifying file MIME types - File system
Handling file read/write operations
Front-end Technology
- HTML5/CSS3
Page structure and style - JavaScript (ES6+)
Front-end interaction logic - ES6 module system
Using import/export to organize code - Tailwind CSS
Responsive UI framework - Flex layout
Page layout and responsive design - CSS animation
Implementing smooth transition effects and dynamic backgrounds - Font Awesome
Providing a rich icon library - LocalStorage
Saving API keys and model selection to local storage
Modular design
- Function modularization
Breaking down functions into independent modules (slideshow.js, music-player.js, api-settings.js, about.js, etc.) - Front-end modularization
Using ES6 module system to organize code - Backend modularization
Separating routing, encryption, password management, etc. functions
Modularized file explanation
- api-settings.js
API settings function, manages Ark API keys and model selection - music-player.js
Music playback function, supports playlist and keyboard control - slideshow.js
Slide show playback function, supports automatic playback and keyboard control - about.js
About us function, displays application information
Animation effects
- Button animation
Press effect when clicked and gradient transition effect when hovered - Modal box animation
Fade in and out and zoom effects - Background animation
Dynamic shadow effects, enhances visual experience - Smooth transition
All UI changes have smooth transition effects
Technical Highlights
1. File encryption and decryption system
- AES-256-CBC encryption algorithm
Uses industry-standard symmetric encryption algorithm to ensure file security - Smart key management
Generates encryption key from user password, supports direct use of generated 32-byte key - Encryption file recognition
Recognizes encrypted files by .encrypted extension, only decrypts encrypted files - Batch encryption function
Supports recursive encryption of entire directory structure, automatically skips already encrypted files
2. AI image interpretation
- Ark API integration
Uses professional AI platform to provide image understanding capabilities - Qwen2.5-VL-32B-Instruct model
Uses advanced multimodal large language model to provide high-quality image interpretation - Streamed response processing
Achieves real-time feedback for AI responses, enhances user experience - Markdown parsing
Converts AI responses to formatted HTML, supports titles, lists, code blocks, etc.
3. Front-end user experience
- Responsive Design
Adapts to different screen sizes, provides good mobile experience - Image proportional scaling
Automatically adjusts image size to ensure image is fully displayed within container - File icon recognition
Displays corresponding icon based on file type, enhances visual experience - Hidden encrypted extension
Automatically removes .encrypted extension from front-end display, maintains clean interface - Keyboard shortcut support
Music playback and slide show playback support keyboard control - Smooth animation effects
Button click, modal box show/hide all have smooth animation transitions - Dynamic shadow background
Multiple colorful light sources with large range motion, creates modern feel
4. Multi-format file preview
- Image Preview
Supports multiple image formats, achieves proportional scaling - Audio playback
Built-in music player, supports playlist management - Video Preview
Supports online playback of video files - Code Highlighting
Supports syntax highlighting for multiple programming languages - Office file support
Displays information for Word, Excel, PowerPoint files
5. Modular design
- Function separation
Splits slide show playback, music playback, API settings, and about us functions into independent modules - Code organization
Uses ES6 module system, improves code maintainability and readability - On-demand loading
Each function module works independently, reduces initial loading time
6. Modernized UI design
- Gradient Effect
Buttons and backgrounds use gradient colors to enhance visual hierarchy - Blur Effect
Semi-transparent background and modal box, creating a modern feel - Unified Visual Style
Consistent color scheme and design language - Smooth Transition Animation
All UI changes have smooth transition effects - Interactive Feedback
Buttons hover and click have clear visual feedback
Security Features
- Password Authentication
Only input correct password can access and view files - Session management
Use Map to store user session information, ensuring key security - Automatic Encryption
Batch encryption script automatically encrypts all files, preventing unauthorized access - Encrypted Transmission
All API requests need to carry authentication tokens, preventing unauthorized access - File Size Limitation
Preview file size is limited to 500MB, preventing server resource abuse
Note
- Password Security
Password is set by user during first use, ensuring strong password - File Backup
Before running batch encryption script, please ensure important files are backed up - Storage Space
After encryption, file size will be slightly increased, please ensure sufficient storage space - API Key
AI image interpretation function needs to be configured in API settings, API key can use GLM-4.6V-Flash model (free), other models may require payment or have calling restrictions - Port Occupation
If port 3000 is occupied, please modify code's PORT configuration - Model Selection
Different models may have performance and functionality differences, please choose according to actual needs - First Use
During first use, system will automatically guide password setting and file encryption, please wait patiently
Quick Start
1. Install Dependencies
npm install
2. Batch Encrypt Files
Run batch encryption script to encrypt all files in project directory:
node encrypt-all.js
3. Start Server
npm start# ornode server.js# or double-click start.bat
4. Access Application
Open browser, access:
http://localhost:3000
Project Structure
filevibe/├── public/│ ├── css/│ │ └── style.css│ ├── js/│ │ ├── api.js│ │ ├── chat.js│ │ ├── list.js│ │ ├── main.js│ │ ├── preview.js│ │ ├── utils.js│ │ ├── api-settings.js│ │ ├── music-player.js│ │ ├── slideshow.js│ │ └── about.js│ ├── music/│ ├── index.html│ └── login.html├── LICENSE├── README.md├── encrypt-all.js├── package-lock.json├── package.json├── server.js├── password-manager.js└── start.bat
6. Source Code Repository
Open-source project address:
https://gitee.com/cnt-code/filevibe
Download Free
Next steps
Comments