A simple web application to browse and search SVG files using Node.js, Express, and Fuse.js for fuzzy searching.
- Browse SVG files in a specified directory
- Fuzzy search functionality for file names
- Responsive grid layout for displaying SVG files
- Configurable SVG folder path using .env file
- Node.js (v12 or higher recommended)
- npm (usually comes with Node.js)
-
Clone the repository:
git clone https://github.com/yourusername/svg-file-browser.git cd svg-file-browser
-
Install dependencies:
npm install
-
Create a
.env
file in the root directory and specify the path to your SVG folder:SVG_FOLDER=/path/to/your/svg/folder
-
Start the application: npm start
-
Open a web browser and navigate to
http://localhost:3000
-
Browse and search for SVG files in the specified directory
You can change the SVG folder path by editing the .env
file or by setting the SVG_FOLDER
environment variable when running the application.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.