Coder Social home page Coder Social logo

epiclonvisualizer's Introduction

Icon

Log Off Now Hotkey Visualizer

License: GPL v3 Downloads Latest Release

A lightweight and customizable websocket/browser-based hotkey visualizer,
made specifically for Log Off Now's Twitch stream overlay.

DemoUsageConfigurationDevelopment

Made with ❤️ by @minisbett and @Omekyu

Usage

Downloading and running the app

To get started, head over to the latest release page on GitHub. From there, locate and download the executable file (ending with .exe).

Once the download is complete, simply double-click the downloaded executable file to launch the application. No installation is required, and the application will start automatically upon execution.

Embedding in OBS

The application provides an out-of-the-box visualization webpage, running on http://localhost:8000 by default.

If you're using OBS Studio to stream on the streaming platform of your choice, you can easily integrate the hotkey visualizer into your overlay. Here's how:

  1. Open OBS Studio and navigate to the scene where you want to add the visualizer.
  2. Click the "+" icon under the "Sources" section to add a new source.
  3. Choose "Browser" as the source type and give it an appropriate name (e.g., "Hotkey Visualizer").
  4. In the URL field, enter http://localhost:8000 (default, unless configured otherwise)
  5. For the width and height, choose suitable values to ensure the displayed hotkeys are fully visible and not cut off. (e.g. 1000x100)

Using the websocket directly

All pressed hotkeys are being sent to a local websocket, which can be accessed via ws://localhost:8000 by default. The payloads sent look as follows:

{
     // as configured in the config, e.g. "ctrl+shift+p"
    "hotkey": "<hotkey>",
     // YYYY-MM-DD HH:MM:SS.microseconds
    "timestamp": "<timestamp>"
}

Configuration

In the config.json file, you can customize the hotkeys to capture, the style of the visualizer and the port on which the application is running.

On first startup, the application creates a config.json file in the same directory, containing the default configuration. After that, you are free to adjust all the values to your liking.

Configuration options

Server Configuration

  • Port: Specifies the port number on which the server runs. Default is 8000.

Hotkey Style

  • is_horizontal: Determines the orientation of the hotkey display. When true, hotkeys are displayed horizontally, with the most recently pressed hotkey on the right. When false, hotkeys are displayed vertically, with the most recently pressed hotkey on the bottom.

Orientation Graphic

  • chin-color: Color of the chin (bottom border) of the hotkey.

  • shadow-color: Color of the shadow around the hotkey.

  • text-color: Color of the hotkey text displayed.

  • subtext-color: Color of the "combo" text displayed.

  • border-color: Color of the border around the hotkey.

  • background-color: Background color of the hotkey.

  • animation-duration: Duration of the fade-out animation.

  • animation-delay: Delay before a hotkey fades out.

  • font-size: Size of the font used for displaying hotkeys.

Hotkeys

A list of the hotkeys that are being captured by the application. The key combination is written by the human-readable names of the keys, combined with a plus-sign. (Examples: ctrl+shift+p, shift+del)

The syntax for the hotkey-literals goes as follows:

          alt+shift+a     alt+b, c
 Keys:    ^~^ ^~~~^ ^     ^~^ ^  ^
Steps:    ^~~~~~~~~~^     ^~~~^  ^

The first hotkey triggers when alt, shift and A are pressed at the same time. The second hotkey triggers when alt and B are pressed, followed by the key c as the second step afterwards.

epiclonvisualizer's People

Contributors

minisbett avatar calemy avatar omekyu avatar

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.