/Notificator

Notificator is a simple program that receives messages for a specific user and displays them in Windows Notification Center

Primary LanguageC#

Notificator 🔔

Description

Notificator is a simple program that makes requests to a specific URL in the background, receives a JSON message and displays it in Windows Notification Center for a specific user.

Screenshot

Launching project

This program was developed with Visual Studio 2017. The following NuGet packages have also been added:

  • Newtonsoft.Json v13.0.1;
  • System.Runtime v4.0.0;
  • System.Runtime.WindowsRuntime v4.0.0;
  • Legacy2CPSWorkaround v1.0.0;
  • Microsoft.Toolkit.Uwp.Notifications v7.0.2.

Configuration

The program has two configurable parameters, which you can set in context menu Settings:

  • url - URL, which returns a JSON message;
  • interval - Request interval in milliseconds.

JSON message structure

The message structure looks like this:

{
    "success": true,
    "data":
    {
        "title": "Header",
        "date": 1627058574,
        "message": "Some message for ...",
        "url": "http://somesite.com/"
    }
}