Spaces:
Running
Running
blockapp
#3
by
ffonavia
- opened
This view is limited to 50 files because it contains too many changes.Β
See the raw diff here.
- .gitignore +0 -3
- README.md +1 -1
- bun.lock +0 -218
- index.html +22 -45
- package.json +0 -8
- screenshots.json +0 -0
- screenshots/.DS_Store +0 -0
- screenshots/{space-0xsarah-touch-orange-try3.png β 4-space-ayokings-sam-s-space.png} +2 -2
- screenshots/{space-1234techrules-a-space.png β 4-space-experimentalmind-phalluserectus-vs-pussycats.png} +2 -2
- screenshots/{space-0xsarah-touch-orange-try-2.png β 4-space-ezzmohamed-test.png} +2 -2
- screenshots/{space-0xsarah-touch-orange-try-4.png β 4-space-itcreativetbb-i-t-creative-shop.png} +2 -2
- screenshots/7-space-0xsarah-touch-orange-try3.png +3 -0
- screenshots/7-space-AG2001Gomaa-ag-xo.png +3 -0
- screenshots/7-space-Abdalrhman12-bitcoin-miner.png +3 -0
- screenshots/7-space-Ahmed1900191-web.png +3 -0
- screenshots/{space-Tashy-playwright-timeline.png β 7-space-AhmedMansour-asa.png} +1 -1
- screenshots/7-space-Altaire-norfolk.png +3 -0
- screenshots/7-space-AndriyLuc-rideshare.png +3 -0
- screenshots/7-space-Antoster-armed-penguin-game-deepsite.png +3 -0
- screenshots/{space-josephbasa-blue-call.png β 7-space-Babbles-rangesbabbles.png} +2 -2
- screenshots/{space-tarcisiolago-incrivel.png β 7-space-Badlev-tankgame.png} +1 -1
- screenshots/7-space-Barbuuuuuuuu-dark-max-ai-server.png +3 -0
- screenshots/7-space-Belal-32-ping-pong-vs-ai.png +3 -0
- screenshots/7-space-Belal-32-wierd-gift-page-deepsite.png +3 -0
- screenshots/7-space-Bio-Du-financial-question-generator-chinese.png +3 -0
- screenshots/7-space-DIMASIK5252-geometrya.png +3 -0
- screenshots/7-space-DIMASIK5252-tictactoe.png +3 -0
- screenshots/7-space-DarkDuckDock-deepsite.png +3 -0
- screenshots/{space-Graffoe-deepsite-test.png β 7-space-Dhjfdrtyhb-tdwg12q.png} +2 -2
- screenshots/7-space-Dmitry999-projectxxxx.png +3 -0
- screenshots/7-space-Engenegr-pro-2.png +3 -0
- screenshots/7-space-Ferre067-cyberpunk-map-generator.png +3 -0
- screenshots/7-space-HOrdye-cystal-seer1.png +3 -0
- screenshots/{space-atlasnq-test1.png β 7-space-Hanafi98-twheed.png} +2 -2
- screenshots/7-space-HarI1Ft2-z.png +3 -0
- screenshots/7-space-Joph-pickelize.png +3 -0
- screenshots/7-space-Kbartawi-stuff.png +3 -0
- screenshots/{space-xmulderyu-my-first-deepsite.png β 7-space-Keggz-ferskvann-adventure.png} +2 -2
- screenshots/7-space-Kluch0296-kluch-s-space.png +3 -0
- screenshots/7-space-Laibniz-italian-snake.png +3 -0
- screenshots/7-space-MMasri-read-segd-rev3-1.png +3 -0
- screenshots/7-space-Mars1107-analyze.png +3 -0
- screenshots/7-space-Meltmello-typing-game.png +3 -0
- screenshots/7-space-Nereck-games-01.png +3 -0
- screenshots/7-space-OkyNb-tolka-counter.png +3 -0
- screenshots/7-space-Pullinteeth-superdent.png +3 -0
- screenshots/7-space-Sanyka-stalin-simulator.png +3 -0
- screenshots/7-space-Saveup-tradinggo.png +3 -0
- screenshots/7-space-Siemprefresh-siempre.png +3 -0
- screenshots/{space-randt-bomb-defusal.png β 7-space-Soert-fish-game.png} +2 -2
.gitignore
CHANGED
@@ -1,4 +1 @@
|
|
1 |
.aider*
|
2 |
-
node_modules
|
3 |
-
spec.md
|
4 |
-
update_gallery.ts
|
|
|
1 |
.aider*
|
|
|
|
|
|
README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
emoji: π
|
4 |
colorFrom: blue
|
5 |
colorTo: indigo
|
|
|
1 |
---
|
2 |
+
title: Deepsite Gallery
|
3 |
emoji: π
|
4 |
colorFrom: blue
|
5 |
colorTo: indigo
|
bun.lock
DELETED
@@ -1,218 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"lockfileVersion": 1,
|
3 |
-
"workspaces": {
|
4 |
-
"": {
|
5 |
-
"dependencies": {
|
6 |
-
"@google/generative-ai": "^0.24.0",
|
7 |
-
"mime-types": "^3.0.1",
|
8 |
-
"p-limit": "^6.2.0",
|
9 |
-
"puppeteer": "^24.6.0",
|
10 |
-
},
|
11 |
-
},
|
12 |
-
},
|
13 |
-
"packages": {
|
14 |
-
"@babel/code-frame": ["@babel/[email protected]", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.25.9", "js-tokens": "^4.0.0", "picocolors": "^1.0.0" } }, "sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ=="],
|
15 |
-
|
16 |
-
"@babel/helper-validator-identifier": ["@babel/[email protected]", "", {}, "sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ=="],
|
17 |
-
|
18 |
-
"@google/generative-ai": ["@google/[email protected]", "", {}, "sha512-fnEITCGEB7NdX0BhoYZ/cq/7WPZ1QS5IzJJfC3Tg/OwkvBetMiVJciyaan297OvE4B9Jg1xvo0zIazX/9sGu1Q=="],
|
19 |
-
|
20 |
-
"@puppeteer/browsers": ["@puppeteer/[email protected]", "", { "dependencies": { "debug": "^4.4.0", "extract-zip": "^2.0.1", "progress": "^2.0.3", "proxy-agent": "^6.5.0", "semver": "^7.7.1", "tar-fs": "^3.0.8", "yargs": "^17.7.2" }, "bin": { "browsers": "lib/cjs/main-cli.js" } }, "sha512-8+xM+cFydYET4X/5/3yZMHs7sjS6c9I6H5I3xJdb6cinzxWUT/I2QVw4avxCQ8QDndwdHkG/FiSZIrCjAbaKvQ=="],
|
21 |
-
|
22 |
-
"@tootallnate/quickjs-emscripten": ["@tootallnate/[email protected]", "", {}, "sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA=="],
|
23 |
-
|
24 |
-
"@types/node": ["@types/[email protected]", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-Kmpl+z84ILoG+3T/zQFyAJsU6EPTmOCj8/2+83fSN6djd6I4o7uOuGIH6vq3PrjY5BGitSbFuMN18j3iknubbA=="],
|
25 |
-
|
26 |
-
"@types/yauzl": ["@types/[email protected]", "", { "dependencies": { "@types/node": "*" } }, "sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q=="],
|
27 |
-
|
28 |
-
"agent-base": ["[email protected]", "", {}, "sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw=="],
|
29 |
-
|
30 |
-
"ansi-regex": ["[email protected]", "", {}, "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ=="],
|
31 |
-
|
32 |
-
"ansi-styles": ["[email protected]", "", { "dependencies": { "color-convert": "^2.0.1" } }, "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="],
|
33 |
-
|
34 |
-
"argparse": ["[email protected]", "", {}, "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q=="],
|
35 |
-
|
36 |
-
"ast-types": ["[email protected]", "", { "dependencies": { "tslib": "^2.0.1" } }, "sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w=="],
|
37 |
-
|
38 |
-
"b4a": ["[email protected]", "", {}, "sha512-OnAYlL5b7LEkALw87fUVafQw5rVR9RjwGd4KUwNQ6DrrNmaVaUCgLipfVlzrPQ4tWOR9P0IXGNOx50jYCCdSJg=="],
|
39 |
-
|
40 |
-
"bare-events": ["[email protected]", "", {}, "sha512-+gFfDkR8pj4/TrWCGUGWmJIkBwuxPS5F+a5yWjOHQt2hHvNZd5YLzadjmDUtFmMM4y429bnKLa8bYBMHcYdnQA=="],
|
41 |
-
|
42 |
-
"bare-fs": ["[email protected]", "", { "dependencies": { "bare-events": "^2.5.4", "bare-path": "^3.0.0", "bare-stream": "^2.6.4" }, "peerDependencies": { "bare-buffer": "*" }, "optionalPeers": ["bare-buffer"] }, "sha512-8wSeOia5B7LwD4+h465y73KOdj5QHsbbuoUfPBi+pXgFJIPuG7SsiOdJuijWMyfid49eD+WivpfY7KT8gbAzBA=="],
|
43 |
-
|
44 |
-
"bare-os": ["[email protected]", "", {}, "sha512-uaIjxokhFidJP+bmmvKSgiMzj2sV5GPHaZVAIktcxcpCyBFFWO+YlikVAdhmUo2vYFvFhOXIAlldqV29L8126g=="],
|
45 |
-
|
46 |
-
"bare-path": ["[email protected]", "", { "dependencies": { "bare-os": "^3.0.1" } }, "sha512-tyfW2cQcB5NN8Saijrhqn0Zh7AnFNsnczRcuWODH0eYAXBsJ5gVxAUuNr7tsHSC6IZ77cA0SitzT+s47kot8Mw=="],
|
47 |
-
|
48 |
-
"bare-stream": ["[email protected]", "", { "dependencies": { "streamx": "^2.21.0" }, "peerDependencies": { "bare-buffer": "*", "bare-events": "*" }, "optionalPeers": ["bare-buffer", "bare-events"] }, "sha512-jSmxKJNJmHySi6hC42zlZnq00rga4jjxcgNZjY9N5WlOe/iOoGRtdwGsHzQv2RlH2KOYMwGUXhf2zXd32BA9RA=="],
|
49 |
-
|
50 |
-
"basic-ftp": ["[email protected]", "", {}, "sha512-4Bcg1P8xhUuqcii/S0Z9wiHIrQVPMermM1any+MX5GeGD7faD3/msQUDGLol9wOcz4/jbg/WJnGqoJF6LiBdtg=="],
|
51 |
-
|
52 |
-
"buffer-crc32": ["[email protected]", "", {}, "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ=="],
|
53 |
-
|
54 |
-
"callsites": ["[email protected]", "", {}, "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ=="],
|
55 |
-
|
56 |
-
"chromium-bidi": ["[email protected]", "", { "dependencies": { "mitt": "^3.0.1", "zod": "^3.24.1" }, "peerDependencies": { "devtools-protocol": "*" } }, "sha512-ZOGRDAhBMX1uxL2Cm2TDuhImbrsEz5A/tTcVU6RpXEWaTNUNwsHW6njUXizh51Ir6iqHbKAfhA2XK33uBcLo5A=="],
|
57 |
-
|
58 |
-
"cliui": ["[email protected]", "", { "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.1", "wrap-ansi": "^7.0.0" } }, "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ=="],
|
59 |
-
|
60 |
-
"color-convert": ["[email protected]", "", { "dependencies": { "color-name": "~1.1.4" } }, "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ=="],
|
61 |
-
|
62 |
-
"color-name": ["[email protected]", "", {}, "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="],
|
63 |
-
|
64 |
-
"cosmiconfig": ["[email protected]", "", { "dependencies": { "env-paths": "^2.2.1", "import-fresh": "^3.3.0", "js-yaml": "^4.1.0", "parse-json": "^5.2.0" }, "peerDependencies": { "typescript": ">=4.9.5" }, "optionalPeers": ["typescript"] }, "sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg=="],
|
65 |
-
|
66 |
-
"data-uri-to-buffer": ["[email protected]", "", {}, "sha512-7hvf7/GW8e86rW0ptuwS3OcBGDjIi6SZva7hCyWC0yYry2cOPmLIjXAUHI6DK2HsnwJd9ifmt57i8eV2n4YNpw=="],
|
67 |
-
|
68 |
-
"debug": ["[email protected]", "", { "dependencies": { "ms": "^2.1.3" } }, "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA=="],
|
69 |
-
|
70 |
-
"degenerator": ["[email protected]", "", { "dependencies": { "ast-types": "^0.13.4", "escodegen": "^2.1.0", "esprima": "^4.0.1" } }, "sha512-TllpMR/t0M5sqCXfj85i4XaAzxmS5tVA16dqvdkMwGmzI+dXLXnw3J+3Vdv7VKw+ThlTMboK6i9rnZ6Nntj5CQ=="],
|
71 |
-
|
72 |
-
"devtools-protocol": ["[email protected]", "", {}, "sha512-uRfxR6Nlzdzt0ihVIkV+sLztKgs7rgquY/Mhcv1YNCWDh5IZgl5mnn2aeEnW5stYTE0wwiF4RYVz8eMEpV1SEw=="],
|
73 |
-
|
74 |
-
"emoji-regex": ["[email protected]", "", {}, "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="],
|
75 |
-
|
76 |
-
"end-of-stream": ["[email protected]", "", { "dependencies": { "once": "^1.4.0" } }, "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q=="],
|
77 |
-
|
78 |
-
"env-paths": ["[email protected]", "", {}, "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A=="],
|
79 |
-
|
80 |
-
"error-ex": ["[email protected]", "", { "dependencies": { "is-arrayish": "^0.2.1" } }, "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g=="],
|
81 |
-
|
82 |
-
"escalade": ["[email protected]", "", {}, "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA=="],
|
83 |
-
|
84 |
-
"escodegen": ["[email protected]", "", { "dependencies": { "esprima": "^4.0.1", "estraverse": "^5.2.0", "esutils": "^2.0.2" }, "optionalDependencies": { "source-map": "~0.6.1" }, "bin": { "esgenerate": "bin/esgenerate.js", "escodegen": "bin/escodegen.js" } }, "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w=="],
|
85 |
-
|
86 |
-
"esprima": ["[email protected]", "", { "bin": { "esparse": "./bin/esparse.js", "esvalidate": "./bin/esvalidate.js" } }, "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A=="],
|
87 |
-
|
88 |
-
"estraverse": ["[email protected]", "", {}, "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA=="],
|
89 |
-
|
90 |
-
"esutils": ["[email protected]", "", {}, "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g=="],
|
91 |
-
|
92 |
-
"extract-zip": ["[email protected]", "", { "dependencies": { "debug": "^4.1.1", "get-stream": "^5.1.0", "yauzl": "^2.10.0" }, "optionalDependencies": { "@types/yauzl": "^2.9.1" }, "bin": { "extract-zip": "cli.js" } }, "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg=="],
|
93 |
-
|
94 |
-
"fast-fifo": ["[email protected]", "", {}, "sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ=="],
|
95 |
-
|
96 |
-
"fd-slicer": ["[email protected]", "", { "dependencies": { "pend": "~1.2.0" } }, "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g=="],
|
97 |
-
|
98 |
-
"get-caller-file": ["[email protected]", "", {}, "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg=="],
|
99 |
-
|
100 |
-
"get-stream": ["[email protected]", "", { "dependencies": { "pump": "^3.0.0" } }, "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA=="],
|
101 |
-
|
102 |
-
"get-uri": ["[email protected]", "", { "dependencies": { "basic-ftp": "^5.0.2", "data-uri-to-buffer": "^6.0.2", "debug": "^4.3.4" } }, "sha512-E1b1lFFLvLgak2whF2xDBcOy6NLVGZBqqjJjsIhvopKfWWEi64pLVTWWehV8KlLerZkfNTA95sTe2OdJKm1OzQ=="],
|
103 |
-
|
104 |
-
"http-proxy-agent": ["[email protected]", "", { "dependencies": { "agent-base": "^7.1.0", "debug": "^4.3.4" } }, "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig=="],
|
105 |
-
|
106 |
-
"https-proxy-agent": ["[email protected]", "", { "dependencies": { "agent-base": "^7.1.2", "debug": "4" } }, "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw=="],
|
107 |
-
|
108 |
-
"import-fresh": ["[email protected]", "", { "dependencies": { "parent-module": "^1.0.0", "resolve-from": "^4.0.0" } }, "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ=="],
|
109 |
-
|
110 |
-
"ip-address": ["[email protected]", "", { "dependencies": { "jsbn": "1.1.0", "sprintf-js": "^1.1.3" } }, "sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g=="],
|
111 |
-
|
112 |
-
"is-arrayish": ["[email protected]", "", {}, "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg=="],
|
113 |
-
|
114 |
-
"is-fullwidth-code-point": ["[email protected]", "", {}, "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg=="],
|
115 |
-
|
116 |
-
"js-tokens": ["[email protected]", "", {}, "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="],
|
117 |
-
|
118 |
-
"js-yaml": ["[email protected]", "", { "dependencies": { "argparse": "^2.0.1" }, "bin": { "js-yaml": "bin/js-yaml.js" } }, "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA=="],
|
119 |
-
|
120 |
-
"jsbn": ["[email protected]", "", {}, "sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A=="],
|
121 |
-
|
122 |
-
"json-parse-even-better-errors": ["[email protected]", "", {}, "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w=="],
|
123 |
-
|
124 |
-
"lines-and-columns": ["[email protected]", "", {}, "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg=="],
|
125 |
-
|
126 |
-
"lru-cache": ["[email protected]", "", {}, "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA=="],
|
127 |
-
|
128 |
-
"mime-db": ["[email protected]", "", {}, "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ=="],
|
129 |
-
|
130 |
-
"mime-types": ["[email protected]", "", { "dependencies": { "mime-db": "^1.54.0" } }, "sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA=="],
|
131 |
-
|
132 |
-
"mitt": ["[email protected]", "", {}, "sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw=="],
|
133 |
-
|
134 |
-
"ms": ["[email protected]", "", {}, "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="],
|
135 |
-
|
136 |
-
"netmask": ["[email protected]", "", {}, "sha512-dBpDMdxv9Irdq66304OLfEmQ9tbNRFnFTuZiLo+bD+r332bBmMJ8GBLXklIXXgxd3+v9+KUnZaUR5PJMa75Gsg=="],
|
137 |
-
|
138 |
-
"once": ["[email protected]", "", { "dependencies": { "wrappy": "1" } }, "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w=="],
|
139 |
-
|
140 |
-
"p-limit": ["[email protected]", "", { "dependencies": { "yocto-queue": "^1.1.1" } }, "sha512-kuUqqHNUqoIWp/c467RI4X6mmyuojY5jGutNU0wVTmEOOfcuwLqyMVoAi9MKi2Ak+5i9+nhmrK4ufZE8069kHA=="],
|
141 |
-
|
142 |
-
"pac-proxy-agent": ["[email protected]", "", { "dependencies": { "@tootallnate/quickjs-emscripten": "^0.23.0", "agent-base": "^7.1.2", "debug": "^4.3.4", "get-uri": "^6.0.1", "http-proxy-agent": "^7.0.0", "https-proxy-agent": "^7.0.6", "pac-resolver": "^7.0.1", "socks-proxy-agent": "^8.0.5" } }, "sha512-TEB8ESquiLMc0lV8vcd5Ql/JAKAoyzHFXaStwjkzpOpC5Yv+pIzLfHvjTSdf3vpa2bMiUQrg9i6276yn8666aA=="],
|
143 |
-
|
144 |
-
"pac-resolver": ["[email protected]", "", { "dependencies": { "degenerator": "^5.0.0", "netmask": "^2.0.2" } }, "sha512-5NPgf87AT2STgwa2ntRMr45jTKrYBGkVU36yT0ig/n/GMAa3oPqhZfIQ2kMEimReg0+t9kZViDVZ83qfVUlckg=="],
|
145 |
-
|
146 |
-
"parent-module": ["[email protected]", "", { "dependencies": { "callsites": "^3.0.0" } }, "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g=="],
|
147 |
-
|
148 |
-
"parse-json": ["[email protected]", "", { "dependencies": { "@babel/code-frame": "^7.0.0", "error-ex": "^1.3.1", "json-parse-even-better-errors": "^2.3.0", "lines-and-columns": "^1.1.6" } }, "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg=="],
|
149 |
-
|
150 |
-
"pend": ["[email protected]", "", {}, "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg=="],
|
151 |
-
|
152 |
-
"picocolors": ["[email protected]", "", {}, "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA=="],
|
153 |
-
|
154 |
-
"progress": ["[email protected]", "", {}, "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA=="],
|
155 |
-
|
156 |
-
"proxy-agent": ["[email protected]", "", { "dependencies": { "agent-base": "^7.1.2", "debug": "^4.3.4", "http-proxy-agent": "^7.0.1", "https-proxy-agent": "^7.0.6", "lru-cache": "^7.14.1", "pac-proxy-agent": "^7.1.0", "proxy-from-env": "^1.1.0", "socks-proxy-agent": "^8.0.5" } }, "sha512-TmatMXdr2KlRiA2CyDu8GqR8EjahTG3aY3nXjdzFyoZbmB8hrBsTyMezhULIXKnC0jpfjlmiZ3+EaCzoInSu/A=="],
|
157 |
-
|
158 |
-
"proxy-from-env": ["[email protected]", "", {}, "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg=="],
|
159 |
-
|
160 |
-
"pump": ["[email protected]", "", { "dependencies": { "end-of-stream": "^1.1.0", "once": "^1.3.1" } }, "sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw=="],
|
161 |
-
|
162 |
-
"puppeteer": ["[email protected]", "", { "dependencies": { "@puppeteer/browsers": "2.9.0", "chromium-bidi": "3.0.0", "cosmiconfig": "^9.0.0", "devtools-protocol": "0.0.1425554", "puppeteer-core": "24.6.0", "typed-query-selector": "^2.12.0" }, "bin": { "puppeteer": "lib/cjs/puppeteer/node/cli.js" } }, "sha512-wYTB8WkzAr7acrlsp+0at1PZjOJPOxe6dDWKOG/kaX4Zjck9RXCFx3CtsxsAGzPn/Yv6AzgJC/CW1P5l+qxsqw=="],
|
163 |
-
|
164 |
-
"puppeteer-core": ["[email protected]", "", { "dependencies": { "@puppeteer/browsers": "2.9.0", "chromium-bidi": "3.0.0", "debug": "^4.4.0", "devtools-protocol": "0.0.1425554", "typed-query-selector": "^2.12.0", "ws": "^8.18.1" } }, "sha512-Cukxysy12m0v350bhl/Gzof0XQYmtON9l2VvGp3D4BOQZVgyf+y5wIpcjDZQ/896Okoi95dKRGRV8E6a7SYAQQ=="],
|
165 |
-
|
166 |
-
"require-directory": ["[email protected]", "", {}, "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q=="],
|
167 |
-
|
168 |
-
"resolve-from": ["[email protected]", "", {}, "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g=="],
|
169 |
-
|
170 |
-
"semver": ["[email protected]", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA=="],
|
171 |
-
|
172 |
-
"smart-buffer": ["[email protected]", "", {}, "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg=="],
|
173 |
-
|
174 |
-
"socks": ["[email protected]", "", { "dependencies": { "ip-address": "^9.0.5", "smart-buffer": "^4.2.0" } }, "sha512-D3YaD0aRxR3mEcqnidIs7ReYJFVzWdd6fXJYUM8ixcQcJRGTka/b3saV0KflYhyVJXKhb947GndU35SxYNResQ=="],
|
175 |
-
|
176 |
-
"socks-proxy-agent": ["[email protected]", "", { "dependencies": { "agent-base": "^7.1.2", "debug": "^4.3.4", "socks": "^2.8.3" } }, "sha512-HehCEsotFqbPW9sJ8WVYB6UbmIMv7kUUORIF2Nncq4VQvBfNBLibW9YZR5dlYCSUhwcD628pRllm7n+E+YTzJw=="],
|
177 |
-
|
178 |
-
"source-map": ["[email protected]", "", {}, "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="],
|
179 |
-
|
180 |
-
"sprintf-js": ["[email protected]", "", {}, "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA=="],
|
181 |
-
|
182 |
-
"streamx": ["[email protected]", "", { "dependencies": { "fast-fifo": "^1.3.2", "text-decoder": "^1.1.0" }, "optionalDependencies": { "bare-events": "^2.2.0" } }, "sha512-sLh1evHOzBy/iWRiR6d1zRcLao4gGZr3C1kzNz4fopCOKJb6xD9ub8Mpi9Mr1R6id5o43S+d93fI48UC5uM9aw=="],
|
183 |
-
|
184 |
-
"string-width": ["[email protected]", "", { "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.1" } }, "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g=="],
|
185 |
-
|
186 |
-
"strip-ansi": ["[email protected]", "", { "dependencies": { "ansi-regex": "^5.0.1" } }, "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A=="],
|
187 |
-
|
188 |
-
"tar-fs": ["[email protected]", "", { "dependencies": { "pump": "^3.0.0", "tar-stream": "^3.1.5" }, "optionalDependencies": { "bare-fs": "^4.0.1", "bare-path": "^3.0.0" } }, "sha512-ZoROL70jptorGAlgAYiLoBLItEKw/fUxg9BSYK/dF/GAGYFJOJJJMvjPAKDJraCXFwadD456FCuvLWgfhMsPwg=="],
|
189 |
-
|
190 |
-
"tar-stream": ["[email protected]", "", { "dependencies": { "b4a": "^1.6.4", "fast-fifo": "^1.2.0", "streamx": "^2.15.0" } }, "sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ=="],
|
191 |
-
|
192 |
-
"text-decoder": ["[email protected]", "", { "dependencies": { "b4a": "^1.6.4" } }, "sha512-3/o9z3X0X0fTupwsYvR03pJ/DjWuqqrfwBgTQzdWDiQSm9KitAyz/9WqsT2JQW7KV2m+bC2ol/zqpW37NHxLaA=="],
|
193 |
-
|
194 |
-
"tslib": ["[email protected]", "", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="],
|
195 |
-
|
196 |
-
"typed-query-selector": ["[email protected]", "", {}, "sha512-SbklCd1F0EiZOyPiW192rrHZzZ5sBijB6xM+cpmrwDqObvdtunOHHIk9fCGsoK5JVIYXoyEp4iEdE3upFH3PAg=="],
|
197 |
-
|
198 |
-
"undici-types": ["[email protected]", "", {}, "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ=="],
|
199 |
-
|
200 |
-
"wrap-ansi": ["[email protected]", "", { "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", "strip-ansi": "^6.0.0" } }, "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q=="],
|
201 |
-
|
202 |
-
"wrappy": ["[email protected]", "", {}, "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="],
|
203 |
-
|
204 |
-
"ws": ["[email protected]", "", { "peerDependencies": { "bufferutil": "^4.0.1", "utf-8-validate": ">=5.0.2" }, "optionalPeers": ["bufferutil", "utf-8-validate"] }, "sha512-RKW2aJZMXeMxVpnZ6bck+RswznaxmzdULiBr6KY7XkTnW8uvt0iT9H5DkHUChXrc+uurzwa0rVI16n/Xzjdz1w=="],
|
205 |
-
|
206 |
-
"y18n": ["[email protected]", "", {}, "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA=="],
|
207 |
-
|
208 |
-
"yargs": ["[email protected]", "", { "dependencies": { "cliui": "^8.0.1", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", "require-directory": "^2.1.1", "string-width": "^4.2.3", "y18n": "^5.0.5", "yargs-parser": "^21.1.1" } }, "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w=="],
|
209 |
-
|
210 |
-
"yargs-parser": ["[email protected]", "", {}, "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw=="],
|
211 |
-
|
212 |
-
"yauzl": ["[email protected]", "", { "dependencies": { "buffer-crc32": "~0.2.3", "fd-slicer": "~1.1.0" } }, "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g=="],
|
213 |
-
|
214 |
-
"yocto-queue": ["[email protected]", "", {}, "sha512-AyeEbWOu/TAXdxlV9wmGcR0+yh2j3vYPGOECcIj2S7MkrLyC7ne+oye2BKTItt0ii2PHk4cDy+95+LshzbXnGg=="],
|
215 |
-
|
216 |
-
"zod": ["[email protected]", "", {}, "sha512-lY7CDW43ECgW9u1TcT3IoXHflywfVqDYze4waEz812jR/bZ8FHDsl7pFQoSZTz5N+2NqRXs8GBwnAwo3ZNxqhQ=="],
|
217 |
-
}
|
218 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
index.html
CHANGED
@@ -50,86 +50,63 @@
|
|
50 |
if (!response.ok) {
|
51 |
throw new Error(`HTTP error! status: ${response.status}`);
|
52 |
}
|
53 |
-
|
54 |
-
const screenshotsData = await response.json();
|
55 |
-
// screenshotsData is now an array of objects: [{filename: "...", rating: N}, ...]
|
56 |
-
|
57 |
const grid = document.getElementById('screenshot-grid');
|
58 |
grid.innerHTML = ''; // Clear existing content
|
59 |
const fragment = document.createDocumentFragment(); // Create a fragment
|
60 |
|
61 |
-
//
|
62 |
-
|
63 |
-
throw new Error("screenshots.json is not a valid array.");
|
64 |
-
}
|
65 |
-
|
66 |
-
// Build elements in the fragment
|
67 |
-
screenshotsData.forEach(item => {
|
68 |
-
if (!item || typeof item.filename !== 'string' || !item.filename.endsWith('.png')) {
|
69 |
-
console.warn("Skipping invalid item in screenshots.json:", item);
|
70 |
-
return;
|
71 |
-
}
|
72 |
-
// --- Filter by rating ---
|
73 |
-
if (typeof item.rating !== 'number' || item.rating < 50) {
|
74 |
-
// console.log(`Skipping ${item.filename} due to rating: ${item.rating}`);
|
75 |
-
return; // Skip items with rating below 50 or invalid rating
|
76 |
-
}
|
77 |
-
// --- End filter ---
|
78 |
|
79 |
-
|
80 |
-
|
81 |
|
|
|
|
|
82 |
const gridItem = document.createElement('div');
|
83 |
-
gridItem.className = 'grid-item
|
84 |
|
85 |
const img = document.createElement('img');
|
|
|
86 |
img.src = `screenshots/${filename}`;
|
87 |
-
img.alt =
|
88 |
img.loading = 'lazy'; // Lazy load images
|
89 |
img.decoding = 'async'; // Hint for async decoding
|
90 |
-
img.className = 'w-full h-auto object-cover rounded-lg shadow-md'; // Added some styling
|
91 |
|
92 |
// Create the link element
|
93 |
const link = document.createElement('a');
|
94 |
|
95 |
-
// Parse filename to create the URL
|
96 |
try {
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
const
|
|
|
103 |
link.href = `https://huggingface.co/spaces/${username}/${spacename}`;
|
104 |
link.target = '_blank'; // Open in new tab
|
105 |
link.rel = 'noopener noreferrer'; // Security best practice
|
106 |
} else {
|
107 |
// Handle cases where the format might be unexpected
|
108 |
console.warn(`Could not parse username/spacename from: ${filename}`);
|
109 |
-
// Make it non-clickable
|
110 |
gridItem.appendChild(img);
|
111 |
-
|
112 |
return; // Skip appending link for this item
|
113 |
}
|
114 |
} catch (e) {
|
115 |
console.error(`Error parsing filename: ${filename}`, e);
|
116 |
// Append image directly if parsing fails
|
117 |
gridItem.appendChild(img);
|
118 |
-
|
119 |
return; // Skip appending link for this item
|
120 |
}
|
121 |
|
|
|
122 |
link.appendChild(img); // Place the image inside the link
|
123 |
gridItem.appendChild(link); // Place the link (with image) inside the grid item
|
124 |
-
|
125 |
-
// Optional: Display rating badge (Example)
|
126 |
-
// if (typeof rating === 'number') {
|
127 |
-
// const badge = document.createElement('span');
|
128 |
-
// badge.className = 'absolute top-2 right-2 bg-blue-500 text-white text-xs font-bold px-2 py-1 rounded-full';
|
129 |
-
// badge.textContent = rating;
|
130 |
-
// gridItem.appendChild(badge);
|
131 |
-
// }
|
132 |
-
|
133 |
fragment.appendChild(gridItem); // Add the item to the fragment
|
134 |
});
|
135 |
|
|
|
50 |
if (!response.ok) {
|
51 |
throw new Error(`HTTP error! status: ${response.status}`);
|
52 |
}
|
53 |
+
const screenshots = await response.json();
|
|
|
|
|
|
|
54 |
const grid = document.getElementById('screenshot-grid');
|
55 |
grid.innerHTML = ''; // Clear existing content
|
56 |
const fragment = document.createDocumentFragment(); // Create a fragment
|
57 |
|
58 |
+
// Filter out non-png files just in case
|
59 |
+
const imageFiles = screenshots.filter(file => file.endsWith('.png'));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
|
61 |
+
// Sort images in reverse alphabetical order
|
62 |
+
imageFiles.sort().reverse();
|
63 |
|
64 |
+
// Build elements in the fragment
|
65 |
+
imageFiles.forEach(filename => {
|
66 |
const gridItem = document.createElement('div');
|
67 |
+
gridItem.className = 'grid-item';
|
68 |
|
69 |
const img = document.createElement('img');
|
70 |
+
// Assuming images are in a 'screenshots' subdirectory relative to index.html
|
71 |
img.src = `screenshots/${filename}`;
|
72 |
+
img.alt = filename;
|
73 |
img.loading = 'lazy'; // Lazy load images
|
74 |
img.decoding = 'async'; // Hint for async decoding
|
|
|
75 |
|
76 |
// Create the link element
|
77 |
const link = document.createElement('a');
|
78 |
|
79 |
+
// Parse filename to create the URL
|
80 |
try {
|
81 |
+
// Remove prefix like "7-space-" and suffix ".png"
|
82 |
+
const namePart = filename.replace(/^\d+-space-/, '').replace(/\.png$/, '');
|
83 |
+
// Find the first hyphen to separate username and spacename
|
84 |
+
const hyphenIndex = namePart.indexOf('-');
|
85 |
+
if (hyphenIndex > 0) {
|
86 |
+
const username = namePart.substring(0, hyphenIndex);
|
87 |
+
const spacename = namePart.substring(hyphenIndex + 1);
|
88 |
link.href = `https://huggingface.co/spaces/${username}/${spacename}`;
|
89 |
link.target = '_blank'; // Open in new tab
|
90 |
link.rel = 'noopener noreferrer'; // Security best practice
|
91 |
} else {
|
92 |
// Handle cases where the format might be unexpected
|
93 |
console.warn(`Could not parse username/spacename from: ${filename}`);
|
94 |
+
// Make it non-clickable or link somewhere default? For now, just append image directly.
|
95 |
gridItem.appendChild(img);
|
96 |
+
grid.appendChild(gridItem);
|
97 |
return; // Skip appending link for this item
|
98 |
}
|
99 |
} catch (e) {
|
100 |
console.error(`Error parsing filename: ${filename}`, e);
|
101 |
// Append image directly if parsing fails
|
102 |
gridItem.appendChild(img);
|
103 |
+
grid.appendChild(gridItem);
|
104 |
return; // Skip appending link for this item
|
105 |
}
|
106 |
|
107 |
+
|
108 |
link.appendChild(img); // Place the image inside the link
|
109 |
gridItem.appendChild(link); // Place the link (with image) inside the grid item
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
110 |
fragment.appendChild(gridItem); // Add the item to the fragment
|
111 |
});
|
112 |
|
package.json
DELETED
@@ -1,8 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"dependencies": {
|
3 |
-
"@google/generative-ai": "^0.24.0",
|
4 |
-
"mime-types": "^3.0.1",
|
5 |
-
"p-limit": "^6.2.0",
|
6 |
-
"puppeteer": "^24.6.0"
|
7 |
-
}
|
8 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
screenshots.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
screenshots/.DS_Store
CHANGED
Binary files a/screenshots/.DS_Store and b/screenshots/.DS_Store differ
|
|
screenshots/{space-0xsarah-touch-orange-try3.png β 4-space-ayokings-sam-s-space.png}
RENAMED
File without changes
|
screenshots/{space-1234techrules-a-space.png β 4-space-experimentalmind-phalluserectus-vs-pussycats.png}
RENAMED
File without changes
|
screenshots/{space-0xsarah-touch-orange-try-2.png β 4-space-ezzmohamed-test.png}
RENAMED
File without changes
|
screenshots/{space-0xsarah-touch-orange-try-4.png β 4-space-itcreativetbb-i-t-creative-shop.png}
RENAMED
File without changes
|
screenshots/7-space-0xsarah-touch-orange-try3.png
ADDED
![]() |
Git LFS Details
|
screenshots/7-space-AG2001Gomaa-ag-xo.png
ADDED
![]() |
Git LFS Details
|
screenshots/7-space-Abdalrhman12-bitcoin-miner.png
ADDED
![]() |
Git LFS Details
|
screenshots/7-space-Ahmed1900191-web.png
ADDED
![]() |
Git LFS Details
|
screenshots/{space-Tashy-playwright-timeline.png β 7-space-AhmedMansour-asa.png}
RENAMED
File without changes
|
screenshots/7-space-Altaire-norfolk.png
ADDED
![]() |
Git LFS Details
|
screenshots/7-space-AndriyLuc-rideshare.png
ADDED
![]() |
Git LFS Details
|
screenshots/7-space-Antoster-armed-penguin-game-deepsite.png
ADDED
![]() |
Git LFS Details
|
screenshots/{space-josephbasa-blue-call.png β 7-space-Babbles-rangesbabbles.png}
RENAMED
File without changes
|
screenshots/{space-tarcisiolago-incrivel.png β 7-space-Badlev-tankgame.png}
RENAMED
File without changes
|
screenshots/7-space-Barbuuuuuuuu-dark-max-ai-server.png
ADDED
![]() |
Git LFS Details
|
screenshots/7-space-Belal-32-ping-pong-vs-ai.png
ADDED
![]() |
Git LFS Details
|
screenshots/7-space-Belal-32-wierd-gift-page-deepsite.png
ADDED
![]() |
Git LFS Details
|
screenshots/7-space-Bio-Du-financial-question-generator-chinese.png
ADDED
![]() |
Git LFS Details
|
screenshots/7-space-DIMASIK5252-geometrya.png
ADDED
![]() |
Git LFS Details
|
screenshots/7-space-DIMASIK5252-tictactoe.png
ADDED
![]() |
Git LFS Details
|
screenshots/7-space-DarkDuckDock-deepsite.png
ADDED
![]() |
Git LFS Details
|
screenshots/{space-Graffoe-deepsite-test.png β 7-space-Dhjfdrtyhb-tdwg12q.png}
RENAMED
File without changes
|
screenshots/7-space-Dmitry999-projectxxxx.png
ADDED
![]() |
Git LFS Details
|
screenshots/7-space-Engenegr-pro-2.png
ADDED
![]() |
Git LFS Details
|
screenshots/7-space-Ferre067-cyberpunk-map-generator.png
ADDED
![]() |
Git LFS Details
|
screenshots/7-space-HOrdye-cystal-seer1.png
ADDED
![]() |
Git LFS Details
|
screenshots/{space-atlasnq-test1.png β 7-space-Hanafi98-twheed.png}
RENAMED
File without changes
|
screenshots/7-space-HarI1Ft2-z.png
ADDED
![]() |
Git LFS Details
|
screenshots/7-space-Joph-pickelize.png
ADDED
![]() |
Git LFS Details
|
screenshots/7-space-Kbartawi-stuff.png
ADDED
![]() |
Git LFS Details
|
screenshots/{space-xmulderyu-my-first-deepsite.png β 7-space-Keggz-ferskvann-adventure.png}
RENAMED
File without changes
|
screenshots/7-space-Kluch0296-kluch-s-space.png
ADDED
![]() |
Git LFS Details
|
screenshots/7-space-Laibniz-italian-snake.png
ADDED
![]() |
Git LFS Details
|
screenshots/7-space-MMasri-read-segd-rev3-1.png
ADDED
![]() |
Git LFS Details
|
screenshots/7-space-Mars1107-analyze.png
ADDED
![]() |
Git LFS Details
|
screenshots/7-space-Meltmello-typing-game.png
ADDED
![]() |
Git LFS Details
|
screenshots/7-space-Nereck-games-01.png
ADDED
![]() |
Git LFS Details
|
screenshots/7-space-OkyNb-tolka-counter.png
ADDED
![]() |
Git LFS Details
|
screenshots/7-space-Pullinteeth-superdent.png
ADDED
![]() |
Git LFS Details
|
screenshots/7-space-Sanyka-stalin-simulator.png
ADDED
![]() |
Git LFS Details
|
screenshots/7-space-Saveup-tradinggo.png
ADDED
![]() |
Git LFS Details
|
screenshots/7-space-Siemprefresh-siempre.png
ADDED
![]() |
Git LFS Details
|
screenshots/{space-randt-bomb-defusal.png β 7-space-Soert-fish-game.png}
RENAMED
File without changes
|