From 2e8d1fc0780393f150e9879c3cb3b3a3659439a7 Mon Sep 17 00:00:00 2001 From: tree Date: Fri, 21 Oct 2022 10:01:02 +0200 Subject: [PATCH] Initial commit --- .gitignore | 3 ++ README.md | 15 +++++++ bun.lockb | Bin 0 -> 2213 bytes package.json | 15 +++++++ scripts/build.js | 46 +++++++++++++++++++++ spec/services.yaml | 100 +++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 179 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100755 bun.lockb create mode 100644 package.json create mode 100755 scripts/build.js create mode 100644 spec/services.yaml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..df30fcb --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +node_modules +.DS_Store +build diff --git a/README.md b/README.md new file mode 100644 index 0000000..e8eb87c --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ +# services + +To install dependencies: + +```bash +bun install +``` + +To run: + +```bash +bun run index.ts +``` + +This project was created using `bun init` in bun v0.1.13. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime. diff --git a/bun.lockb b/bun.lockb new file mode 100755 index 0000000000000000000000000000000000000000..3e763efe32ca696b7b06f01f9fab921df4386e99 GIT binary patch literal 2213 zcmY#Z)GsYA(of3F(@)JSQ%EY!;{sycoc!eMw9K4T-L(9o+{6;yG6OCq1_p+bcb0n- zioR&XzgqU?(mo|mvFnW8!QL#cfwNbdIBsS0;^hD;0s>YD#Q^0putWI`P`ZW%$^cXR z3=9of#rb)OC5a4K#k!S=xj77pMd<~JMa8K=IR;Lk{F3KMZ&nmo?!9$R=dR9Kf7!m9 z-TXfnuVG^1e|I(P(7j{TZ_>|p2)$NfL^c@6_JZ7A%tbbuC8c( z_#E;HXkPp9p{1tMD&R z>LSXx1k<3Mo7nbaadv#~KK3kB(bK=-sJ=a?66IHy?-p-$uOU(3^EEF;dD-#Q5pSRKa z_=c79&DGyNJ3Z^#pU>wb?cbGf$-DA?E(19Z3JmJt`2{A#knrdxc!ER z0EU&nu=16IG0s5GP|pAn>+q78G0p@g11Za4Wi=CHoS~kD92Q-g? z;S$t6Fd8*26sP8vr55SAR+OX`mlS2@rQ0bOBAjf2a5A*AVTD#cTs9!z8DjGs zFnrR>Q!|sRbc<7q$}*Evi$Qf?No7H5aYji=L9vy-eo<(\\d+\\.\\d+\\.\\d+\\.\\d+)<\/td>" + + - name: Tor Relay (#2) + monitor: 33 + version_conf: + from: + url: https://onionoo.torproject.org/details?lookup=6DD7CFE5DAE710940E8DF978A5495085FEBB1703 + query: relays[0].version + to: + strategy: html + url: https://www.torproject.org/download/tor/ + query: "(\\d+\\.\\d+\\.\\d+\\.\\d+)<\/td>" + + - name: Discourse (Gwei.cz) + host: forum.gwei.cz + repo: discourse/discourse + monitor: 2 + version_conf: + from: + strategy: html + url: https://forum.gwei.cz + query: 'content="Discourse ([^\s]+) -' + to: + strategy: github + + - name: Discourse (dCZK) + host: forum.dczk.cz + repo: discourse/discourse + monitor: 2 + version_conf: + from: + strategy: html + url: https://forum.dczk.cz + query: 'content="Discourse ([^\s]+) -' + to: + strategy: github + + - name: SFTPGo + host: sftpgo.gwei.cz + repo: drakkan/sftpgo + monitor: 37 + version_conf: + from: + strategy: html + url: https://sftpgo.gwei.cz/web/admin/login + query: 'WebAdmin - ([^<]+)<\/h1>' + to: + strategy: github \ No newline at end of file