From d7ac7286b390ef64c5f8697ae5a552e7b2725c00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Heisbroken=20=F0=9F=8E=80=F0=9F=8E=A7=E2=9C=8D=EF=B8=8F?= <189724328+Neaterry6@users.noreply.github.com> Date: Sat, 30 Aug 2025 09:07:10 +0100 Subject: [PATCH 01/11] Update index.html --- views/index.html | 571 +++++++++++++---------------------------------- 1 file changed, 160 insertions(+), 411 deletions(-) diff --git a/views/index.html b/views/index.html index c24ddfa5..5948342f 100644 --- a/views/index.html +++ b/views/index.html @@ -1,411 +1,160 @@ - - - - - - - - REY - Api - - - - - - - - - - -
-
-
-

Selamat

-

Datang

-

Di Website

-

Rest Api

-

- REY - Rest - API's -

- Open Docs -
-
- - - - - -' ) ); - - - + + + + brokenvznapi + + + + + + + + + +
+
+
+

Loading brokenvznapi...

+

by broken Vzn

+
+
+ + + + + +
+
+
+

Welcome

+

to

+

brokenvznapi

+

by

+

+ broken + Vzn +

+ Open Docs + + +
+

broken Vzn's GitHub

+
+ GitHub Followers + Profile Views + Top Languages +
+ GitHub Trophies +
+ + +
+

Connect with broken Vzn

+ +
+
+
+ + + + + + \ No newline at end of file From 0ecff24e19d2d19aef9a78ecf9616673eeea6f87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Heisbroken=20=F0=9F=8E=80=F0=9F=8E=A7=E2=9C=8D=EF=B8=8F?= <189724328+Neaterry6@users.noreply.github.com> Date: Sat, 30 Aug 2025 09:22:09 +0100 Subject: [PATCH 02/11] Update docs.html --- views/docs.html | 214 +++++++++++++++++++++++++++--------------------- 1 file changed, 120 insertions(+), 94 deletions(-) diff --git a/views/docs.html b/views/docs.html index 33b8d6c1..ccd3abb0 100644 --- a/views/docs.html +++ b/views/docs.html @@ -1,103 +1,129 @@ - + - - - - - - - - Rey sekha - + + + + brokenvznapi + + + + + +
+ + +
- - - + + -
- -
- -
- - - - -
-
-
- -
-
-

Rey Sekha

-

@_sekhaa

-
-
+ +
+
+ + + + +
+
+ Profile +
+ +
+
+

Akewushola Abdulbakri

+

@brokenvzn

+
+
-
-
-
-

About

-

hi world introduce the name Rey sekha my hobby is watching anime and dialogue in Japanese and I also don't have any skills I can only MANGAN,TURU,NGARIT

-
-
- - - - - - - - - - - -
-
- - -
-
-
+
+
+
+

About

+

+ Hey there! I'm Akewushola Abdulbakri, aka broken Vzn, a developer passionate about AI, chatbots, and coding. I love building projects like my cognitivePath CBT webapk and creating APIs for innovative solutions. When I'm not coding, I'm exploring open-source tech or connecting with my community on social media! +

+
+ +
+

GitHub Stats

