Skip to content

cgillinger/MMM-BirdOfTheDay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐦 MMM-BirdOfTheDay

Version License: MIT MagicMirror² Powered by Nuthatch GitHub Issues

A MagicMirror² module that displays a beautifully rendered Bird of the Day — complete with image, common name, scientific name, region, and conservation status.

Powered by the Nuthatch API by Last Elm Software.


📋 Table of Contents


📸 Screenshots

Text Below (Default) Text on Left Text on Right
Text Below Layout Text Left Layout Text Right Layout

✨ Features

  • 🖼️ Displays a random bird with a high-quality image
  • 🔄 Configurable rotation — Hourly, Daily, or Weekly
  • 📋 Optional details: common name, scientific name, region, and conservation status
  • 📐 Flexible layout: text below, left, or right of the image
  • 🎨 Fully customizable image size and font size via CSS
  • 🧠 Smart history tracking to avoid showing the same bird twice
  • 🏷️ Configurable module title based on rotation interval

🔧 Prerequisites


📦 Installation

1. Navigate to your MagicMirror's modules directory:

cd ~/MagicMirror/modules

2. Clone this repository:

git clone https://github.com/cgillinger/MMM-BirdOfTheDay

⚙️ Configuration

Step 1 — Get your free API key:

Visit the Nuthatch API key generation page and follow the instructions.

Step 2 — Add the module to your config.js:

{
    module: "MMM-BirdOfTheDay",
    position: "top_center",     // Choose your preferred position
    config: {
        apiKey: "YOUR_API_KEY_HERE",   // Required
        rotation: "Daily",             // "Hourly" | "Daily" | "Weekly"
        imageWidth: "400px",           // CSS width value
        fontSize: "medium",            // "small" | "medium" | "large"
        textPosition: "below",         // "below" | "left" | "right"
        showTitleLine: true,
        maxHistory: 50,
        showName: true,
        showSciName: true,
        showRegion: true,
        showStatus: true,
    },
},

Configuration Options

Option Type Default Required Description
apiKey string Yes Your Nuthatch API key
rotation string "Daily" No Update frequency: "Hourly", "Daily", or "Weekly"
imageWidth string "400px" No Width of the bird image (any CSS value)
fontSize string "medium" No Font size for text: "small", "medium", or "large"
textPosition string "below" No Text position relative to image: "below", "left", or "right"
showTitleLine boolean true No Show a horizontal line beneath the module title
maxHistory number 50 No How many birds to remember before allowing repeats
showName boolean true No Display the bird's common name
showSciName boolean true No Display the bird's scientific name (in italics)
showRegion boolean true No Display the bird's region(s)
showStatus boolean true No Display the bird's conservation status

📐 Layout Options

Control where the text appears relative to the image using the textPosition option:

⬇️ Text Below (Default)
config: {
    textPosition: "below",
}
⬅️ Text on Left
config: {
    textPosition: "left",
}
➡️ Text on Right
config: {
    textPosition: "right",
}

🎨 Customization

You can further tweak the appearance by editing MMM-BirdOfTheDay.css in the module folder. Adjust colors, fonts, spacing, and more to match your mirror's theme.


🙏 Credits

Bird data and images are provided by the Nuthatch API by Last Elm Software — a big thanks for making this free resource available! All rights for bird data and images belong to their respective contributors.


📄 License

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


Made with ❤️ for birdwatchers and smart mirror enthusiasts

About

Bird of the Day module for MagicMirror that displays a random image of a bird every day

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors