GithubHelp home page GithubHelp logo

tjhrulz / messagepassingforrainmeter Goto Github PK

View Code? Open in Web Editor NEW
12.0 3.0 1.0 20.37 MB

A websocket plugin intended for message passing with Rainmeter and other programs such as Wallpaper Engine

License: GNU General Public License v2.0

C# 84.32% C 15.68%
rainmeter wallpaper-engine plugin wallpaper websockets

messagepassingforrainmeter's Introduction

Message Passing for Rainmeter

A websocket plugin for Rainmeter to allow communication with other programs such as Wallpaper Engine. Example of it in action: https://streamable.com/17mmz

Current State:

  • Full support for multiple websocket addresses and multiple connections on each address
  • On websocket Open, Close, and Message command options (Can even use dynamic variables)
  • Get connected client count from measure's decimal value

Future Additions

  • Support for changing Wallpaper Engine layout (Will either require waiting till Wallpaper Engine supports external plugins or admin rights)
  • Support for Video and Scene layout communication (Will likely require waiting till Wallpaper Engine supports external plugins)
  • Support for changing the port
  • Readd support for every message also being sent on the / channel

If you would like you can donate to support the plugin here

Measure Options

  • Plugin=MessagePassing - The name of the plugin is MessagePassing, any MessagePAssing measure will have the value of the number of clients connected to it
  • Name - Name of the service to run, adds / to the beginning if you do not.
    I recommend using unique names if you only want your info. So a name of tjMusicInfo would get a url of ws://127.0.0.1:58932/tjMusicInfo in the program you are communicating to
  • Port - Port to use, is ignored right now and is always 58932
  • OnOpen - A rainmeter bang to execute when connection is first made
    Note: Will not fire if connection already existed and was opened when your websocket is created
  • OnClose - A rainmeter bang to execute on connection being closed Note: Only fires with the connection is closed, does not fire if it never opens
  • OnMessage - A rainmeter bang to execute whenever a message is received with your service name
    Note: Add $Message$ to the command to have it be replaced with the message contents

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.