Compare commits

..

1 Commits

Author SHA1 Message Date
f33b0fa3c2 🎉 2024-06-28 13:46:26 +02:00
5 changed files with 323 additions and 358 deletions

View File

@ -1,8 +1,8 @@
name: Collect month data
name: Update RSS
on:
workflow_dispatch:
schedule:
- cron: '0 12 1 * *' # At 12:00 Prague on the first day of the month
- cron: '39 19 * * *' # daily at 19:39 Prague
jobs:
update-rss:
@ -14,4 +14,4 @@ jobs:
node-version: lts/*
cache: 'npm'
- run: npm ci
- run: npx nodejsscript mastodonCzStats.js --git
- run: npx nodejsscript cli.mjs pull --git

View File

@ -9,7 +9,7 @@ $.api("", true)
.version(version)
.describe(description)
.option("--git", "Commit changes to git")
.action(async function main({ git: is_git }){
.action(async function main(){
let stats= [];
for(const instance of instances_cz_pre){
echo.use("-R", "Shromažďuji instance: " + instance);
@ -28,25 +28,11 @@ $.api("", true)
instances_cz: stats.sort((a, b)=> b.registrations-a.registrations),
sum: stats.reduce((acc, stats) => sumStats([acc, stats]), { statuses: 0, logins: 0, registrations: 0, mau: 0, user_count: 0 })
};
if(is_git) s.run`git pull --rebase`;
echo(JSON.stringify(out, null, " ")).to(store);
if(is_git) gitCommit([ store ], "cron");
echo(JSON.stringify(out, null, " ")).to("./mastodonCzStats.json");
$.exit(0);
})
.parse();
function gitCommit(files, des= "not specified"){
if(!files.length || !s.run`git diff --numstat`.trim())
return echo("Nothig todo");
echo("Diff to save");
s.run`git config user.name "Bot"`;
s.run`git config user.email "${"zc.murtnec@naj.elrdna".split("").reverse().join("")}"`;
s.run`git add ${files}`;
s.run`git commit -m "Updated by bot ${des}"`;
s.run`git push`;
s.run`git config --remove-section user`;
}
async function* collectStats(instances, weeks = 1) {
for(const instance of instances){
const { stats, mau, user_count }= await fetchInstanceStats(instance).catch(e=> ({}));

View File

@ -2,181 +2,253 @@
"instances_cz": [
{
"instance": "mastodonczech.cz",
"mau": 621,
"user_count": 5500,
"week": 8750741700,
"statuses": 13541,
"logins": 1897,
"registrations": 22
"mau": 741,
"user_count": 5300,
"week": 8579960795,
"statuses": 10560,
"logins": 2059,
"registrations": 12
},
{
"instance": "witter.cz",
"mau": 224,
"user_count": 1683,
"week": 8750643965,
"statuses": 2000,
"logins": 664,
"registrations": 7
"mau": 260,
"user_count": 1482,
"week": 8579976030,
"statuses": 2624,
"logins": 705,
"registrations": 10
},
{
"instance": "f.cz",
"mau": 55,
"user_count": 170,
"week": 8750599345,
"statuses": 3429,
"logins": 188,
"registrations": 2
},
{
"instance": "mamutovo.cz",
"mau": 27,
"user_count": 43,
"week": 8750593030,
"statuses": 450,
"logins": 48,
"registrations": 2
},
{
"instance": "mastodon.darksheep.social",
"mau": 3,
"user_count": 15,
"week": 8750639700,
"statuses": 0,
"logins": 3,
"registrations": 1
"mau": 46,
"user_count": 119,
"week": 8579983760,
"statuses": 894,
"logins": 142,
"registrations": 3
},
{
"instance": "mastodon.arch-linux.cz",
"mau": 114,
"user_count": 3026,
"week": 8750494290,
"statuses": 3902,
"logins": 376,
"registrations": 0
"mau": 178,
"user_count": 2987,
"week": 8579851790,
"statuses": 6207,
"logins": 498,
"registrations": 2
},
{
"instance": "mastodon.pirati.cz",
"mau": 36,
"user_count": 379,
"week": 8580233190,
"statuses": 97,
"logins": 103,
"registrations": 1
},
{
"instance": "toot.whatever.cz",
"mau": 4,
"user_count": 58,
"week": 8750809635,
"statuses": 131,
"logins": 12,
"registrations": 0
},
{
"instance": "boskovice.social",
"mau": 10,
"user_count": 28,
"week": 8750669730,
"statuses": 120,
"logins": 30,
"registrations": 0
},
{
"instance": "social.blep.cz",
"mau": 0,
"user_count": 2,
"week": 8750803825,
"statuses": 0,
"logins": 0,
"registrations": 0
"mau": 5,
"user_count": 55,
"week": 8580260155,
"statuses": 33,
"logins": 16,
"registrations": 1
},
{
"instance": "kompost.cz",
"mau": 8,
"mau": 11,
"user_count": 33,
"week": 8750388315,
"statuses": 310,
"logins": 32,
"week": 8580261425,
"statuses": 214,
"logins": 43,
"registrations": 1
},
{
"instance": "mamutovo.cz",
"mau": 7,
"user_count": 10,
"week": 8579983910,
"statuses": 422,
"logins": 21,
"registrations": 1
},
{
"instance": "nasface.cz",
"mau": 12,
"user_count": 1387,
"week": 8579868095,
"statuses": 0,
"logins": 17,
"registrations": 0
},
{
"instance": "cztwitter.cz",
"mau": 131,
"user_count": 766,
"week": 8580176805,
"statuses": 1578,
"logins": 368,
"registrations": 0
},
{
"instance": "gomastodon.cz",
"mau": 0,
"user_count": 242,
"week": 8750457190,
"mau": 2,
"user_count": 240,
"week": 8580124535,
"statuses": 0,
"logins": 0,
"registrations": 0
},
{
"instance": "mastodon.urbancloud.cz",
"mau": 11,
"user_count": 17,
"week": 8750578280,
"statuses": 6,
"logins": 32,
"registrations": 0
},
{
"instance": "spondr.cz",
"mau": 3,
"user_count": 4,
"week": 8750616650,
"statuses": 144,
"logins": 12,
"logins": 1,
"registrations": 0
},
{
"instance": "mastodon.macsnet.cz",
"mau": 3,
"user_count": 52,
"week": 8750754810,
"statuses": 178,
"week": 8580040610,
"statuses": 136,
"logins": 12,
"registrations": 0
},
{
"instance": "lgbtcz.social",
"mau": 6,
"user_count": 44,
"week": 8579846185,
"statuses": 4,
"logins": 19,
"registrations": 0
},
{
"instance": "boskovice.social",
"mau": 9,
"user_count": 26,
"week": 8580066670,
"statuses": 129,
"logins": 36,
"registrations": 0
},
{
"instance": "mastodon.1984.cz",
"mau": 3,
"user_count": 20,
"week": 8579954685,
"statuses": 0,
"logins": 11,
"registrations": 0
},
{
"instance": "mastodon.rozhlas.cz",
"mau": 5,
"user_count": 18,
"week": 8580242605,
"statuses": 269,
"logins": 18,
"registrations": 0
},
{
"instance": "fediverse.cz",
"mau": 2,
"user_count": 18,
"week": 8750462455,
"statuses": 622,
"logins": 10,
"week": 8579869890,
"statuses": 0,
"logins": 5,
"registrations": 0
},
{
"instance": "mastodon.urbancloud.cz",
"mau": 11,
"user_count": 16,
"week": 8579982050,
"statuses": 14,
"logins": 32,
"registrations": 0
},
{
"instance": "kocour.club",
"mau": 7,
"mau": 9,
"user_count": 14,
"week": 8750497835,
"week": 8579926635,
"statuses": 27,
"logins": 29,
"logins": 39,
"registrations": 0
},
{
"instance": "ajtaci.club",
"mau": 1,
"user_count": 9,
"week": 8750794705,
"week": 8579844105,
"statuses": 4,
"logins": 5,
"registrations": 0
},
{
"instance": "mastodon.darksheep.social",
"mau": 0,
"user_count": 11,
"week": 8580159440,
"statuses": 0,
"logins": 4,
"logins": 0,
"registrations": 0
},
{
"instance": "social.filik.eu",
"mau": 4,
"user_count": 7,
"week": 8580201360,
"statuses": 12,
"logins": 13,
"registrations": 0
},
{
"instance": "social.meyer.cz",
"mau": 3,
"user_count": 7,
"week": 8750503730,
"statuses": 1,
"logins": 10,
"mau": 4,
"user_count": 9,
"week": 8579926085,
"statuses": 125,
"logins": 16,
"registrations": 0
},
{
"instance": "mastodon.starnet.cz",
"mau": 2,
"user_count": 7,
"week": 8750424915,
"statuses": 0,
"week": 8579859190,
"statuses": 10,
"logins": 6,
"registrations": 0
},
{
"instance": "blogator.com",
"mau": 0,
"user_count": 5,
"week": 8579917765,
"statuses": 0,
"logins": 0,
"registrations": 0
},
{
"instance": "hatedon.1984.cz",
"mau": 1,
"user_count": 6,
"week": 8498617695,
"statuses": 11,
"logins": 4,
"registrations": 0
},
{
"instance": "mastodon.loutaci.cz",
"mau": 0,
"user_count": 7,
"week": 8580272895,
"statuses": 0,
"logins": 1,
"registrations": 0
},
{
"instance": "mastodon.skorpil.cz",
"mau": 3,
"user_count": 3,
"week": 8750642125,
"statuses": 25,
"week": 8579901010,
"statuses": 22,
"logins": 12,
"registrations": 0
},
@ -184,7 +256,43 @@
"instance": "mastodon.hinata.cz",
"mau": 1,
"user_count": 3,
"week": 8750618215,
"week": 8580250055,
"statuses": 0,
"logins": 4,
"registrations": 0
},
{
"instance": "social.toxwat.cz",
"mau": 2,
"user_count": 4,
"week": 8580186065,
"statuses": 0,
"logins": 2,
"registrations": 0
},
{
"instance": "spondr.cz",
"mau": 3,
"user_count": 3,
"week": 8579861675,
"statuses": 217,
"logins": 15,
"registrations": 0
},
{
"instance": "hlidacstatu.social",
"mau": 1,
"user_count": 3,
"week": 8580261595,
"statuses": 1,
"logins": 4,
"registrations": 0
},
{
"instance": "mastodon.train.cz",
"mau": 1,
"user_count": 2,
"week": 8579852440,
"statuses": 0,
"logins": 4,
"registrations": 0
@ -193,7 +301,16 @@
"instance": "social.bobek.cz",
"mau": 1,
"user_count": 2,
"week": 8750536885,
"week": 8579922885,
"statuses": 0,
"logins": 5,
"registrations": 0
},
{
"instance": "social.blep.cz",
"mau": 1,
"user_count": 2,
"week": 8579976085,
"statuses": 0,
"logins": 4,
"registrations": 0
@ -202,7 +319,7 @@
"instance": "mastodon.haxo.cz",
"mau": 0,
"user_count": 2,
"week": 8750488655,
"week": 8580272925,
"statuses": 0,
"logins": 0,
"registrations": 0
@ -211,8 +328,17 @@
"instance": "mutant.cz",
"mau": 1,
"user_count": 2,
"week": 8750809650,
"statuses": 1,
"week": 8580107325,
"statuses": 5,
"logins": 4,
"registrations": 0
},
{
"instance": "mastodon.gmb.cz",
"mau": 1,
"user_count": 1,
"week": 8580144695,
"statuses": 0,
"logins": 4,
"registrations": 0
},
@ -220,35 +346,53 @@
"instance": "rodina-sucha.cz",
"mau": 1,
"user_count": 1,
"week": 8750379010,
"statuses": 27,
"logins": 4,
"week": 8580244660,
"statuses": 85,
"logins": 5,
"registrations": 0
},
{
"instance": "social.taborsky.cz",
"mau": 1,
"user_count": 1,
"week": 8750443645,
"statuses": 0,
"logins": 1,
"week": 8580259410,
"statuses": 2,
"logins": 4,
"registrations": 0
},
{
"instance": "cynikobecny.cz",
"mau": 2,
"user_count": 2,
"week": 8579852145,
"statuses": 50,
"logins": 2,
"registrations": 0
},
{
"instance": "mastodon.morwud.cz",
"mau": 1,
"user_count": 1,
"week": 8750638670,
"statuses": 16,
"week": 8580096015,
"statuses": 5,
"logins": 4,
"registrations": 0
},
{
"instance": "mastodon.ok1bt.cz",
"mau": 0,
"user_count": 7,
"week": 8579952040,
"statuses": 0,
"logins": 0,
"registrations": 0
},
{
"instance": "torsten.cz",
"mau": 1,
"user_count": 4,
"week": 8750391280,
"statuses": 3,
"week": 8580264110,
"statuses": 13,
"logins": 5,
"registrations": 0
},
@ -256,98 +400,26 @@
"instance": "mastodon.zs-studanka.cz",
"mau": 1,
"user_count": 1,
"week": 8750562150,
"statuses": 15,
"logins": 5,
"registrations": 0
},
{
"instance": "social.jirutka.cz",
"mau": 1,
"user_count": 2,
"week": 8750488575,
"statuses": 2,
"logins": 5,
"registrations": 0
},
{
"instance": "social.sukany.cz",
"mau": 0,
"user_count": 1,
"week": 8750503805,
"statuses": 0,
"logins": 0,
"registrations": 0
},
{
"instance": "mastodon.cxm.cz",
"mau": 1,
"user_count": 1,
"week": 8750514135,
"statuses": 1,
"logins": 1,
"registrations": 0
},
{
"instance": "toot.dvratil.cz",
"mau": 1,
"user_count": 1,
"week": 8750486110,
"statuses": 0,
"logins": 2,
"registrations": 0
},
{
"instance": "mastodon.1984.cz",
"mau": 2,
"user_count": 21,
"week": 8750469660,
"statuses": 0,
"logins": 8,
"registrations": 0
},
{
"instance": "social.toxwat.cz",
"mau": 0,
"user_count": 3,
"week": 8750418150,
"statuses": 0,
"logins": 0,
"week": 8579992375,
"statuses": 10,
"logins": 4,
"registrations": 0
},
{
"instance": "social.vojtat.cz",
"mau": 1,
"user_count": 1,
"week": 8750705800,
"week": 8580261025,
"statuses": 0,
"logins": 1,
"registrations": 0
},
{
"instance": "mastodon.pirati.cz",
"mau": 23,
"user_count": 396,
"week": 8750392520,
"statuses": 60,
"logins": 68,
"registrations": 0
},
{
"instance": "mastodon.macadmin.cz",
"mau": 1,
"user_count": 1,
"week": 8750608885,
"statuses": 1,
"logins": 4,
"registrations": 0
}
],
"sum": {
"statuses": 25012,
"logins": 3497,
"registrations": 34,
"mau": 1139,
"user_count": 11375
"statuses": 23780,
"logins": 4276,
"registrations": 31,
"mau": 1512,
"user_count": 13072
}
}

167
package-lock.json generated
View File

@ -1,29 +1,27 @@
{
"name": "mastodon-cz-stats",
"version": "1.0.2",
"version": "1.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "mastodon-cz-stats",
"version": "1.0.2",
"version": "1.0.0",
"license": "MIT",
"dependencies": {
"nodejsscript": "~1.0"
},
"bin": {
"mastodon-cz-stats": "mastodonCzStats.js"
},
"engines": {
"node": ">=18.19"
},
"peerDependencies": {
"nodejsscript": "~1.0"
}
},
"node_modules/@types/glob": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.2.0.tgz",
"integrity": "sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==",
"license": "MIT",
"peer": true,
"dependencies": {
"@types/minimatch": "*",
"@types/node": "*"
@ -32,33 +30,29 @@
"node_modules/@types/minimatch": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-5.1.2.tgz",
"integrity": "sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==",
"license": "MIT",
"peer": true
"integrity": "sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA=="
},
"node_modules/@types/mri": {
"version": "1.1.5",
"resolved": "https://registry.npmjs.org/@types/mri/-/mri-1.1.5.tgz",
"integrity": "sha512-C6NscC1RO9iz1YmvqPlFdbo/q8krKwrvWsciw2MG+pH+WUgxWKv1VFpY/Y2AAZubzUpA4FH6d+FDtroboN9xMw==",
"license": "MIT",
"peer": true
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/@types/mri/-/mri-1.2.0.tgz",
"integrity": "sha512-G4+QT8Plq6q1UnOX6JgtLrEU/4QXF/Z5oNr6TWdiv9EU2hsJPbemH4rCecwNajzij+2CxrxFg2Y98Q+ViDV79Q==",
"deprecated": "This is a stub types definition. mri provides its own type definitions, so you do not need this installed.",
"dependencies": {
"mri": "*"
}
},
"node_modules/@types/node": {
"version": "22.10.1",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.10.1.tgz",
"integrity": "sha512-qKgsUwfHZV2WCWLAnVP1JqnpE6Im6h3Y0+fYgMTasNQ7V++CBX5OT1as0g0f+OyubbFqhf6XVNIsmN4IIhEgGQ==",
"license": "MIT",
"peer": true,
"version": "20.14.9",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.9.tgz",
"integrity": "sha512-06OCtnTXtWOZBJlRApleWndH4JsRVs1pDCc8dLSQp+7PpUpX3ePdHyeNSFTeSe7FtKyQkrlPvHwJOW3SLd8Oyg==",
"dependencies": {
"undici-types": "~6.20.0"
"undici-types": "~5.26.4"
}
},
"node_modules/@types/sade": {
"version": "1.7.8",
"resolved": "https://registry.npmjs.org/@types/sade/-/sade-1.7.8.tgz",
"integrity": "sha512-WGEWfxQ8VHLm3JS4ljRR3MSPqVjY0JMo6zsbBywOjFIxP8Cizxx1p6r6FxOnAOZpUn4VOFoRRTXFmaOLD/+VOQ==",
"license": "MIT",
"peer": true,
"dependencies": {
"@types/mri": "*"
}
@ -67,8 +61,6 @@
"version": "0.8.15",
"resolved": "https://registry.npmjs.org/@types/shelljs/-/shelljs-0.8.15.tgz",
"integrity": "sha512-vzmnCHl6hViPu9GNLQJ+DZFd6BQI2DBTUeOvYHqkWQLMfKAAQYMb/xAmZkTogZI/vqXHCWkqDRymDI5p0QTi5Q==",
"license": "MIT",
"peer": true,
"dependencies": {
"@types/glob": "~7.2.0",
"@types/node": "*"
@ -78,8 +70,6 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz",
"integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==",
"license": "MIT",
"peer": true,
"dependencies": {
"event-target-shim": "^5.0.0"
},
@ -91,8 +81,6 @@
"version": "4.3.2",
"resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz",
"integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==",
"license": "MIT",
"peer": true,
"dependencies": {
"type-fest": "^0.21.3"
},
@ -107,8 +95,6 @@
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
"license": "MIT",
"peer": true,
"engines": {
"node": ">=8"
}
@ -117,8 +103,6 @@
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"license": "MIT",
"peer": true,
"dependencies": {
"color-convert": "^2.0.1"
},
@ -132,16 +116,12 @@
"node_modules/any-shell-escape": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/any-shell-escape/-/any-shell-escape-0.1.1.tgz",
"integrity": "sha512-36j4l5HVkboyRhIWgtMh1I9i8LTdFqVwDEHy1cp+QioJyKgAUG40X0W8s7jakWRta/Sjvm8mUG1fU6Tj8mWagQ==",
"license": "MIT",
"peer": true
"integrity": "sha512-36j4l5HVkboyRhIWgtMh1I9i8LTdFqVwDEHy1cp+QioJyKgAUG40X0W8s7jakWRta/Sjvm8mUG1fU6Tj8mWagQ=="
},
"node_modules/async-exit-hook": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/async-exit-hook/-/async-exit-hook-1.1.2.tgz",
"integrity": "sha512-CeTSWB5Bou31xSHeO45ZKgLPRaJbV4I8csRcFYETDBehX7H+1GDO/v+v8G7fZmar1gOmYa6UTXn6d/WIiJbslw==",
"license": "MIT",
"peer": true,
"engines": {
"node": ">=0.12.0"
}
@ -150,14 +130,12 @@
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
"integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
"license": "MIT",
"peer": true
},
"node_modules/brace-expansion": {
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
"license": "MIT",
"peer": true,
"dependencies": {
"balanced-match": "^1.0.0",
@ -168,8 +146,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
"license": "MIT",
"peer": true,
"dependencies": {
"color-name": "~1.1.4"
},
@ -180,23 +156,18 @@
"node_modules/color-name": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"license": "MIT",
"peer": true
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
},
"node_modules/concat-map": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
"integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
"license": "MIT",
"peer": true
},
"node_modules/css-in-console": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/css-in-console/-/css-in-console-2.1.0.tgz",
"integrity": "sha512-HfEIgVmaZowNLWVBdpp5gI4zz8KBKgl0IpYHLCRv6poFBCOgtdBIa8rSy8l9UTsTITIXy5K7PnlEoExggkT2KQ==",
"license": "MIT",
"peer": true,
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/css-in-console/-/css-in-console-2.0.0.tgz",
"integrity": "sha512-Xbphn3qbe/XO67D8dr7Q39qSqi3ddnSsL72nixhKLiUEr8K3oTlk9aCOKRyCVNgPtgWwhynM19jj5mw1n/K2Tg==",
"engines": {
"node": ">=18"
}
@ -205,8 +176,6 @@
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz",
"integrity": "sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==",
"license": "MIT",
"peer": true,
"engines": {
"node": ">= 12"
}
@ -214,16 +183,12 @@
"node_modules/emoji-regex": {
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
"license": "MIT",
"peer": true
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="
},
"node_modules/event-target-shim": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz",
"integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==",
"license": "MIT",
"peer": true,
"engines": {
"node": ">=6"
}
@ -242,8 +207,6 @@
"url": "https://paypal.me/jimmywarting"
}
],
"license": "MIT",
"peer": true,
"dependencies": {
"node-domexception": "^1.0.0",
"web-streams-polyfill": "^3.0.3"
@ -256,8 +219,6 @@
"version": "4.0.10",
"resolved": "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz",
"integrity": "sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==",
"license": "MIT",
"peer": true,
"dependencies": {
"fetch-blob": "^3.1.2"
},
@ -269,14 +230,12 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
"integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==",
"license": "ISC",
"peer": true
},
"node_modules/function-bind": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
"integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
"license": "MIT",
"peer": true,
"funding": {
"url": "https://github.com/sponsors/ljharb"
@ -287,7 +246,6 @@
"resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
"integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
"deprecated": "Glob versions prior to v9 are no longer supported",
"license": "ISC",
"peer": true,
"dependencies": {
"fs.realpath": "^1.0.0",
@ -308,7 +266,6 @@
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
"integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",
"license": "MIT",
"peer": true,
"dependencies": {
"function-bind": "^1.1.2"
@ -322,7 +279,6 @@
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
"integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
"deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.",
"license": "ISC",
"peer": true,
"dependencies": {
"once": "^1.3.0",
@ -333,31 +289,26 @@
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
"license": "ISC",
"peer": true
},
"node_modules/inspect-custom-symbol": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/inspect-custom-symbol/-/inspect-custom-symbol-1.1.1.tgz",
"integrity": "sha512-GOucsp9EcdlLdhPUyOTvQDnbFJtp2WBWZV1Jqe+mVnkJQBL3w96+fB84C+JL+EKXOspMdB0eMDQPDp5w9fkfZA==",
"license": "MIT",
"peer": true
"integrity": "sha512-GOucsp9EcdlLdhPUyOTvQDnbFJtp2WBWZV1Jqe+mVnkJQBL3w96+fB84C+JL+EKXOspMdB0eMDQPDp5w9fkfZA=="
},
"node_modules/interpret": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz",
"integrity": "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==",
"license": "MIT",
"peer": true,
"engines": {
"node": ">= 0.10"
}
},
"node_modules/is-core-module": {
"version": "2.15.1",
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.1.tgz",
"integrity": "sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==",
"license": "MIT",
"version": "2.14.0",
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.14.0.tgz",
"integrity": "sha512-a5dFJih5ZLYlRtDc0dZWP7RiKr6xIKzmn/oAYCDvdLThadVgyJwlaoQPmRtMSpz+rk0OGAgIu+TcM9HUF0fk1A==",
"peer": true,
"dependencies": {
"hasown": "^2.0.2"
@ -373,8 +324,6 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
"integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
"license": "MIT",
"peer": true,
"engines": {
"node": ">=8"
}
@ -382,23 +331,17 @@
"node_modules/just-flatten-it": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/just-flatten-it/-/just-flatten-it-2.2.1.tgz",
"integrity": "sha512-VwvlzikphspzZL38LiZpoBsFGQy6MnmXYekBeZA8lSNwgSC87zA3a93bCZKkDuOM+djMZhfjd3lXAZyxficKCg==",
"license": "MIT",
"peer": true
"integrity": "sha512-VwvlzikphspzZL38LiZpoBsFGQy6MnmXYekBeZA8lSNwgSC87zA3a93bCZKkDuOM+djMZhfjd3lXAZyxficKCg=="
},
"node_modules/just-zip-it": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/just-zip-it/-/just-zip-it-2.3.1.tgz",
"integrity": "sha512-h8Y3DAVTZRP3Weq7btWYfkYHQGhxiuKzfOO7Ec+x8XaDcBvbOsC2jIdezC6tEzbt+A4fTJTREnj3gF5DyMkFfw==",
"license": "MIT",
"peer": true
"integrity": "sha512-h8Y3DAVTZRP3Weq7btWYfkYHQGhxiuKzfOO7Ec+x8XaDcBvbOsC2jIdezC6tEzbt+A4fTJTREnj3gF5DyMkFfw=="
},
"node_modules/log-update-async-hook": {
"version": "2.0.7",
"resolved": "https://registry.npmjs.org/log-update-async-hook/-/log-update-async-hook-2.0.7.tgz",
"integrity": "sha512-V9KpD1AZUBd/oiZ+/Xsgd5rRP9awhgtRiDv5Am4VQCixiDnAbXMdt/yKz41kCzYZtVbwC6YCxnWEF3zjNEwktA==",
"license": "MIT",
"peer": true,
"dependencies": {
"ansi-escapes": "^4.3.2",
"async-exit-hook": "^1.1.2",
@ -410,8 +353,6 @@
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz",
"integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==",
"license": "MIT",
"peer": true,
"engines": {
"node": ">=4"
}
@ -420,7 +361,6 @@
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
"license": "ISC",
"peer": true,
"dependencies": {
"brace-expansion": "^1.1.7"
@ -433,8 +373,6 @@
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/mri/-/mri-1.2.0.tgz",
"integrity": "sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==",
"license": "MIT",
"peer": true,
"engines": {
"node": ">=4"
}
@ -453,8 +391,6 @@
"url": "https://paypal.me/jimmywarting"
}
],
"license": "MIT",
"peer": true,
"engines": {
"node": ">=10.5.0"
}
@ -463,8 +399,6 @@
"version": "3.3.2",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.3.2.tgz",
"integrity": "sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA==",
"license": "MIT",
"peer": true,
"dependencies": {
"data-uri-to-buffer": "^4.0.0",
"fetch-blob": "^3.1.4",
@ -479,16 +413,14 @@
}
},
"node_modules/nodejsscript": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/nodejsscript/-/nodejsscript-1.0.3.tgz",
"integrity": "sha512-R6mp1CNY269bP+HmIpZ/vvMgPNvNjKrPvB3IMBGLoi0lm8261P4ZY8Vk1a6VFtDTZW5tnq0NPnodZn1oumg5zg==",
"license": "MIT",
"peer": true,
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/nodejsscript/-/nodejsscript-1.0.1.tgz",
"integrity": "sha512-FjicGRDDsrWCZNBdjHKLjriidynoSIN8kGrZGTZFBBiKxSydsui4LvrpZzvoAg9J6RE6vjxEXSLhrxGox6y+Dg==",
"dependencies": {
"@types/sade": "~1.7",
"@types/shelljs": "~0.8",
"abort-controller": "~3.0",
"css-in-console": "~2.1",
"css-in-console": "~2.0",
"log-update-async-hook": "~2.0",
"node-fetch": "~3.3",
"sade": "~1.8",
@ -499,7 +431,7 @@
"nodejsscript": "bin/index.mjs"
},
"engines": {
"node": ">= 18.0.0"
"node": ">= 16.0.0"
},
"peerDependencies": {
"shelljs": "~0.8"
@ -509,7 +441,6 @@
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
"integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
"license": "ISC",
"peer": true,
"dependencies": {
"wrappy": "1"
@ -519,8 +450,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz",
"integrity": "sha512-oyyPpiMaKARvvcgip+JV+7zci5L8D1W9RZIz2l1o08AM3pfspitVWnPt3mzHcBPp12oYMTy0pqrFs/C+m3EwsQ==",
"license": "MIT",
"peer": true,
"dependencies": {
"mimic-fn": "^1.0.0"
},
@ -532,7 +461,6 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
"integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",
"license": "MIT",
"peer": true,
"engines": {
"node": ">=0.10.0"
@ -542,7 +470,6 @@
"version": "1.0.7",
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
"integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
"license": "MIT",
"peer": true
},
"node_modules/rechoir": {
@ -561,7 +488,6 @@
"version": "1.22.8",
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz",
"integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==",
"license": "MIT",
"peer": true,
"dependencies": {
"is-core-module": "^2.13.0",
@ -579,8 +505,6 @@
"version": "1.8.1",
"resolved": "https://registry.npmjs.org/sade/-/sade-1.8.1.tgz",
"integrity": "sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==",
"license": "MIT",
"peer": true,
"dependencies": {
"mri": "^1.1.0"
},
@ -592,8 +516,6 @@
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/shell-escape-tag/-/shell-escape-tag-2.0.2.tgz",
"integrity": "sha512-kqmtJG6VzTahZl8Y3384ldskA9rzoEMdXLoMEBAq9334/UDdmfWl3OtmrGJPlVcyXvcSy3poDKka57gMxskMPw==",
"license": "Artistic-2.0",
"peer": true,
"dependencies": {
"any-shell-escape": "^0.1.1",
"inspect-custom-symbol": "^1.1.1",
@ -605,7 +527,6 @@
"version": "0.8.5",
"resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.8.5.tgz",
"integrity": "sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==",
"license": "BSD-3-Clause",
"peer": true,
"dependencies": {
"glob": "^7.0.0",
@ -623,8 +544,6 @@
"version": "4.2.3",
"resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
"integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
"license": "MIT",
"peer": true,
"dependencies": {
"emoji-regex": "^8.0.0",
"is-fullwidth-code-point": "^3.0.0",
@ -638,8 +557,6 @@
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
"license": "MIT",
"peer": true,
"dependencies": {
"ansi-regex": "^5.0.1"
},
@ -651,7 +568,6 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
"integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",
"license": "MIT",
"peer": true,
"engines": {
"node": ">= 0.4"
@ -664,8 +580,6 @@
"version": "0.21.3",
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz",
"integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==",
"license": "(MIT OR CC0-1.0)",
"peer": true,
"engines": {
"node": ">=10"
},
@ -674,18 +588,14 @@
}
},
"node_modules/undici-types": {
"version": "6.20.0",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz",
"integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==",
"license": "MIT",
"peer": true
"version": "5.26.5",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
"integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA=="
},
"node_modules/web-streams-polyfill": {
"version": "3.3.3",
"resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.3.3.tgz",
"integrity": "sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==",
"license": "MIT",
"peer": true,
"engines": {
"node": ">= 8"
}
@ -694,8 +604,6 @@
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
"integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
"license": "MIT",
"peer": true,
"dependencies": {
"ansi-styles": "^4.0.0",
"string-width": "^4.1.0",
@ -712,7 +620,6 @@
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
"integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
"license": "ISC",
"peer": true
}
}

View File

@ -1,6 +1,6 @@
{
"name": "mastodon-cz-stats",
"version": "1.0.2",
"version": "1.0.0",
"description": "Experimentální skript k získání českých Mastodon instancí a dodatečných informací.",
"bin": "mastodonCzStats.js",
"scripts": {
@ -16,7 +16,7 @@
"url": "https://gitea.jaandrle.cz/jaandrle/mastodonCzStats/issues"
},
"license": "MIT",
"peerDependencies": {
"dependencies": {
"nodejsscript": "~1.0"
},
"engines": {