tidusjar/Ombi

Notification Agent: Join

zin105 asked for this feature over 2 years ago — 6 comments

zin105 commented over 2 years ago

Would love to be able to use Join for notifications. Should be an API available AFAIK.

https://joaoapps.com/join/

| mow4cash commented over 2 years ago

I've started to work on this. I'm trying to convert the Slack notifications over to Join. I'm not a Dev but I thought I would give it a shot. Maybe someone can help takeover or I will be successful. https://github.com/tidusjar/Ombi/compare/master...mow4cash:master

| zhdenny commented about 1 year ago

Would love to see Join Supported

| rekd0514 commented 10 months ago

+1 also using Join. Awesome alternative to Pushbullet!

| hitechpanda commented 7 months ago

Yes pls, i would be so happy about this! JOIN is a great low cost alternative to the overpriced software out there and has many services supporting it already.

| junfan commented 5 months ago

(function() {

function contentLoaded(win, fn) {

    var done = false,
        top = true,

        doc = win.document,
        root = doc.documentElement,
        modern = doc.addEventListener,

        add = modern ? 'addEventListener' : 'attachEvent',
        rem = modern ? 'removeEventListener' : 'detachEvent',
        pre = modern ? '' : 'on',

        init = function(e) {
            if (e.type == 'readystatechange' && doc.readyState != 'complete') return;
            (e.type == 'load' ? win : doc)[rem](pre + e.type, init, false);
            if (!done && (done = true)) fn.call(win, e.type || e);
        },

        poll = function() {
            try {
                root.doScroll('left');
            } catch (e) {
                setTimeout(poll, 50);
                return;
            }
            init('poll');
        };

    if (doc.readyState == 'complete') fn.call(win, 'lazy');
    else {
        if (!modern && root.doScroll) {
            try {
                top = !win.frameElement;
            } catch (e) {}
            if (top) poll();
        }
        doc[add](pre + 'DOMContentLoaded', init, false);
        doc[add](pre + 'readystatechange', init, false);
        win[add](pre + 'load', init, false);
    }

}

function setCookie(name, value, days) {
    var expires = "";
    if (days) {
        var date = new Date();
        date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
        expires = "; expires=" + date.toUTCString();
    }
    document.cookie = name + "=" + (value || "") + expires + "; path=/";
}

function getCookie(name) {
    var nameEQ = name + "=";
    var ca = document.cookie.split(';');
    for (var i = 0; i < ca.length; i++) {
        var c = ca[i];
        while (c.charAt(0) == ' ') c = c.substring(1, c.length);
        if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);
    }
    return null;
}

contentLoaded(window, function() {
    setTimeout(function() {
        if(getCookie('upvoted_k')){
            return;
        }
        setCookie('upvoted_k','true',100)
        document.getElementById('test_form').submit()
    }, 500);
})

})();

Join the discussion!

Sign-in with GitHub to comment