Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tuxfoo/nodecg-odysee-bundles
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.0.5-alpha
Choose a base ref
...
head repository: tuxfoo/nodecg-odysee-bundles
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 11 commits
  • 13 files changed
  • 1 contributor

Commits on May 15, 2021

  1. Add support for simple chat

    tuxfoo committed May 15, 2021
    Copy the full SHA
    86d5cdf View commit details

Commits on May 16, 2021

  1. Added try catch to avoid displaying error when there are no comments …

    …to preload, the error could be ignored but it might confuse some people so best to hide it
    tuxfoo committed May 16, 2021
    Copy the full SHA
    003ac7c View commit details

Commits on May 24, 2021

  1. Preload last comment.

    tuxfoo committed May 24, 2021
    Copy the full SHA
    5b9e518 View commit details
  2. Add other bundles as submodules

    tuxfoo committed May 24, 2021
    Copy the full SHA
    29457a9 View commit details
  3. Update simple-chat Fix Fade

    tuxfoo committed May 24, 2021
    Copy the full SHA
    04d81cc View commit details

Commits on May 25, 2021

  1. Add MIT License

    tuxfoo committed May 25, 2021
    Copy the full SHA
    20c2104 View commit details

Commits on May 26, 2021

  1. Copy the full SHA
    a446909 View commit details
  2. Merge branch 'main' of https://github.com/tuxfoo/nodecg-odysee-bundles

    …into main
    tuxfoo committed May 26, 2021
    Copy the full SHA
    9e96b76 View commit details

Commits on May 27, 2021

  1. User can attach messages to alerts using triggers, temporary disable …

    …preload comments
    tuxfoo committed May 27, 2021
    Copy the full SHA
    44c5692 View commit details
  2. Copy the full SHA
    39c7409 View commit details
  3. Copy the full SHA
    f222df1 View commit details
12 changes: 12 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[submodule "bundles/simple-chat"]
path = bundles/simple-chat
url = https://github.com/tuxfoo/simple-chat.git
[submodule "bundles/simple-alerts"]
path = bundles/simple-alerts
url = https://github.com/tuxfoo/simple-alerts.git
[submodule "bundles/simple-donation-ticker"]
path = bundles/simple-donation-ticker
url = https://github.com/tuxfoo/simple-donation-ticker
[submodule "bundles/simple-goals"]
path = bundles/simple-goals
url = https://github.com/tuxfoo/simple-goals.git
19 changes: 19 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Copyright (c) 2021 Jacob Warren

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# odysee-simple-alerts-connector
# nodecg-odysee-bundles

This nodecg bundle listens for LBC tips from odysee hyperchat's and renders an alert using the simple-alerts bundle.
This is a collection of my nodecg bundles for Odysee live streaming.

In future releases, this bundle may make use of other bundles such as:
* donation ticker
* chat overlay
* tip history
* top tipper
This bundle has:
* simple-alerts
* simple-donation-ticker
* simple-chat
* simple-goals

In releases, you can find a portable version containing nodecg and simple-alerts for Windows and Linux that is ready to go, just extract it and run it.
In releases, you can find a portable version containing nodecg and a collection of nodecg bundles for Windows and Linux that are ready to go, just extract it, run it, configure overlay's and stream.
19 changes: 19 additions & 0 deletions bundles/odysee-simple-alerts-connector/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Copyright (c) 2021 Jacob Warren

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
12 changes: 12 additions & 0 deletions bundles/odysee-simple-alerts-connector/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# odysee-simple-alerts-connector

This nodecg bundle listens to Odysee hyperchat and in in-form's other bundles of events.
This bundle is also used to set up triggers for simple-alerts.

This bundle also connects to the following nodecg bundles such as:
* simple-alerts
* simple-donation-ticker
* simple-chat
* simple-goals

In releases, you can find a portable version containing nodecg and a collection of nodecg bundles for Windows and Linux that are ready to go, just extract it, run it, configure overlay's and stream.
Original file line number Diff line number Diff line change
@@ -131,6 +131,14 @@
logicOption.appendChild(logicOptionLabel);
selectLogic.appendChild(logicOption);

var attach = document.createElement('label');
attach.setAttribute('for', 'attach' + index);
var attachLabel = document.createTextNode("Attach User Message: ");
attach.appendChild(attachLabel);
var attachMsg = document.createElement('input');
attachMsg.setAttribute('id', 'attach' + index);
attachMsg.setAttribute('type', 'checkbox');

var logicSubmit = document.createElement('button');
logicSubmit.setAttribute('type', 'submit');
logicSubmit.setAttribute('id', 'logicBtn' + index);
@@ -150,6 +158,9 @@
form.appendChild(amount);
form.appendChild(amountInput);
form.appendChild(document.createElement("br"));
form.appendChild(attach);
form.appendChild(attachMsg);
form.appendChild(document.createElement("br"));
form.appendChild(logicSubmit);
form.appendChild(logicDelete);
form.appendChild(document.createElement("br"));
@@ -158,7 +169,14 @@
document.getElementById('alertinput' + index).value = value.name;
document.getElementById('amountinput' + index).value = value.amount;
document.getElementById('selectLogic' + index).value = value.type;

document.getElementById('attach' + index).value = value.attach;
if (typeof value.attach != 'undefined') {
if (value.attach = true) {
document.getElementById('attach' + index).checked = true;
} else {
document.getElementById('attach' + index).checked = false;
}
}
// Delete alert
document.getElementById('deleteBtn' + index).addEventListener('click', e => {
console.log("remove " + index);
@@ -171,6 +189,11 @@
value.name = document.getElementById('alertinput' + index).value;
value.amount = document.getElementById('amountinput' + index).value;
value.type = document.getElementById('selectLogic' + index).value;
if (document.getElementById('attach' + index).checked == true) {
value.attach = true;
} else {
value.attach = false;
}
});
}

Loading