Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/OnFireByte/Snip-Websocket-Addon

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/OnFireByte/Snip-Websocket-Addon

  • v0.0.0-20220504084704-dc79ba937daf
  • Source
  • Go
  • Socket score

Version published
Created
Source

Snip-Websocket-Addon

A very small program that build with Go. Its purpose is to serve now-playing track's data via web-sockets, work with (and require) Snip as its dependency (Like the name suggests).

This project also includes a simple webpage that can be used as an overlay in live streaming.

How to use

  1. move the executable file to Snip's folder
  2. In Snip setting, enable "Save infomation separately"
  3. Run the executable file
  4. The websocket server can be accessed via localhost:5487/ws, the track's artwork also can be accessed via localhost:5487/artwork
  5. (optional) You can get simple now-playing overlay by adding browser layer to your live stream application, then point to the html file.

How to compile

  1. Install 2goarray

    go install github.com/cratonica/2goarray
    
  2. Go to /server/icon and run bat/sh file

    Windows (Powershell)

    .\server\icon\make_icon.bat
    

    Linux

    .\server\icon\make_icon.sh
    
  3. Install go-winres and run (Optional, require for changing icon)

    go install github.com/tc-hib/go-winres@latest
    go-winres make
    
  4. compile go file

    # without console *recommended*
    go build -ldflags -H=windowsgui
    
    # with console
    go build
    

FAQs

Package last updated on 04 May 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc