npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@muhammedsaidckr/mmm-simplebackgroundslideshow

v1.0.2

Published

MMM-SimpleBackgroundSlideshow is a module for MagicMirror² that allows you to display a simple, customizable background slideshow on your MagicMirror²

Readme

MMM-SimpleBackgroundSlideshow

npm version npm downloads npm license

A lightweight and customizable background slideshow module for MagicMirror² that displays rotating images with smooth transitions. Built using the Vegas jQuery plugin for professional slideshow effects.

Features

  • 🖼️ Customizable background slideshow with smooth transitions
  • ⏱️ Configurable timing and delay settings
  • 🎨 Multiple transition effects (fade, slideLeft, slideRight, etc.)
  • 🎯 Animation options with random or specific effects
  • 🎲 Shuffle and randomization support
  • 🎨 Background color and alignment customization
  • 🔄 Dynamic slideshow updates via notifications

Installation

  1. Navigate to your MagicMirror's modules directory:

    cd ~/MagicMirror/modules
  2. Clone this repository:

    git clone https://github.com/muhammedsaidckr/MMM-SimpleBackgroundSlideshow.git
  3. Install dependencies:

    cd MMM-SimpleBackgroundSlideshow
    npm install
  4. Add the module to your config/config.js file (see Usage section).

Usage

Add the module to your MagicMirror config:

modules: [
    {
        module: "MMM-SimpleBackgroundSlideshow",
        position: "fullscreen_below", // Recommended for background slideshows
        config: {
            urls: [
                "https://example.com/image1.jpg",
                "https://example.com/image2.jpg",
                "path/to/local/image3.jpg"
            ],
            delay: 10000,
            transition: "fade",
            shuffle: true
        }
    }
]

Configuration Options

| Option | Type | Default | Description | |--------|------|---------|-------------| | urls | Array | [] | Required. List of image URLs to display in the slideshow | | delay | Number | 7000 | Time between slide transitions (milliseconds) | | timer | Boolean | false | Show/hide timer indicator | | shuffle | Boolean | true | Randomize slide order | | firstTransition | String | "fade" | Transition effect for the first slide | | firstTransitionDuration | Number | 10000 | Duration of first transition (milliseconds) | | transition | String | "random" | Transition effect between slides ("fade", "slideLeft", "slideRight", "slideUp", "slideDown", "random") | | animation | String | "random" | Animation effect during transitions | | transitionDuration | Number | 10000 | Duration of transitions (milliseconds) | | cover | Boolean | true | Scale images to cover entire container | | color | String | "black" | Background color when images don't fill container | | align | String | "top" | Horizontal alignment ("left", "center", "right", "top", "bottom") | | valign | String | "center" | Vertical alignment ("left", "center", "right", "top", "bottom") |

Dynamic Updates

The module supports dynamic slideshow updates via MagicMirror² notifications:

// Send notification to update slideshow
this.sendNotification("CHANGE_SLIDE_LIST", {
    urls: ["new-image1.jpg", "new-image2.jpg"],
    delay: 5000,
    transition: "slideLeft"
});

Positioning

For best results, use position: "fullscreen_below" to display the slideshow as a full-screen background behind other modules.

Other suitable positions for background content:

  • fullscreen_above
  • fullscreen_below (recommended)

Overlay Images

The module includes sample overlay images in the overlays/ directory (01.png through 09.png) that can be used for additional visual effects.

Contributing

Contributions are welcome! Please feel free to submit issues and pull requests.

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

Muhammed Said Cakir