SlideShow is a simple, lightweight web application designed to display a slideshow of images and videos stored locally. This server, built with Express.js, serves random code snippets and multimedia files for display in a web browser. It's an excellent tool for showcasing your favorite images, videos, or snippets in a continuous loop, right from your local machine.
- Random code snippet display from a predefined list.
- Slideshow of local images and videos.
- Support for various file formats, including jpg, jpeg, png, gif, mp4, mov, m4v, mpg, m4v, wmv, webm, and ogg.
- Easy to navigate and lightweight UI.
Before you begin, ensure you have Node.js installed on your local machine. You can download and install Node.js from https://nodejs.org/.
- Clone the repository to your local machine:
git clone https://github.com/iamkaikai/coding-background.git
- Navigate to the project directory:
cd SlideShow
- Install the required npm packages:
npm install
- Start the server:
npm start
The server will start on port 8188, and you can access the slideshow by navigating to http://localhost:8188/slideshow in your web browser.
To add your images or videos to the slideshow, place them in the public/src directory. The application will automatically include them in the slideshow rotation.
Navigate to http://localhost:8188/slideshow to view your slideshow. The application will randomly display code snippets or cycle through your media files, showcasing each for a preset duration before transitioning to the next.
For developers, the project includes endpoints to fetch random code snippets and list media files available for the slideshow.
Contributions are welcome! If you have suggestions for improvements or bug fixes, please feel free to fork the repository, make your changes, and submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.