/mood-meter

😃 Track a person's mood and get a notification when it changes, inspired by the Kira Meter

Primary LanguageJavaScript

Welcome to mood-meter 👋

Track a person's mood and get a notification when it changes, inspired by the Kira Meter from How To Sell Drugs Online (Fast) TV Series

Demo

Demo

IFTTT Support

You can set up an IFTTT webhook in the config file to receive notifications about the other person's mood change directly to your phone.

Install

npm install

Usage

npm run start

Configuration

{
  // Server port
  "PORT": 8080,
  // Webhook for notification, get it from: https://ifttt.com/maker_webhooks/settings
  "WEBHOOK": "https://example.com",
  "CONFIG": {
    // The title of the web page
    "title": "Title",
    // Colors, play with it
    "colors": {
      "--bg-color": "#fdf6f0",
      "--text-color": "#a19882",
      "--slider-thumb-color": "#cdbba7",
      "--slider-bg-color": "linear-gradient(90deg, rgba(255, 0, 0, 1) 0%, rgba(227, 255, 0, 1) 50%, rgba(0, 255, 0, 1) 100%);"
    },
    // Emojis to show on the bar
    "emojis": ["🤬", "🥺", "😔", "😊", "🥰"],
    // Animations to execute when an emoji is selected, the order matters.
    "animations": [
      ["😡", "👿", "😈", "👺", "💢", "🤬"],
      ["😭", "😢", "😩"],
      ["😟", "☹️", "😞"],
      ["😊", "😄", "😃"],
      ["😍", "❤️", "😘", "💋"]
    ]
  }
}

Author

👤 Filippo Finke

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Todo

  • Add support to multiple users

Show your support

Give a ⭐️ if this project helped you!

Buy Me A McFlurry