Skip to content

S1monlol/openmhzForward

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenMHZ Forward

A simple Node.js script that forwards messages received from the OpenMHZ API to another endpoint.

Installation

git clone https://github.com/S1monlol/openmhzForward.git
cd openmhzForward
npm install

Usage

  1. Open the index.js file in a text editor.
  2. Locate the sendMessage function.
  3. Modify the sendMessage function according to your needs. You can customize the logic for processing and forwarding the received messages.
  4. Save the changes to the index.js file.

Configuration

Rename the config.example.json file to config.json. Open config.json and provide the following information:

{
    "endpoint": "https://api.example.com",
    "shortName": "phillytrs",
    "Authorization": "Bearer wasd"
}

About

Forward OpenMHZ's API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published