From 4ea576b2ead7b802f15b3c596eb4372ee6c31ec5 Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Sun, 23 Jun 2024 22:54:34 +0200 Subject: Remove dotrepos and add display names --- includes/data/projects.json | 90 +++++++++++++++++-------------------------- includes/refresh-projects.php | 6 ++- version | 2 +- warrant | 32 +++++++-------- 4 files changed, 56 insertions(+), 74 deletions(-) diff --git a/includes/data/projects.json b/includes/data/projects.json index 4f28374..4c0a2a8 100755 --- a/includes/data/projects.json +++ b/includes/data/projects.json @@ -22,7 +22,7 @@ "id": "c66e979845d3a24cd3a517559b7b1936", "owner": "equestria-dev", "name": "maretimesans", - "display_name": "maretimesans", + "display_name": "Maretime Sans", "description": "A font based on the 2022 My Little Pony logo", "source": "https:\/\/github.com\/equestria-dev\/maretimesans", "icon": null, @@ -37,42 +37,21 @@ "archive": false, "readme": null }, - { - "id": "67bdcb236aa0cca0b8fd3fc8c7a22b93", - "owner": "equestria-dev", - "name": "ponypush", - "display_name": "ponypush", - "description": "A fork of the ntfy Android app made for Equestria.dev's notifications platform", - "source": "https:\/\/github.com\/equestria-dev\/ponypush", - "icon": null, - "website": "https:\/\/github.com\/equestria-dev\/ponypush", - "size": 58133504, - "language": "Kotlin", - "languages": { - "Kotlin": 98.84156052772086, - "Java": 0.9996303580962986, - "JavaScript": 0.1588091141828404 - }, - "update": 1718288605, - "commit": 1718288601, - "archive": false, - "readme": null - }, { "id": "d4fe44c9ab656861943dc43d78adb83f", "owner": "equestria-dev", "name": "autopush", - "display_name": "autopush", - "description": "A set of command-line utilities made for Equestria.dev", + "display_name": "Autopush", + "description": "A command-line application to automatically commit and push code from a collection of Git repositories", "source": "https:\/\/github.com\/equestria-dev\/autopush", "icon": null, "website": "https:\/\/github.com\/equestria-dev\/autopush", - "size": 4316160, + "size": 4319232, "language": "Rust", "languages": { "Rust": 100 }, - "update": 1718917844, + "update": 1718921623, "commit": 1718917841, "archive": false, "readme": null @@ -81,7 +60,7 @@ "id": "3728b05eb842aaa2df4b6d7606b8a459", "owner": "equestria-dev", "name": "prisbeam", - "display_name": "prisbeam", + "display_name": "Prisbeam", "description": "A browser and search engine for local copies of various image boards (Derpibooru, Furbooru, e621, ...)", "source": "https:\/\/github.com\/equestria-dev\/prisbeam", "icon": null, @@ -105,21 +84,21 @@ "id": "35c010969e87e3e86364e1a553270e8e", "owner": "equestria-dev", "name": "starshine", - "display_name": "starshine", + "display_name": "Starshine (v13)", "description": "Equestria.dev's new 2024 website", "source": "https:\/\/github.com\/equestria-dev\/starshine", "icon": null, "website": "https:\/\/github.com\/equestria-dev\/starshine", - "size": 79011840, + "size": 79036416, "language": "PHP", "languages": { - "PHP": 55.479031875475435, - "CSS": 30.093982348658972, - "JavaScript": 13.806980377401704, - "Shell": 0.6200053984638916 + "PHP": 54.77494245805878, + "CSS": 30.56910433995031, + "JavaScript": 14.026107838167965, + "Shell": 0.6298453638229453 }, - "update": 1718920903, - "commit": 1718920900, + "update": 1718921171, + "commit": 1718921168, "archive": false, "readme": null }, @@ -127,22 +106,23 @@ "id": "e96224630ba66f227a54ac4ba2251b91", "owner": "equestria-dev", "name": "status", - "display_name": "status", + "display_name": "status.equestria.dev", "description": "A real-time status page and automated poller for Equestria.dev", "source": "https:\/\/github.com\/equestria-dev\/status", "icon": null, "website": "https:\/\/github.com\/equestria-dev\/status", - "size": 6984704, - "language": "JavaScript", + "size": 7015424, + "language": "Rust", "languages": { - "JavaScript": 41.35804589803491, - "Rust": 34.04905867802666, - "CSS": 22.923251339837844, - "Nix": 1.6524666758279511, - "Shell": 0.017177408272639826 + "Rust": 36.19760345672413, + "JavaScript": 35.75511901049787, + "CSS": 19.81528501640756, + "HTML": 6.788721101162635, + "Nix": 1.42842294385793, + "Shell": 0.01484847134987453 }, - "update": 1718783844, - "commit": 1718783840, + "update": 1719172259, + "commit": 1719172256, "archive": false, "readme": null }, @@ -150,21 +130,21 @@ "id": "d42d5552d548688fc3c7a57f3f7260eb", "owner": "equestria-dev", "name": "sunny-starbot", - "display_name": "sunny-starbot", + "display_name": "Sunny Starbot", "description": "An AI model trained to reproduce Sunny Starscout's voice accurately", "source": "https:\/\/github.com\/equestria-dev\/sunny-starbot", "icon": null, "website": "https:\/\/github.com\/equestria-dev\/sunny-starbot", - "size": 75162624, + "size": 75166720, "language": "PHP", "languages": { - "PHP": 83.64502319221177, - "Python": 9.48821742407173, - "JavaScript": 6.568407312733574, - "Shell": 0.2983520709829302 + "PHP": 82.67204478103392, + "Python": 10.05268356931182, + "JavaScript": 6.959170233783339, + "Shell": 0.3161014158709253 }, - "update": 1718787394, - "commit": 1718787390, + "update": 1718921704, + "commit": 1718921701, "archive": false, "readme": null }, @@ -172,7 +152,7 @@ "id": "79d8aa1e4ccdedf397a5af3cb7540d80", "owner": "equestria-dev", "name": "violette", - "display_name": "violette", + "display_name": "Violette", "description": "Raindrops's personal website project, with a major focus on design and UI", "source": "https:\/\/github.com\/equestria-dev\/violette", "icon": null, @@ -213,7 +193,7 @@ "id": "581c103a34cec5f021c003166ee20d42", "owner": "equestria-dev", "name": "wishing-star", - "display_name": "wishing-star", + "display_name": "Wishing Star", "description": "A customizable and fast static wishlist page generator, primarily designed for use with Vercel", "source": "https:\/\/github.com\/equestria-dev\/wishing-star", "icon": null, diff --git a/includes/refresh-projects.php b/includes/refresh-projects.php index 5e4ba69..28b81c7 100755 --- a/includes/refresh-projects.php +++ b/includes/refresh-projects.php @@ -24,12 +24,14 @@ while (count($current) > 0) { foreach ($gitea as $project) { if ($project["visibility"] !== "public") continue; + if (str_starts_with($project["name"], ".")) continue; print(" " . $project["name"] . "\n"); $languages = json_decode(file_get_contents("https://api.github.com/repos/equestria-dev/$project[name]/languages", false, stream_context_create(["ssl"=>["verify_peer"=>false,"verify_peer_name"=>false],"http"=>["header"=>"User-Agent: Mozilla/5.0 (Equestria.dev; +Starshine; hello@equestria.dev)\r\n"]])), true); + $project = json_decode(file_get_contents("https://api.github.com/repos/equestria-dev/$project[name]", false, stream_context_create(["ssl"=>["verify_peer"=>false,"verify_peer_name"=>false],"http"=>["header"=>"User-Agent: Mozilla/5.0 (Equestria.dev; +Starshine; hello@equestria.dev)\r\n"]])), true); + $languages2 = []; if (count($languages) > 0) { - $languages2 = []; $languages_total = array_sum(array_values($languages)); foreach ($languages as $key => $value) { @@ -41,7 +43,7 @@ foreach ($gitea as $project) { "id" => md5($project["full_name"]), "owner" => $project["owner"]["login"], "name" => $project["name"], - "display_name" => $project["name"], + "display_name" => $project["custom_properties"]["display-name"] ?? $project["name"], "description" => $project["description"], "source" => $project["html_url"], "icon" => null, diff --git a/version b/version index 24acf34..016a369 100755 --- a/version +++ b/version @@ -1 +1 @@ -13.5.7 +13.5.8 diff --git a/warrant b/warrant index 190bd97..40adb37 100755 --- a/warrant +++ b/warrant @@ -15,32 +15,32 @@ Special note should be taken if these messages ever cease being updated, or are -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 -2024-06-16 +2024-06-23 No warrants have ever been served to Equestria.dev, or Equestria.dev principals or members. No searches or seizures of any kind have ever been performed on any Equestria.dev assets. ( from https://www.reuters.com ) -Netanyahu denounces tactical pauses in Gaza fighting to get in aid -Ukraine summit strives for consensus, way forward uncertain -UK polls point to 'electoral extinction' for Prime Minister Sunak's Conservatives +Heat wave scorches US East Coast as dangerous temperatures expand to West +Russia could reduce decision time for use of nuclear weapons, lawmaker says +Trump courts Black voters in Philadelphia, asks Christians to back him one last time -Sunday, June 16 2024 +Sunday, June 23 2024 -----BEGIN PGP SIGNATURE----- -iQGzBAEBCAAdFiEErqdz2wYgxXz/sHqR773GhDWldLcFAmZvSYsACgkQ773GhDWl -dLewMgv/exPckhk12opRezBDCrtxUt0himYha/EE16nZm06MCiSkxxT9DyAwZs8p -Y+/hJHxU/sBDDiEKEjpOtGMIHGY2KpP4iCgyMXfDp1K+h6GWBXpSWNJE8DueWYyg -KSCW7jSVKHQdPtMm5zZP0X4l5facxD2XySNdKqMpHF8OIuzohK2NL6ZjPNmMcuhe -PbHwLOj8uWlhRJ+Zpnbjp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