repo stringlengths 5 106 | file_url stringlengths 78 301 | file_path stringlengths 4 211 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 14:56:49 2026-01-05 02:23:25 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/goalert.js | server/notification-providers/goalert.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
const { UP } = require("../../src/util");
class GoAlert extends NotificationProvider {
name = "GoAlert";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/pagerduty.js | server/notification-providers/pagerduty.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
const { UP, DOWN, getMonitorRelativeURL } = require("../../src/util");
const { setting } = require("../util-server");
let successMessage = "Sent Successfully.";
class PagerDuty extends NotificationProvider {
name = "Pa... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/discord.js | server/notification-providers/discord.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
const { DOWN, UP } = require("../../src/util");
class Discord extends NotificationProvider {
name = "discord";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = n... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/pushdeer.js | server/notification-providers/pushdeer.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
const { DOWN, UP } = require("../../src/util");
class PushDeer extends NotificationProvider {
name = "PushDeer";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON =... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/aliyun-sms.js | server/notification-providers/aliyun-sms.js | const NotificationProvider = require("./notification-provider");
const { DOWN, UP } = require("../../src/util");
const { default: axios } = require("axios");
const Crypto = require("crypto");
const qs = require("qs");
class AliyunSMS extends NotificationProvider {
name = "AliyunSMS";
/**
* @inheritdoc
... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/mattermost.js | server/notification-providers/mattermost.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
const { DOWN, UP } = require("../../src/util");
class Mattermost extends NotificationProvider {
name = "mattermost";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJS... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/gotify.js | server/notification-providers/gotify.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
class Gotify extends NotificationProvider {
name = "gotify";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
const okMsg = "Sent Successfully.";... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/stackfield.js | server/notification-providers/stackfield.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
const { setting } = require("../util-server");
const { getMonitorRelativeURL } = require("../../src/util");
class Stackfield extends NotificationProvider {
name = "stackfield";
/**
* @inheritdoc
*/
a... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/wecom.js | server/notification-providers/wecom.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
const { DOWN, UP } = require("../../src/util");
class WeCom extends NotificationProvider {
name = "WeCom";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null)... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/Webpush.js | server/notification-providers/Webpush.js | const NotificationProvider = require("./notification-provider");
const { UP } = require("../../src/util");
const webpush = require("web-push");
const { setting } = require("../util-server");
class Webpush extends NotificationProvider {
name = "Webpush";
/**
* @inheritDoc
*/
async send(notificati... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/splunk.js | server/notification-providers/splunk.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
const { UP, DOWN, getMonitorRelativeURL } = require("../../src/util");
const { setting } = require("../util-server");
let successMessage = "Sent Successfully.";
class Splunk extends NotificationProvider {
name = "Splun... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/lunasea.js | server/notification-providers/lunasea.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
const { DOWN, UP } = require("../../src/util");
class LunaSea extends NotificationProvider {
name = "lunasea";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = n... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/slack.js | server/notification-providers/slack.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
const { setSettings, setting } = require("../util-server");
const { getMonitorRelativeURL, UP, log } = require("../../src/util");
const isUrl = require("is-url");
class Slack extends NotificationProvider {
name = "slac... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/pumble.js | server/notification-providers/pumble.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
const { UP } = require("../../src/util");
class Pumble extends NotificationProvider {
name = "pumble";
/**
* @inheritDoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/sms-planet.js | server/notification-providers/sms-planet.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
class SMSPlanet extends NotificationProvider {
name = "SMSPlanet";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
const okMsg = "Sent Successfu... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/spugpush.js | server/notification-providers/spugpush.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
const { DOWN, UP } = require("../../src/util");
class SpugPush extends NotificationProvider {
name = "SpugPush";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON ... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/pushbullet.js | server/notification-providers/pushbullet.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
const { DOWN, UP } = require("../../src/util");
class Pushbullet extends NotificationProvider {
name = "pushbullet";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJ... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/dingding.js | server/notification-providers/dingding.js | const NotificationProvider = require("./notification-provider");
const { DOWN, UP } = require("../../src/util");
const { default: axios } = require("axios");
const Crypto = require("crypto");
class DingDing extends NotificationProvider {
name = "DingDing";
/**
* @inheritdoc
*/
async send(notific... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/onebot.js | server/notification-providers/onebot.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
class OneBot extends NotificationProvider {
name = "OneBot";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
const okMsg = "Sent Successfully.";... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/promosms.js | server/notification-providers/promosms.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
class PromoSMS extends NotificationProvider {
name = "promosms";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
const okMsg = "Sent Successfull... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/flashduty.js | server/notification-providers/flashduty.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
const { UP, DOWN, getMonitorRelativeURL } = require("../../src/util");
const { setting } = require("../util-server");
const successMessage = "Sent Successfully.";
class FlashDuty extends NotificationProvider {
name = "... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/sevenio.js | server/notification-providers/sevenio.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
const { DOWN, UP } = require("../../src/util");
class SevenIO extends NotificationProvider {
name = "SevenIO";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = n... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/techulus-push.js | server/notification-providers/techulus-push.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
class TechulusPush extends NotificationProvider {
name = "PushByTechulus";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
const okMsg = "Sent S... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/smspartner.js | server/notification-providers/smspartner.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
class SMSPartner extends NotificationProvider {
name = "SMSPartner";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
const okMsg = "Sent Success... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/signal.js | server/notification-providers/signal.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
class Signal extends NotificationProvider {
name = "signal";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
const okMsg = "Sent Successfully.";... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/onechat.js | server/notification-providers/onechat.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
const { DOWN, UP } = require("../../src/util");
class OneChat extends NotificationProvider {
name = "OneChat";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = n... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/teams.js | server/notification-providers/teams.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
const { setting } = require("../util-server");
const { DOWN, UP, getMonitorRelativeURL } = require("../../src/util");
class Teams extends NotificationProvider {
name = "teams";
/**
* Generate the message to s... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/smsc.js | server/notification-providers/smsc.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
class SMSC extends NotificationProvider {
name = "smsc";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
const okMsg = "Sent Successfully.";
... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/pagertree.js | server/notification-providers/pagertree.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
const { UP, DOWN, getMonitorRelativeURL } = require("../../src/util");
const { setting } = require("../util-server");
let successMessage = "Sent Successfully.";
class PagerTree extends NotificationProvider {
name = "Pa... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/gorush.js | server/notification-providers/gorush.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
class Gorush extends NotificationProvider {
name = "gorush";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
const okMsg = "Sent Successfully.";... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/freemobile.js | server/notification-providers/freemobile.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
class FreeMobile extends NotificationProvider {
name = "FreeMobile";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
const okMsg = "Sent Success... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/grafana-oncall.js | server/notification-providers/grafana-oncall.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
const { DOWN, UP } = require("../../src/util");
class GrafanaOncall extends NotificationProvider {
name = "GrafanaOncall";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heart... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/serverchan.js | server/notification-providers/serverchan.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
const { DOWN, UP } = require("../../src/util");
class ServerChan extends NotificationProvider {
name = "ServerChan";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJS... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/46elks.js | server/notification-providers/46elks.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
class Elks extends NotificationProvider {
name = "Elks";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
const okMsg = "Sent Successfully.";
... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/webhook.js | server/notification-providers/webhook.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
const FormData = require("form-data");
class Webhook extends NotificationProvider {
name = "webhook";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/ntfy.js | server/notification-providers/ntfy.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
const { DOWN, UP } = require("../../src/util");
class Ntfy extends NotificationProvider {
name = "ntfy";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/send-grid.js | server/notification-providers/send-grid.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
class SendGrid extends NotificationProvider {
name = "SendGrid";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
const okMsg = "Sent Successfull... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/serwersms.js | server/notification-providers/serwersms.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
class SerwerSMS extends NotificationProvider {
name = "serwersms";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
const okMsg = "Sent Successfu... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/kook.js | server/notification-providers/kook.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
class Kook extends NotificationProvider {
name = "Kook";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
const okMsg = "Sent Successfully.";
... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/pushplus.js | server/notification-providers/pushplus.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
const { DOWN, UP } = require("../../src/util");
class PushPlus extends NotificationProvider {
name = "PushPlus";
/**
* @inheritdoc
* @param {BeanModel} notification Notification object
* @param {str... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/whapi.js | server/notification-providers/whapi.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
class Whapi extends NotificationProvider {
name = "whapi";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
const okMsg = "Sent Successfully.";
... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/apprise.js | server/notification-providers/apprise.js | const NotificationProvider = require("./notification-provider");
const childProcessAsync = require("promisify-child-process");
class Apprise extends NotificationProvider {
name = "apprise";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
con... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/squadcast.js | server/notification-providers/squadcast.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
const { DOWN } = require("../../src/util");
class Squadcast extends NotificationProvider {
name = "squadcast";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = n... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/onesender.js | server/notification-providers/onesender.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
class Onesender extends NotificationProvider {
name = "Onesender";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
const okMsg = "Sent Successfu... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/rocket-chat.js | server/notification-providers/rocket-chat.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
const Slack = require("./slack");
const { setting } = require("../util-server");
const { getMonitorRelativeURL, DOWN } = require("../../src/util");
class RocketChat extends NotificationProvider {
name = "rocket.chat";
... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/smsir.js | server/notification-providers/smsir.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
class SMSIR extends NotificationProvider {
name = "smsir";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
const okMsg = "Sent Successfully.";
... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/bitrix24.js | server/notification-providers/bitrix24.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
const { UP } = require("../../src/util");
class Bitrix24 extends NotificationProvider {
name = "Bitrix24";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null)... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/call-me-bot.js | server/notification-providers/call-me-bot.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
class CallMeBot extends NotificationProvider {
name = "CallMeBot";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
const okMsg = "Sent Successfu... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/pushover.js | server/notification-providers/pushover.js | const { getMonitorRelativeURL } = require("../../src/util");
const { setting } = require("../util-server");
const { UP } = require("../../src/util");
const NotificationProvider = require("./notification-provider");
const axios = require("axios");
class Pushover extends NotificationProvider {
name = "pushover";
... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/threema.js | server/notification-providers/threema.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
class Threema extends NotificationProvider {
name = "threema";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
const url = "https://msgapi.three... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/brevo.js | server/notification-providers/brevo.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
class Brevo extends NotificationProvider {
name = "Brevo";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
const okMsg = "Sent Successfully.";
... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/cellsynt.js | server/notification-providers/cellsynt.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
class Cellsynt extends NotificationProvider {
name = "Cellsynt";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
const okMsg = "Sent Successfull... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/waha.js | server/notification-providers/waha.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
class WAHA extends NotificationProvider {
name = "waha";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
const okMsg = "Sent Successfully.";
... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/wpush.js | server/notification-providers/wpush.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
const { DOWN, UP } = require("../../src/util");
class WPush extends NotificationProvider {
name = "WPush";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null)... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/line.js | server/notification-providers/line.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
const { DOWN, UP } = require("../../src/util");
class Line extends NotificationProvider {
name = "line";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/resend.js | server/notification-providers/resend.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
class Resend extends NotificationProvider {
name = "Resend";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
const okMsg = "Sent Successfully.";... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/signl4.js | server/notification-providers/signl4.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
const { UP, DOWN } = require("../../src/util");
class SIGNL4 extends NotificationProvider {
name = "SIGNL4";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = nul... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/zoho-cliq.js | server/notification-providers/zoho-cliq.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
const { DOWN, UP } = require("../../src/util");
class ZohoCliq extends NotificationProvider {
name = "ZohoCliq";
/**
* Generate the message to send
* @param {const} status The status constant
* @par... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/bale.js | server/notification-providers/bale.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
class Bale extends NotificationProvider {
name = "bale";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
const okMsg = "Sent Successfully.";
... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/alerta.js | server/notification-providers/alerta.js | const NotificationProvider = require("./notification-provider");
const { DOWN, UP } = require("../../src/util");
const axios = require("axios");
class Alerta extends NotificationProvider {
name = "alerta";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = nul... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/opsgenie.js | server/notification-providers/opsgenie.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
const { UP, DOWN } = require("../../src/util");
const opsgenieAlertsUrlEU = "https://api.eu.opsgenie.com/v2/alerts";
const opsgenieAlertsUrlUS = "https://api.opsgenie.com/v2/alerts";
const okMsg = "Sent Successfully.";
cl... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/evolution.js | server/notification-providers/evolution.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
class Evolution extends NotificationProvider {
name = "evolution";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
const okMsg = "Sent Successfu... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/bark.js | server/notification-providers/bark.js | //
// bark.js
// UptimeKuma
//
// Created by Lakr Aream on 2021/10/24.
// Copyright Β© 2021 Lakr Aream. All rights reserved.
//
const NotificationProvider = require("./notification-provider");
const { DOWN, UP } = require("../../src/util");
const { default: axios } = require("axios");
// bark is an APN bridge that... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/yzj.js | server/notification-providers/yzj.js | const NotificationProvider = require("./notification-provider");
const { DOWN, UP } = require("../../src/util");
const { default: axios } = require("axios");
class YZJ extends NotificationProvider {
name = "YZJ";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSO... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/octopush.js | server/notification-providers/octopush.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
class Octopush extends NotificationProvider {
name = "octopush";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
const okMsg = "Sent Successfull... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/notification-provider.js | server/notification-providers/notification-provider.js | const { Liquid } = require("liquidjs");
const { DOWN } = require("../../src/util");
const { HttpProxyAgent } = require("http-proxy-agent");
const { HttpsProxyAgent } = require("https-proxy-agent");
class NotificationProvider {
/**
* Notification Provider Name
* @type {string}
*/
name = undefine... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/clicksendsms.js | server/notification-providers/clicksendsms.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
class ClickSendSMS extends NotificationProvider {
name = "clicksendsms";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
const okMsg = "Sent Suc... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/twilio.js | server/notification-providers/twilio.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
class Twilio extends NotificationProvider {
name = "twilio";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
const okMsg = "Sent Successfully.";... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/pushy.js | server/notification-providers/pushy.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
class Pushy extends NotificationProvider {
name = "pushy";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
const okMsg = "Sent Successfully.";
... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/smseagle.js | server/notification-providers/smseagle.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
class SMSEagle extends NotificationProvider {
name = "SMSEagle";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
const okMsg = "Sent Successfull... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/smtp.js | server/notification-providers/smtp.js | const nodemailer = require("nodemailer");
const NotificationProvider = require("./notification-provider");
class SMTP extends NotificationProvider {
name = "smtp";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
const okMsg = "Sent Successfu... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/notification-providers/feishu.js | server/notification-providers/feishu.js | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
const { DOWN, UP } = require("../../src/util");
class Feishu extends NotificationProvider {
name = "Feishu";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = nul... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/socket-handlers/cloudflared-socket-handler.js | server/socket-handlers/cloudflared-socket-handler.js | const { checkLogin, setSetting, setting, doubleCheckPassword } = require("../util-server");
const { CloudflaredTunnel } = require("node-cloudflared-tunnel");
const { UptimeKumaServer } = require("../uptime-kuma-server");
const { log } = require("../../src/util");
const io = UptimeKumaServer.getInstance().io;
const pre... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/socket-handlers/maintenance-socket-handler.js | server/socket-handlers/maintenance-socket-handler.js | const { checkLogin } = require("../util-server");
const { log } = require("../../src/util");
const { R } = require("redbean-node");
const apicache = require("../modules/apicache");
const { UptimeKumaServer } = require("../uptime-kuma-server");
const Maintenance = require("../model/maintenance");
const server = UptimeKu... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/socket-handlers/general-socket-handler.js | server/socket-handlers/general-socket-handler.js | const { log } = require("../../src/util");
const { Settings } = require("../settings");
const { sendInfo } = require("../client");
const { checkLogin } = require("../util-server");
const { games } = require("gamedig");
const { testChrome } = require("../monitor-types/real-browser-monitor-type");
const fsAsync = require... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/socket-handlers/database-socket-handler.js | server/socket-handlers/database-socket-handler.js | const { checkLogin } = require("../util-server");
const Database = require("../database");
/**
* Handlers for database
* @param {Socket} socket Socket.io instance
* @returns {void}
*/
module.exports.databaseSocketHandler = (socket) => {
// Post or edit incident
socket.on("getDatabaseSize", async (callback... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/socket-handlers/api-key-socket-handler.js | server/socket-handlers/api-key-socket-handler.js | const { checkLogin } = require("../util-server");
const { log } = require("../../src/util");
const { R } = require("redbean-node");
const { nanoid } = require("nanoid");
const passwordHash = require("../password-hash");
const apicache = require("../modules/apicache");
const APIKey = require("../model/api_key");
const {... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/socket-handlers/remote-browser-socket-handler.js | server/socket-handlers/remote-browser-socket-handler.js | const { sendRemoteBrowserList } = require("../client");
const { checkLogin } = require("../util-server");
const { RemoteBrowser } = require("../remote-browser");
const { log } = require("../../src/util");
const { testRemoteBrowser } = require("../monitor-types/real-browser-monitor-type");
/**
* Handlers for docker h... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/socket-handlers/docker-socket-handler.js | server/socket-handlers/docker-socket-handler.js | const { sendDockerHostList } = require("../client");
const { checkLogin } = require("../util-server");
const { DockerHost } = require("../docker");
const { log } = require("../../src/util");
/**
* Handlers for docker hosts
* @param {Socket} socket Socket.io instance
* @returns {void}
*/
module.exports.dockerSocket... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/socket-handlers/chart-socket-handler.js | server/socket-handlers/chart-socket-handler.js | const { checkLogin } = require("../util-server");
const { UptimeCalculator } = require("../uptime-calculator");
const { log } = require("../../src/util");
module.exports.chartSocketHandler = (socket) => {
socket.on("getMonitorChartData", async (monitorID, period, callback) => {
try {
checkLogin... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/socket-handlers/proxy-socket-handler.js | server/socket-handlers/proxy-socket-handler.js | const { checkLogin } = require("../util-server");
const { Proxy } = require("../proxy");
const { sendProxyList } = require("../client");
const { UptimeKumaServer } = require("../uptime-kuma-server");
const server = UptimeKumaServer.getInstance();
/**
* Handlers for proxy
* @param {Socket} socket Socket.io instance
... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/socket-handlers/status-page-socket-handler.js | server/socket-handlers/status-page-socket-handler.js | const { R } = require("redbean-node");
const { checkLogin, setSetting } = require("../util-server");
const dayjs = require("dayjs");
const { log } = require("../../src/util");
const ImageDataURI = require("../image-data-uri");
const Database = require("../database");
const apicache = require("../modules/apicache");
con... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/utils/array-with-key.js | server/utils/array-with-key.js | /**
* An object that can be used as an array with a key
* Like PHP's array
* @template K
* @template V
*/
class ArrayWithKey {
/**
* All keys that are stored in the current object
* @type {K[]}
* @private
*/
__stack = [];
/**
* Push an element to the end of the array
* @p... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/utils/simple-migration-server.js | server/utils/simple-migration-server.js | const express = require("express");
const http = require("node:http");
const { log } = require("../../src/util");
/**
* SimpleMigrationServer
* For displaying the migration status of the server
* Also, it is used to let Docker healthcheck know the status of the server, as the main server is not started yet, healthc... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/utils/limit-queue.js | server/utils/limit-queue.js | const { ArrayWithKey } = require("./array-with-key");
/**
* Limit Queue
* The first element will be removed when the length exceeds the limit
*/
class LimitQueue extends ArrayWithKey {
/**
* The limit of the queue after which the first element will be removed
* @private
* @type {number}
*/
... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/utils/knex/lib/dialects/mysql2/schema/mysql2-columncompiler.js | server/utils/knex/lib/dialects/mysql2/schema/mysql2-columncompiler.js | const ColumnCompilerMySQL = require("knex/lib/dialects/mysql/schema/mysql-columncompiler");
const { formatDefault } = require("knex/lib/formatter/formatterUtils");
const { log } = require("../../../../../../../src/util");
class KumaColumnCompiler extends ColumnCompilerMySQL {
/**
* Override defaultTo method t... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/monitor-conditions/variables.js | server/monitor-conditions/variables.js | /**
* Represents a variable used in a condition and the set of operators that can be applied to this variable.
*
* A `ConditionVariable` holds the ID of the variable and a list of operators that define how this variable can be evaluated
* in conditions. For example, if the variable is a request body or a specific f... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/monitor-conditions/expression.js | server/monitor-conditions/expression.js | /**
* @readonly
* @enum {string}
*/
const LOGICAL = {
AND: "and",
OR: "or",
};
/**
* Recursively processes an array of raw condition objects and populates the given parent group with
* corresponding ConditionExpression or ConditionExpressionGroup instances.
* @param {Array} conditions Array of raw condit... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/monitor-conditions/evaluator.js | server/monitor-conditions/evaluator.js | const { ConditionExpressionGroup, ConditionExpression, LOGICAL } = require("./expression");
const { operatorMap } = require("./operators");
/**
* @param {ConditionExpression} expression Expression to evaluate
* @param {object} context Context to evaluate against; These are values for variables in the expression
* @... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/monitor-conditions/operators.js | server/monitor-conditions/operators.js | class ConditionOperator {
id = undefined;
caption = undefined;
/**
* @type {mixed} variable
* @type {mixed} value
*/
test(variable, value) {
throw new Error("You need to override test()");
}
}
const OP_STR_EQUALS = "equals";
const OP_STR_NOT_EQUALS = "not_equals";
const OP... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/modules/dayjs/plugin/timezone.js | server/modules/dayjs/plugin/timezone.js | /**
* Copy from node_modules/dayjs/plugin/timezone.js
* Try to fix https://github.com/louislam/uptime-kuma/issues/2318
* Source: https://github.com/iamkun/dayjs/tree/dev/src/plugin/utc
* License: MIT
*/
!function (t, e) {
// eslint-disable-next-line no-undef
typeof exports == "object" && typeof module != "... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/modules/axios-ntlm/lib/ntlmClient.js | server/modules/axios-ntlm/lib/ntlmClient.js | "use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
})... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/modules/axios-ntlm/lib/flags.js | server/modules/axios-ntlm/lib/flags.js | 'use strict';
// Original file https://raw.githubusercontent.com/elasticio/node-ntlm-client/master/lib/flags.js
module.exports.NTLMFLAG_NEGOTIATE_UNICODE = 1 << 0;
/* Indicates that Unicode strings are supported for use in security buffer
data. */
module.exports.NTLMFLAG_NEGOTIATE_OEM = 1 << 1;
/* Indicates that OEM... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/modules/axios-ntlm/lib/hash.js | server/modules/axios-ntlm/lib/hash.js | 'use strict';
// Original source at https://github.com/elasticio/node-ntlm-client/blob/master/lib/hash.js
var crypto = require('crypto');
function createLMResponse(challenge, lmhash) {
var buf = new Buffer.alloc(24), pwBuffer = new Buffer.alloc(21).fill(0);
lmhash.copy(pwBuffer);
calculateDES(pwBuffer.slice... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/modules/axios-ntlm/lib/ntlm.js | server/modules/axios-ntlm/lib/ntlm.js | 'use strict';
// Original file https://raw.githubusercontent.com/elasticio/node-ntlm-client/master/lib/ntlm.js
var os = require('os'), flags = require('./flags'), hash = require('./hash');
var NTLMSIGNATURE = "NTLMSSP\0";
function createType1Message(workstation, target) {
var dataPos = 32, pos = 0, buf = new Buffer... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/modules/apicache/memory-cache.js | server/modules/apicache/memory-cache.js | function MemoryCache() {
this.cache = {};
this.size = 0;
}
/**
*
* @param {string} key Key to store cache as
* @param {any} value Value to store
* @param {number} time Time to store for
* @param {function(any, string)} timeoutCallback Callback to call in
* case of timeout
* @returns {Object}
*/
Memory... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/modules/apicache/index.js | server/modules/apicache/index.js | const apicache = require("./apicache");
apicache.options({
headerBlacklist: [
"cache-control"
],
headers: {
// Disable client side cache, only server side cache.
// BUG! Not working for the second request
"cache-control": "no-cache",
},
});
module.exports = apicache;
| javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/modules/apicache/apicache.js | server/modules/apicache/apicache.js | let url = require("url");
let MemoryCache = require("./memory-cache");
let t = {
ms: 1,
second: 1000,
minute: 60000,
hour: 3600000,
day: 3600000 * 24,
week: 3600000 * 24 * 7,
month: 3600000 * 24 * 30,
};
let instances = [];
/**
* Does a === b
* @param {any} a
* @returns {function(any):... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/monitor-types/redis.js | server/monitor-types/redis.js | const { MonitorType } = require("./monitor-type");
const { UP } = require("../../src/util");
const redis = require("redis");
class RedisMonitorType extends MonitorType {
name = "redis";
/**
* @inheritdoc
*/
async check(monitor, heartbeat, _server) {
heartbeat.msg = await this.redisPingAs... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
louislam/uptime-kuma | https://github.com/louislam/uptime-kuma/blob/a0a009f31c929444b3cca292f96a93db368b65e8/server/monitor-types/monitor-type.js | server/monitor-types/monitor-type.js | class MonitorType {
name = undefined;
/**
* Whether or not this type supports monitor conditions. Controls UI visibility in monitor form.
* @type {boolean}
*/
supportsConditions = false;
/**
* Variables supported by this type. e.g. an HTTP type could have a "response_code" variable... | javascript | MIT | a0a009f31c929444b3cca292f96a93db368b65e8 | 2026-01-04T14:56:49.617448Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.