+
+ GitHub Followers + Profile Views + Top Languages +
+ GitHub Trophies +
+ + +
+ + +
-
- - - - +
+
+
+ + + + + \ No newline at end of file From 628fb4ec9fb540b1b568da93546622d260e76461 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Heisbroken=20=F0=9F=8E=80=F0=9F=8E=A7=E2=9C=8D=EF=B8=8F?= <189724328+Neaterry6@users.noreply.github.com> Date: Sat, 30 Aug 2025 09:28:45 +0100 Subject: [PATCH 03/11] Update game.html --- views/game.html | 924 ++++++++++++++++++------------------------------ 1 file changed, 343 insertions(+), 581 deletions(-) diff --git a/views/game.html b/views/game.html index 4b95505e..633583b0 100644 --- a/views/game.html +++ b/views/game.html @@ -1,593 +1,355 @@ - - - - - - - - ๐Ÿ“Ping Pong - - - - - -
-
- - - - -
-
-
-
-
- Loading... -
-
- -
- -
- โ“˜ ๐Ÿ†PEMAIN PERTAMA MENCETAK 10 POIN YANG AKAN MENANG๐Ÿ† . -
-
-
- Level Pemula -
-
- Level Sedang -
-
- Level Mustahil - -
-
-
-
-
-
- Kamu Menang :D -
-
-
- -
-
- - - - -
- Back To Rest Api - - - Banyak orang gagal karena mereka tidak memahami usaha yang diperlukan untuk menjadi sukses. Yukino Yukinoshita (Oregairu), Kita harus mensyukuri apa yang kita punya saat ini, karena mungkin orang lain belum tentu mempunyainya. Kayaba Akihiko (Sword Art Online), - -
- - + document.getElementById("result").innerHTML = txt; + document.getElementById('status').style.display = 'block'; + document.getElementById('status').classList.add('animate-pop'); + } + + run = setInterval(game, 1000 / fps); + } + + function again() { + document.getElementById('status').style.display = 'none'; + document.getElementsByClassName('tab')[0].style.transform = 'scale(1)'; + document.getElementsByClassName('tab')[0].classList.add('animate-pop'); + } + + function eas() { + aiLevel = 0.03; + document.getElementById("easy").classList.add('bg-cyan-500', 'text-white'); + document.getElementById("hard").classList.remove('bg-cyan-500', 'text-white'); + document.getElementById("impossible").classList.remove('bg-cyan-500', 'text-white'); + win.play(); + lose.play(); + init(); + } + + function har() { + aiLevel = 0.06; + document.getElementById("easy").classList.remove('bg-cyan-500', 'text-white'); + document.getElementById("hard").classList.add('bg-cyan-500', 'text-white'); + document.getElementById("impossible").classList.remove('bg-cyan-500', 'text-white'); + win.play(); + lose.play(); + init(); + } + + function imp() { + aiLevel = 0.7; + document.getElementById("easy").classList.remove('bg-cyan-500', 'text-white'); + document.getElementById("hard").classList.remove('bg-cyan-500', 'text-white'); + document.getElementById("impossible").classList.add('bg-cyan-500', 'text-white'); + win.play(); + lose.play(); + init(); + } + + + \ No newline at end of file From 51bf00019dc812ad13d156264d357ca560332c2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Heisbroken=20=F0=9F=8E=80=F0=9F=8E=A7=E2=9C=8D=EF=B8=8F?= <189724328+Neaterry6@users.noreply.github.com> Date: Sat, 30 Aug 2025 09:48:37 +0100 Subject: [PATCH 04/11] Update vercel.json --- vercel.json | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/vercel.json b/vercel.json index 95c5de44..dcdf4253 100644 --- a/vercel.json +++ b/vercel.json @@ -1,11 +1,18 @@ { - "version": 2, - "builds": [{ + "version": 2, + "builds": [ + { "src": "index.js", "use": "@vercel/node" - }], - "routes": [{ - "src": "/.*", - "dest": "/" - }] -} + } + ], + "routes": [ + { + "src": "/(.*)", + "dest": "index.js" + } + ], + "env": { + "NODE_ENV": "production" + } +} \ No newline at end of file From 2db33c7d6f3abec25d1a6fe72b337a077139f3ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Heisbroken=20=F0=9F=8E=80=F0=9F=8E=A7=E2=9C=8D=EF=B8=8F?= <189724328+Neaterry6@users.noreply.github.com> Date: Sat, 30 Aug 2025 09:53:05 +0100 Subject: [PATCH 05/11] Update vercel.json --- vercel.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vercel.json b/vercel.json index dcdf4253..97e87014 100644 --- a/vercel.json +++ b/vercel.json @@ -3,7 +3,10 @@ "builds": [ { "src": "index.js", - "use": "@vercel/node" + "use": "@vercel/node", + "config": { + "installCommand": "apt-get update && apt-get install -y libpixman-1-dev libcairo2-dev libpango1.0-dev && npm install" + } } ], "routes": [ From 3b473aba5c773763fa0588232f538fc4c3b1d3c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Heisbroken=20=F0=9F=8E=80=F0=9F=8E=A7=E2=9C=8D=EF=B8=8F?= <189724328+Neaterry6@users.noreply.github.com> Date: Sat, 30 Aug 2025 09:56:19 +0100 Subject: [PATCH 06/11] Update vercel.json --- vercel.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vercel.json b/vercel.json index 97e87014..e4e26b6c 100644 --- a/vercel.json +++ b/vercel.json @@ -5,7 +5,7 @@ "src": "index.js", "use": "@vercel/node", "config": { - "installCommand": "apt-get update && apt-get install -y libpixman-1-dev libcairo2-dev libpango1.0-dev && npm install" + "installCommand": "apt-get update && apt-get install -y build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev libpixman-1-dev && npm install" } } ], From 0c3e81d1260679e21cb496fe454cbce98fa935d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Heisbroken=20=F0=9F=8E=80=F0=9F=8E=A7=E2=9C=8D=EF=B8=8F?= <189724328+Neaterry6@users.noreply.github.com> Date: Sat, 30 Aug 2025 09:59:16 +0100 Subject: [PATCH 07/11] Update Dockerfile --- Dockerfile | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5692da32..bad25d76 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,18 @@ +FROM node:18 -FROM node:16.15.0 -FROM node:18.2.0 -RUN apt-get update -RUN apt-get upgrade -y -RUN apt-get install nodejs -y +# Install canvas dependencies +RUN apt-get update && apt-get install -y \ + build-essential \ + libcairo2-dev \ + libpango1.0-dev \ + libjpeg-dev \ + libgif-dev \ + librsvg2-dev \ + libpixman-1-dev WORKDIR /app -COPY . /app +COPY package*.json ./ RUN npm install -CMD ["node", "index.js"] -EXPOSE 6892 +COPY . . +EXPOSE 3000 +CMD ["npm", "start"] \ No newline at end of file From e574285bad7ebc480ab58d20cfa93f3bd8efce81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Heisbroken=20=F0=9F=8E=80=F0=9F=8E=A7=E2=9C=8D=EF=B8=8F?= <189724328+Neaterry6@users.noreply.github.com> Date: Sat, 30 Aug 2025 09:59:48 +0100 Subject: [PATCH 08/11] Update vercel.json --- vercel.json | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/vercel.json b/vercel.json index e4e26b6c..748f106c 100644 --- a/vercel.json +++ b/vercel.json @@ -2,20 +2,14 @@ "version": 2, "builds": [ { - "src": "index.js", - "use": "@vercel/node", - "config": { - "installCommand": "apt-get update && apt-get install -y build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev libpixman-1-dev && npm install" - } + "src": "Dockerfile", + "use": "@vercel/docker" } ], "routes": [ { "src": "/(.*)", - "dest": "index.js" + "dest": "/" } - ], - "env": { - "NODE_ENV": "production" - } + ] } \ No newline at end of file From 23846624861ace8676b4cf31a1751d28bc084a9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Heisbroken=20=F0=9F=8E=80=F0=9F=8E=A7=E2=9C=8D=EF=B8=8F?= <189724328+Neaterry6@users.noreply.github.com> Date: Sat, 30 Aug 2025 10:05:02 +0100 Subject: [PATCH 09/11] Update package.json --- package.json | 67 ++++++++++++++++++++++++---------------------------- 1 file changed, 31 insertions(+), 36 deletions(-) diff --git a/package.json b/package.json index dde08852..5057f99a 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,12 @@ + { "name": "API-REST", "version": "1.1.0", "description": "turu", - "main": "node index.js", + "main": "index.js", "scripts": { - "start": "nodemon index.js" + "start": "node index.js", + "dev": "nodemon index.js" }, "repository": { "type": "git", @@ -13,52 +15,45 @@ "keywords": [ "simple", "api", - "rest", - "api" + "rest" ], "author": "Reyganz", "license": "ISC", "bugs": { "url": "https://github.com/inirey/API-REST/issues" }, + "homepage": "https://github.com/inirey/API-REST#readme", + "engines": { + "node": "18.x" + }, "dependencies": { - "axios": "^0.21.1", + "axios": "^1.7.7", "base-64": "^1.0.0", - "base32": "0.0.6", - "chalk": "^4.1.0", - "cheerio": "^1.0.0-rc.5", - "child_process": "^1.0.2", - "facebook-video-link": "^1.0.2", + "base32": "^0.0.6", + "chalk": "^4.1.2", + "cheerio": "^1.0.0", "cors": "^2.8.5", "tiktok-scraper-without-watermark": "^1.1.2", - "path": "^0.12.7", - "dotenv": "^8.2.0", - "canvacord": "^5.2.1", - "canvas": "^2.8.0", - "canvas-hikki": "github:ZyxMapLe/canvas-hikki", - "emoji-api": "^2.0.0", - "express": "^4.17.1", - "fbdl-core": "^1.0.2", + "dotenv": "^16.4.5", + "express": "^4.21.0", "form-data": "^4.0.0", - "fs": "0.0.1-security", - "genius-lyrics": "^4.2.7", + "genius-lyrics": "^4.4.6", "instatouch": "^2.3.3", - "lodash": "^4.17.20", - "moment": "^2.29.1", - "mongodb": "^3.6.3", - "monk": "^7.3.3", + "lodash": "^4.17.21", + "moment": "^2.30.1", + "mongodb": "^6.9.0", + "monk": "^7.3.4", "morgan": "^1.10.0", - "needle": "^3.0.0", - "node-fetch": "^2.6.1", - "nodemon": "^2.0.7", - "request": "^2.88.2", - "ssl-express-www": "^3.0.7", - "skh-api": "^1.0.0", - "tiktok-scraper": "^1.4.12", + "needle": "^3.3.1", + "node-fetch": "^2.7.0", + "sharp": "^0.33.5", + "ssl-express-www": "^3.0.8", "urlencode": "^1.1.0", - "skh-api": "2.1.1", - "api-rey": "1.1.0", - "zrapi": "0.0.6" + "skh-api": "^2.1.1", + "api-rey": "^1.1.0", + "zrapi": "^0.0.6" }, - "homepage": "https://github.com/inirey/API-REST#readme" -} + "devDependencies": { + "nodemon": "^3.1.7" + } +} \ No newline at end of file From efb4a167060f8bc89e1cfb44e0ab8acf87f48996 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Heisbroken=20=F0=9F=8E=80=F0=9F=8E=A7=E2=9C=8D=EF=B8=8F?= <189724328+Neaterry6@users.noreply.github.com> Date: Sat, 30 Aug 2025 10:12:01 +0100 Subject: [PATCH 10/11] Update package.json --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 5057f99a..2567ad37 100644 --- a/package.json +++ b/package.json @@ -1,4 +1,3 @@ - { "name": "API-REST", "version": "1.1.0", @@ -35,6 +34,9 @@ "cors": "^2.8.5", "tiktok-scraper-without-watermark": "^1.1.2", "dotenv": "^16.4.5", + "canvas": "^2.11.2", + "canvacord": "^5.4.10", + "canvas-hikki": "github:ZyxMapLe/canvas-hikki", "express": "^4.21.0", "form-data": "^4.0.0", "genius-lyrics": "^4.4.6", @@ -46,7 +48,6 @@ "morgan": "^1.10.0", "needle": "^3.3.1", "node-fetch": "^2.7.0", - "sharp": "^0.33.5", "ssl-express-www": "^3.0.8", "urlencode": "^1.1.0", "skh-api": "^2.1.1", From 4598ba240cf3cca376b968faef759e35b7e44b24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Heisbroken=20=F0=9F=8E=80=F0=9F=8E=A7=E2=9C=8D=EF=B8=8F?= <189724328+Neaterry6@users.noreply.github.com> Date: Sat, 30 Aug 2025 10:12:30 +0100 Subject: [PATCH 11/11] Update vercel.json --- vercel.json | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/vercel.json b/vercel.json index 748f106c..717cf3bc 100644 --- a/vercel.json +++ b/vercel.json @@ -2,14 +2,24 @@ "version": 2, "builds": [ { - "src": "Dockerfile", - "use": "@vercel/docker" + "src": "index.js", + "use": "@vercel/node", + "config": { + "installCommand": "apt-get update && apt-get install -y build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev libpixman-1-dev pkg-config && npm install", + "nodeVersion": "18" + } } ], "routes": [ { "src": "/(.*)", - "dest": "/" + "dest": "index.js" } - ] + ], + "env": { + "NODE_ENV": "production" + }, + "engines": { + "node": "18.x" + } } \ No newline at end of file