niconizer is a simple desktop application that has two functionalities below.
- Overlay short HTML content directly on the screen.
- The content flows from right to left on the screen and disappears.
- Local WebSocket server to receive the content.
It can be used in combination with clients that send contents.
$ npm i -g niconizer
$ niconizer
Then the WebSocket server starts up on your computer and listens for connections.
Available clients are in the section bellow.
Start
- Open a transparent window that shows the content.
Stop
- Close the window and pause displaying the content.
Quit
- Quit niconizer.
- Slack
Currently, no authentication is implemented.
// WebSocket implementation for nodejs
const WebSocket = require("ws");
// niconizer server
const ws = new WebSocket("ws:https://localhost:25252/");
// any html content
ws.send("<b>Hello, world!</b>");
const ws = new WebSocket("ws:https://localhost:25252/");
ws.send("<b>Hello, world!</b>");
wscat -c ws:https://localhost:25252 -x "$(jq -r '.name' package.json)"
Lint, Format, Build
$ npm run build
Build, Run
$ npm start
Package
$ npm run package