From cae37e5af7535482faf03768f29e046f68781331 Mon Sep 17 00:00:00 2001 From: dhruv Date: Sun, 17 May 2026 15:30:11 +0530 Subject: [PATCH] update --- .gitignore | 22 + 1_upload_to_gitEa.sh | 14 + package-lock.json | 778 +++++++++++++++++++++++ package.json | 16 + public/1/index.html | 80 +++ public/2/left.html | 209 +++++++ public/3/Chat_page.html | 151 +++++ public/3/arc_reactor.html | 102 +++ public/3/center.html | 89 +++ public/4/4.html | 60 ++ public/4/load.html | 63 ++ public/4/right.html | 247 ++++++++ public/4/stack_iframe.html | 24 + public/5 | 1 + public/OLD/README.md | 39 ++ public/OLD/index2.html | 142 +++++ public/OLD/index3.html | 100 +++ public/OLD/index_JS.js | 87 +++ public/OLD/left_design.html | 67 ++ public/OLD/xyz.html | 106 ++++ public/style/Style.css | 1126 ++++++++++++++++++++++++++++++++++ server.js | 11 + system_design_Diagram.drawio | 73 +++ 23 files changed, 3607 insertions(+) create mode 100644 .gitignore create mode 100644 1_upload_to_gitEa.sh create mode 100644 package-lock.json create mode 100644 package.json create mode 100644 public/1/index.html create mode 100644 public/2/left.html create mode 100644 public/3/Chat_page.html create mode 100644 public/3/arc_reactor.html create mode 100644 public/3/center.html create mode 100644 public/4/4.html create mode 100644 public/4/load.html create mode 100644 public/4/right.html create mode 100644 public/4/stack_iframe.html create mode 160000 public/5 create mode 100644 public/OLD/README.md create mode 100644 public/OLD/index2.html create mode 100644 public/OLD/index3.html create mode 100644 public/OLD/index_JS.js create mode 100644 public/OLD/left_design.html create mode 100644 public/OLD/xyz.html create mode 100644 public/style/Style.css create mode 100644 server.js create mode 100644 system_design_Diagram.drawio diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..a6b1a384 --- /dev/null +++ b/.gitignore @@ -0,0 +1,22 @@ +# Python virtual environments +.venv/ +venv/ +env/ + +# All .env secret files (root + all subdirectories) +.env +.env.* +**/.env +**/.env.* + +# ENV.env style folders/files +ENV.env +**/ENV.env + +# Any folder named *.env pattern +*.env/ +**/*.env/ + + +node_modules/ +node_modules/* diff --git a/1_upload_to_gitEa.sh b/1_upload_to_gitEa.sh new file mode 100644 index 00000000..3f8c9b68 --- /dev/null +++ b/1_upload_to_gitEa.sh @@ -0,0 +1,14 @@ +#!/bin/bash +set -e + +source "$(dirname "$0")/.env" + +COMMIT_MSG="${1:-update}" + +git remote remove origin 2>/dev/null || true +git remote add origin https://${GITEA_USER}:${GITEA_TOKEN}@${GITEA_REPO_URL#https://} + +git add -A +git commit -m "$COMMIT_MSG" || echo "nothing to commit" +git branch -M main +git push -u origin ${GITEA_BRANCH} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 00000000..79b68878 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,778 @@ +{ + "name": "ai_frontend", + "version": "1.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "ai_frontend", + "version": "1.0.0", + "license": "ISC", + "dependencies": { + "express": "^5.2.1" + } + }, + "node_modules/accepts": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-2.0.0.tgz", + "integrity": "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==", + "dependencies": { + "mime-types": "^3.0.0", + "negotiator": "^1.0.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/body-parser": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.2.2.tgz", + "integrity": "sha512-oP5VkATKlNwcgvxi0vM0p/D3n2C3EReYVX+DNYs5TjZFn/oQt2j+4sVJtSMr18pdRr8wjTcBl6LoV+FUwzPmNA==", + "dependencies": { + "bytes": "^3.1.2", + "content-type": "^1.0.5", + "debug": "^4.4.3", + "http-errors": "^2.0.0", + "iconv-lite": "^0.7.0", + "on-finished": "^2.4.1", + "qs": "^6.14.1", + "raw-body": "^3.0.1", + "type-is": "^2.0.1" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/call-bind-apply-helpers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", + "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/call-bound": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz", + "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "get-intrinsic": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/content-disposition": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-1.1.0.tgz", + "integrity": "sha512-5jRCH9Z/+DRP7rkvY83B+yGIGX96OYdJmzngqnw2SBSxqCFPd0w2km3s5iawpGX8krnwSGmF0FW5Nhr0Hfai3g==", + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/content-type": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", + "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz", + "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie-signature": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.2.2.tgz", + "integrity": "sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==", + "engines": { + "node": ">=6.6.0" + } + }, + "node_modules/debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" + }, + "node_modules/encodeurl": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", + "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/es-define-property": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-object-atoms": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz", + "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", + "dependencies": { + "es-errors": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==" + }, + "node_modules/etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/express": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/express/-/express-5.2.1.tgz", + "integrity": "sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw==", + "dependencies": { + "accepts": "^2.0.0", + "body-parser": "^2.2.1", + "content-disposition": "^1.0.0", + "content-type": "^1.0.5", + "cookie": "^0.7.1", + "cookie-signature": "^1.2.1", + "debug": "^4.4.0", + "depd": "^2.0.0", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "etag": "^1.8.1", + "finalhandler": "^2.1.0", + "fresh": "^2.0.0", + "http-errors": "^2.0.0", + "merge-descriptors": "^2.0.0", + "mime-types": "^3.0.0", + "on-finished": "^2.4.1", + "once": "^1.4.0", + "parseurl": "^1.3.3", + "proxy-addr": "^2.0.7", + "qs": "^6.14.0", + "range-parser": "^1.2.1", + "router": "^2.2.0", + "send": "^1.1.0", + "serve-static": "^2.2.0", + "statuses": "^2.0.1", + "type-is": "^2.0.1", + "vary": "^1.1.2" + }, + "engines": { + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/finalhandler": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-2.1.1.tgz", + "integrity": "sha512-S8KoZgRZN+a5rNwqTxlZZePjT/4cnm0ROV70LedRHZ0p8u9fRID0hJUZQpkKLzro8LfmC8sx23bY6tVNxv8pQA==", + "dependencies": { + "debug": "^4.4.0", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "on-finished": "^2.4.1", + "parseurl": "^1.3.3", + "statuses": "^2.0.1" + }, + "engines": { + "node": ">= 18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fresh": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-2.0.0.tgz", + "integrity": "sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==", + "engines": { + "node": ">= 0.8" + } + }, + "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==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-intrinsic": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", + "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", + "function-bind": "^1.1.2", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", + "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", + "dependencies": { + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/gopd": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-symbols": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hasown": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.3.tgz", + "integrity": "sha512-ej4AhfhfL2Q2zpMmLo7U1Uv9+PyhIZpgQLGT1F9miIGmiCJIoCgSmczFdrc97mWT4kVY72KA+WnnhJ5pghSvSg==", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/http-errors": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz", + "integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==", + "dependencies": { + "depd": "~2.0.0", + "inherits": "~2.0.4", + "setprototypeof": "~1.2.0", + "statuses": "~2.0.2", + "toidentifier": "~1.0.1" + }, + "engines": { + "node": ">= 0.8" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/iconv-lite": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.2.tgz", + "integrity": "sha512-im9DjEDQ55s9fL4EYzOAv0yMqmMBSZp6G0VvFyTMPKWxiSBHUj9NW/qqLmXUwXrrM7AvqSlTCfvqRb0cM8yYqw==", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "node_modules/ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/is-promise": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz", + "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==" + }, + "node_modules/math-intrinsics": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/media-typer": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-1.1.0.tgz", + "integrity": "sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/merge-descriptors": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-2.0.0.tgz", + "integrity": "sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mime-db": { + "version": "1.54.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz", + "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.2.tgz", + "integrity": "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==", + "dependencies": { + "mime-db": "^1.54.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + }, + "node_modules/negotiator": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-1.0.0.tgz", + "integrity": "sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/object-inspect": { + "version": "1.13.4", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz", + "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/on-finished": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", + "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/path-to-regexp": { + "version": "8.4.2", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.4.2.tgz", + "integrity": "sha512-qRcuIdP69NPm4qbACK+aDogI5CBDMi1jKe0ry5rSQJz8JVLsC7jV8XpiJjGRLLol3N+R5ihGYcrPLTno6pAdBA==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/proxy-addr": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/qs": { + "version": "6.15.1", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.15.1.tgz", + "integrity": "sha512-6YHEFRL9mfgcAvql/XhwTvf5jKcOiiupt2FiJxHkiX1z4j7WL8J/jRHYLluORvc1XxB5rV20KoeK00gVJamspg==", + "dependencies": { + "side-channel": "^1.1.0" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/raw-body": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-3.0.2.tgz", + "integrity": "sha512-K5zQjDllxWkf7Z5xJdV0/B0WTNqx6vxG70zJE4N0kBs4LovmEYWJzQGxC9bS9RAKu3bgM40lrd5zoLJ12MQ5BA==", + "dependencies": { + "bytes": "~3.1.2", + "http-errors": "~2.0.1", + "iconv-lite": "~0.7.0", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/router": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/router/-/router-2.2.0.tgz", + "integrity": "sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==", + "dependencies": { + "debug": "^4.4.0", + "depd": "^2.0.0", + "is-promise": "^4.0.0", + "parseurl": "^1.3.3", + "path-to-regexp": "^8.0.0" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "node_modules/send": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/send/-/send-1.2.1.tgz", + "integrity": "sha512-1gnZf7DFcoIcajTjTwjwuDjzuz4PPcY2StKPlsGAQ1+YH20IRVrBaXSWmdjowTJ6u8Rc01PoYOGHXfP1mYcZNQ==", + "dependencies": { + "debug": "^4.4.3", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "etag": "^1.8.1", + "fresh": "^2.0.0", + "http-errors": "^2.0.1", + "mime-types": "^3.0.2", + "ms": "^2.1.3", + "on-finished": "^2.4.1", + "range-parser": "^1.2.1", + "statuses": "^2.0.2" + }, + "engines": { + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/serve-static": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-2.2.1.tgz", + "integrity": "sha512-xRXBn0pPqQTVQiC8wyQrKs2MOlX24zQ0POGaj0kultvoOCstBQM5yvOhAVSUwOMjQtTvsPWoNCHfPGwaaQJhTw==", + "dependencies": { + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "parseurl": "^1.3.3", + "send": "^1.2.0" + }, + "engines": { + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" + }, + "node_modules/side-channel": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz", + "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3", + "side-channel-list": "^1.0.0", + "side-channel-map": "^1.0.1", + "side-channel-weakmap": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-list": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.1.tgz", + "integrity": "sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w==", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-map": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz", + "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-weakmap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz", + "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3", + "side-channel-map": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/statuses": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz", + "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/type-is": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-2.1.0.tgz", + "integrity": "sha512-faYHw0anBbc/kWF3zFTEnxSFOAGUX9GFbOBthvDdLsIlEoWOFOtS0zgCiQYwIskL9iGXZL3kAXD8OoZ4GmMATA==", + "dependencies": { + "content-type": "^2.0.0", + "media-typer": "^1.1.0", + "mime-types": "^3.0.0" + }, + "engines": { + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/type-is/node_modules/content-type": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.0.0.tgz", + "integrity": "sha512-j/O/d7GcZCyNl7/hwZAb606rzqkyvaDctLmckbxLzHvFBzTJHuGEdodATcP3yIRoDrLHkIATJuvzbFlp/ki2cQ==", + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 00000000..7d60a98e --- /dev/null +++ b/package.json @@ -0,0 +1,16 @@ +{ + "name": "ai_frontend", + "version": "1.0.0", + "description": "", + "main": "server.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1", + "start": "node server.js" + }, + "keywords": [], + "author": "", + "license": "ISC", + "dependencies": { + "express": "^5.2.1" + } +} diff --git a/public/1/index.html b/public/1/index.html new file mode 100644 index 00000000..9743c503 --- /dev/null +++ b/public/1/index.html @@ -0,0 +1,80 @@ + + + + + Jarvis + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/2/left.html b/public/2/left.html new file mode 100644 index 00000000..e0ef5a5d --- /dev/null +++ b/public/2/left.html @@ -0,0 +1,209 @@ + + + + + Jarvis + + + + + + + +
+
+
+
+
+
+
12
+
february
+
+ +
+
8:03 pm
+
Saturday
+
+
+ + + + + + +

Performance

+
+ + +

CPU Usage: 19%

+
+
+ + +

Battery: 100%

+
+
+ + +

Processes: 73/500

+
+ + + + + + + +

Al models

+
+ + + + + + + + + +

Al models

+
+ + + + + + + + +

Al models last

+
+ + + + +
+
+
+
+
+
+
+ + +
+ + \ No newline at end of file diff --git a/public/3/Chat_page.html b/public/3/Chat_page.html new file mode 100644 index 00000000..ea7a9ded --- /dev/null +++ b/public/3/Chat_page.html @@ -0,0 +1,151 @@ + + + + + Processed Content + + + + +
+ + + +
+ +
+ + + diff --git a/public/3/arc_reactor.html b/public/3/arc_reactor.html new file mode 100644 index 00000000..4594e61e --- /dev/null +++ b/public/3/arc_reactor.html @@ -0,0 +1,102 @@ + + + + + Jarvis + + + + + + +
+ +
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
    +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
+
+
+
+
+ + + + + \ No newline at end of file diff --git a/public/3/center.html b/public/3/center.html new file mode 100644 index 00000000..7cbe9a66 --- /dev/null +++ b/public/3/center.html @@ -0,0 +1,89 @@ + + + + + Stacked Iframes with Opacity & Scrollbar + + + + +
+ +
+ + +
+ + +
+ + + + + + + + + + + diff --git a/public/4/4.html b/public/4/4.html new file mode 100644 index 00000000..c7c44b8b --- /dev/null +++ b/public/4/4.html @@ -0,0 +1,60 @@ + + + + + Live Python Stream + + + +

Python โ†’ Client Streaming

+ + +

+
+  
+
+
\ No newline at end of file
diff --git a/public/4/load.html b/public/4/load.html
new file mode 100644
index 00000000..92b628dc
--- /dev/null
+++ b/public/4/load.html
@@ -0,0 +1,63 @@
+
+
+
+  
+  Enable/Disable Element with Loader
+  
+
+
+  
+ + + + + +
+ + diff --git a/public/4/right.html b/public/4/right.html new file mode 100644 index 00000000..a7e7a4d8 --- /dev/null +++ b/public/4/right.html @@ -0,0 +1,247 @@ + + + + + Jarvis + + + + + + + + +
+

Codes...

+ +
+
+ + +
+
+ + +
+
+
+
+
+
+
+
0c
+
Temp.
+
+ +
+
+
Humidity
+
+
+
+ + + + + + + + + + + + + + + + +

+        
+        
+ + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+
+ + + + + +
+ +


+ + + + + + + + +
+ + + + + + + + +


+ + + + +
+ + + + + \ No newline at end of file diff --git a/public/4/stack_iframe.html b/public/4/stack_iframe.html new file mode 100644 index 00000000..4ea6aa7b --- /dev/null +++ b/public/4/stack_iframe.html @@ -0,0 +1,24 @@ + + + + + Stacked Iframes - Fullscreen + + +
+ + + + + +
+ + diff --git a/public/5 b/public/5 new file mode 160000 index 00000000..592c7623 --- /dev/null +++ b/public/5 @@ -0,0 +1 @@ +Subproject commit 592c7623174375fd70741886cc4fdc078d67a421 diff --git a/public/OLD/README.md b/public/OLD/README.md new file mode 100644 index 00000000..f6295c8c --- /dev/null +++ b/public/OLD/README.md @@ -0,0 +1,39 @@ +# Jarvis-in-Javascript๐Ÿš€๐Ÿš€ +![JARVIS_THUMBNAIL](./Images/Jarvis_Thumbnail.png) + + +Welcome everyone..๐Ÿ™๐Ÿ™ + +โœ”๏ธ To get started with project download this repo and follow below steps accordingly: +step 1: + Download repo... +step 2: + Open the folder with vscode code editor... +step 3: + Now visit this website ๐Ÿ‘‰https://openweathermap.org/appid create your account and get api key. + โš ๏ธโš ๏ธ Please get your ๐Ÿ‘‰API_KEY prior otherwise project won't work... + This will help you to get weather details for your area... +step 4: + Now open index.html file in root directory with live server extension in VScode... + +Here you go... you have succefully setup your JARVIS ๐Ÿ‘๐Ÿ‘ + +**Note:** +โœ”๏ธ To add additional function: + Create a function in app1.js file which is available at mic/app1.js for example + function createAlarm(){ + // Write some code + } + And then call this function in process.json with it's respective command for example... + // In process.json + { + "Jarvis set an alarm" : "createAlarm()" + } + +โœ”๏ธ Please allow the necessary permission required to perform certain task like + camera permission for taking pictures,location for weather details, etc... + +โœ”๏ธ Sometimes JARVIS starting message/sound does not come so click on center so new small JARVIS window will come and then press 'ctrl+s' in + vscode this is quite annoying but this will solve issue... + +Hopefully now you will be able to setup your project but still if you face any issue comment down in video section I will be happy to help you... diff --git a/public/OLD/index2.html b/public/OLD/index2.html new file mode 100644 index 00000000..3c1d8632 --- /dev/null +++ b/public/OLD/index2.html @@ -0,0 +1,142 @@ + + + + + Processed Content + + + + + +
+ +
+ + + + + + + + + + + +
+ + + diff --git a/public/OLD/index3.html b/public/OLD/index3.html new file mode 100644 index 00000000..2406e1f2 --- /dev/null +++ b/public/OLD/index3.html @@ -0,0 +1,100 @@ + + + + + Realistic Avatar with TTS Sync + + + +
+ + Avatar +
+
+ + + + + diff --git a/public/OLD/index_JS.js b/public/OLD/index_JS.js new file mode 100644 index 00000000..8175e403 --- /dev/null +++ b/public/OLD/index_JS.js @@ -0,0 +1,87 @@ + +const speechRecognition=window.webkitSpeechRecognition //Google Chrome +|| +window.SpeechRecognition; //Firefox + + +//To get a Battery +let batteryPromise = navigator.getBattery(); +batteryPromise.then(batteryCallback1); + +function batteryCallback1(batteryObject) { + printBatteryStatus(batteryObject); +} +function printBatteryStatus(batteryObject) { + const batteryLevel = batteryObject.level*100; + // console.log("Percentage", batteryLevel+"%"); + document.getElementById('ram').innerHTML = "Battery: " + batteryLevel + "%"; +} + + +function getDate1() +{ + var d = new Date(); + var months = ["January","February","March","April","May","June","July","August","September","October","November","December"]; + document.getElementById("monthValue").innerHTML = months[d.getMonth()]; + document.getElementById("dateValue").innerHTML = d.getDate(); + document.getElementById("timeValue").innerHTML = d.getHours() + ":" + d.getMinutes(); + var days = ["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]; + document.getElementById("weekDayValue").innerHTML = days[d.getDay()]; +} + +// jarvisStartingReply(); +function startListening() +{ + const recong = new speechRecognition(); + recong.start(); + + recong.onresult =function(data) + { + handleResults(data); + } +} +function handleResults(data) +{ + let text=data.results[0][0].transcript; + text = text.toLowerCase(); + console.log(text); + + ProcessCommand(text); +} +function ProcessCommand(UserText) +{ + if(UserText.includes("push enable")) + { + // UserText=UserText.slice(16); + // Speak('Searching initiated...'+UserText); + // searchOnGoogle(UserText); + } + else + { + + } + } + getDate1(); + function getDate1() + { + var d = new Date(); + var months = ["January","February","March","April","May","June","July","August","September","October","November","December"]; +// document.getElementById("monthValue").innerHTML = months[d.getMonth()]; + //document.getElementById("dateValue").innerHTML = d.getDate(); + //document.getElementById("timeValue").innerHTML = d.getHours() + ":" + d.getMinutes(); +// var days = ["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]; +// document.getElementById("weekDayValue").innerHTML = days[d.getDay()]; + } +function Speak(TEXT) +{ + const utter = new SpeechSynthesisUtterance(); + + utter.text = TEXT; + utter.voice = window.speechSynthesis.getVoices()[1]; + window.speechSynthesis.speak(utter); + window.speechSynthesis.getVoices().forEach(i=>{ + console.log(i); + }); +} + + diff --git a/public/OLD/left_design.html b/public/OLD/left_design.html new file mode 100644 index 00000000..1857bb99 --- /dev/null +++ b/public/OLD/left_design.html @@ -0,0 +1,67 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/public/OLD/xyz.html b/public/OLD/xyz.html new file mode 100644 index 00000000..fc0f9c87 --- /dev/null +++ b/public/OLD/xyz.html @@ -0,0 +1,106 @@ + + + + + + Custom Draggable Items + + + + + + + +
+ +
+
+ +
+
+ +
+
+ + + + diff --git a/public/style/Style.css b/public/style/Style.css new file mode 100644 index 00000000..51b21abc --- /dev/null +++ b/public/style/Style.css @@ -0,0 +1,1126 @@ +/* *{ + margin: 0; + padding: 0; + box-sizing: border-box; + font-family:'Helvetica', sans-serif; +} +body{ + display: flex; + justify-content: center; + align-items: center; + height: 100vh; + min-height: 100vh; +} +#microphoneButton{ + background: #dbdbdb; + border: none; + outline: none; + width: 100px; + height: 100px; + border-radius: 50%; +} +#microphoneButton.Listen{ + background: red; +} +#microphoneButton.Listen #Mic{ + fill: #ffffff; +} +#Mic{ + height: 80%; +} */ +/* @import url(http://weloveiconfonts.com/api/?family=entypo); */ +body { + background: black; + color: #02feff; + height: 100%; + overflow: hidden; +} +#microphoneButton.Listen{ + border: none; +} +/* #microphoneButton.Listen #Mic{ + fill: #ffffff; +} */ +#microphoneButton{ + border: none; +} +#titleBar{ + margin-left: 400px; + margin-top: 30px; +} +#pointer { + width: 200px; + height: 40px; + position: relative; + background: #02feff; + /* border: 1px solid #02feff; */ +} +#pointer:after { + content: ""; + position: absolute; + left: 0; + bottom: 0; + width: 0; + height: 0; + border-left: 20px solid black; + border-top: 20px solid transparent; + border-bottom: 20px solid transparent; +} +#pointer:before { + content: ""; + position: absolute; + right: -20px; + bottom: 0; + width: 0; + height: 0; + border-left: 20px solid #02feff; + border-top: 20px solid transparent; + border-bottom: 20px solid transparent; +} + + +.counterspin4 { + animation: rotate_anti 4s linear infinite; +} +.core { + background: #cedce0; + width: 100px; + height: 100px; + -moz-border-radius: 50%; + -webkit-border-radius: 50%; + border-radius: 50%; + border: 10px rgba(2, 255, 255, 0.15) solid; + animation: flicker 0.2s infinite; + margin-left: auto; + margin-right: auto; + margin-top: 40px; +} + +.core2 { + background: #cedce0; + width: 100px; + height: 100px; + -moz-border-radius: 50%; + -webkit-border-radius: 50%; + border-radius: 50%; + border: 10px rgba(2, 255, 255, 0.15) solid; + animation: flicker2 0.2s infinite; + margin-left: auto; + margin-right: auto; + margin-top: 40px; +} + +.big_core { + background: #cedce0; + width: 200px; + height: 200px; + -moz-border-radius: 50%; + -webkit-border-radius: 50%; + border-radius: 50%; + border: 10px rgba(2, 255, 255, 0.15) solid; + animation: big_flicker 0.2s infinite; +} + +.c_ease { + animation: colour_ease 3s infinite ease-in-out; +} + +.counterspin5 { + animation: rotate_anti 5s linear infinite; +} + +.counterspin4 { + animation: rotate_anti 4s linear infinite; +} + +.semi_arc { + width: 100px; + height: 100px; + border: 6px solid #02feff; + background: rgba(2, 254, 255, 0.2); + -moz-border-radius: 50%; + -webkit-border-radius: 50%; + border-radius: 50%; + transform: rotateZ(0deg); + transition: box-shadow 3s ease; + text-align: center; + line-height: 100px; +} + +.semi_arc:hover { + box-shadow: 0px 0px 30px rgba(2, 254, 255, 0.8); + transition: 0.3s; +} + +.semi_arc_2 { + content: ""; + position: absolute; + width: 94%; + height: 94%; + left: 3%; + top: 3%; + border: 5px solid #02feff; + -moz-border-radius: 50%; + -webkit-border-radius: 50%; + border-radius: 50%; + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; + box-sizing: border-box; + animation: rotate 4s linear infinite; + text-align: center; + line-height: 129px; +} + +.semi_arc_2:after { + content: ""; + position: absolute; + width: 94%; + height: 94%; + left: 3%; + top: 3%; + border: 4px solid #02feff; + -moz-border-radius: 50%; + -webkit-border-radius: 50%; + border-radius: 50%; + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; + box-sizing: border-box; + animation: rotate_anti 2s linear infinite; +} + +.semi_arc_3 { + content: ""; + position: absolute; + width: 94%; + height: 94%; + left: 3%; + top: 3%; + border: 5px solid #02feff; + -moz-border-radius: 50%; + -webkit-border-radius: 50%; + border-radius: 50%; + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; + box-sizing: border-box; + animation: rotate 4s linear infinite; + text-align: center; + line-height: 129px; +} + +.arc { + width: 100px; + height: 100px; + border: 6px solid #02feff; + background: rgba(2, 254, 255, 0.2); + -moz-border-radius: 50%; + -webkit-border-radius: 50%; + border-radius: 50%; + -moz-transform: rotateY(-30deg) translateZ(-200px); + -ms-transform: rotateY(-30deg) translateZ(-200px); + -webkit-transform: rotateY(-30deg) translateZ(-200px); + transform: rotateY(-30deg) translateZ(-200px); + transform: rotateZ(0deg); + transition: box-shadow 3s ease; + text-align: center; + line-height: 100px; +} +.arc__2 { + width: 100px; + height: 100px; + border: 6px solid #02feff; + background: rgba(2, 254, 255, 0.2); + border-radius: 50%; + text-align: center; + line-height: 100px; + + /* Add 3D feel without breaking clicks */ + transform: rotate(0deg); /* simple 2D rotation, safe for clicks */ + + transition: box-shadow 3s ease; + + /* Make sure pointer-events are allowed */ + pointer-events: auto; + + /* Optional: if parent has 3D, force children flat */ + transform-style: flat; +} +.arc:hover { + box-shadow: 0px 0px 30px rgba(2, 254, 255, 0.8); + transition: 0.3s; +} + +.arc:after { + content: ""; + position: absolute; + width: 94%; + height: 94%; + left: 3%; + top: 3%; + border: 4px solid #02feff; + -moz-border-radius: 50%; + -webkit-border-radius: 50%; + border-radius: 50%; + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; + box-sizing: border-box; + animation: rotate 4s linear infinite; +} + +.e1:after { + border-color: rgba(2, 255, 255, 0.6); + border-left: 5px solid transparent; + border-right: 5px solid transparent; +} + +.e2:after { + border-color: rgba(2, 255, 255, 0.6); + border-left: 5px solid transparent; + border-right: 5px solid transparent; + border-bottom: 5px solid transparent; +} + +.e3 { + border-left: 6px solid transparent; + border-right: 6px solid transparent; + animation: rotate 5s linear infinite; +} + +.e3:after { + border-color: rgba(2, 255, 255, 0.6); + border-top: 5px solid transparent; + border-bottom: 5px solid transparent; +} + +.e4 { + width: 150px; + height: 150px; +} + +.e4_1 { + border-color: rgba(2, 255, 255, 0.3); + border-left: 5px solid transparent; + border-right: 5px solid transparent; +} + +.e4_1:after { + border-color: rgba(2, 255, 255, 0.6); + border-top: 4px solid transparent; + border-bottom: 4px solid transparent; +} + +.e5 { + width: 200px; + height: 200px; +} + +.e5_1 { + color: rgba(2, 255, 255, 0.15); + border: 2px solid; + border-left: 2px solid transparent; + animation: rotate 5s linear infinite; +} + +.e5_2 { + color: rgba(2, 255, 255, 0.7); + border: 4px solid; + border-left: 4px solid transparent; + border-right: 4px solid transparent; + animation: rotate_anti 4s linear infinite; +} + +.e5_3 { + color: rgba(2, 255, 255, 0.5); + border: 2px solid; + border-left: 2px solid transparent; + border-right: 2px solid transparent; + animation: rotate 3s linear infinite; +} + +.e5_4 { + color: rgba(2, 255, 255, 0.15); + border: 4px solid; + border-left: 4px solid transparent; + border-right: 4px solid transparent; + border-bottom: 4px solid transparent; + animation: rotate_anti 2s linear infinite; +} + +.e6 { + border-color: transparent; + background: rgba(255, 255, 255, 0); + width: 200px; + height: 200px; +} + +@keyframes rotate { + 0% { + transform: rotateZ(0deg); + } + 100% { + transform: rotateZ(360deg); + } +} +@keyframes rotate_anti { + 0% { + transform: rotateZ(360deg); + } + 100% { + transform: rotateZ(0deg); + } +} +@keyframes colour_ease { + 0% { + border-color: #02feff; + } + 50% { + border-color: rgba(2, 254, 255, 0.5); + } + 100% { + border-color: #02feff; + } +} +@keyframes flicker { + 0% { + box-shadow: 0px 0px 16px 8px rgba(150, 255, 255, 0.5), inset 0px 1px 4px 2px rgba(21, 211, 233, 0.3); + } + 40% { + box-shadow: 0px 0px 16px 8px rgba(150, 255, 255, 0.5), inset 0px 1px 4px 2px rgba(21, 211, 233, 0.3); + } + 50% { + box-shadow: 0px 0px 16px 6px rgba(150, 255, 255, 0.5), inset 0px 1px 100px 2px rgba(21, 211, 233, 0.3); + } + 60% { + box-shadow: 0px 0px 16px 8px rgba(150, 255, 255, 0.5), inset 0px 1px 4px 2px rgba(21, 211, 233, 0.3); + } + 100% { + box-shadow: 0px 0px 16px 8px rgba(150, 255, 255, 0.5), inset 0px 1px 4px 2px rgba(21, 211, 233, 0.3); + } +} +@keyframes flicker2 { + 0% { + box-shadow: 0px 0px 60px 25px rgba(150, 255, 255, 0.5), inset 0px 1px 4px 2px rgba(21, 211, 233, 0.3); + } + 40% { + box-shadow: 0px 0px 60px 25px rgba(150, 255, 255, 0.5), inset 0px 1px 4px 2px rgba(21, 211, 233, 0.3); + } + 50% { + box-shadow: 0px 0px 50px 17px rgba(150, 255, 255, 0.5), inset 0px 1px 100px 2px rgba(21, 211, 233, 0.3); + } + 60% { + box-shadow: 0px 0px 60px 25px rgba(150, 255, 255, 0.5), inset 0px 1px 4px 2px rgba(21, 211, 233, 0.3); + } + 100% { + box-shadow: 0px 0px 60px 25px rgba(150, 255, 255, 0.5), inset 0px 1px 4px 2px rgba(21, 211, 233, 0.3); + } +} +@keyframes big_flicker { + 0% { + box-shadow: 0px 0px 40px 20px rgba(150, 255, 255, 0.5), inset 0px 1px 30px 15px rgba(21, 211, 233, 0.3); + } + 40% { + box-shadow: 0px 0px 40px 20px rgba(150, 255, 255, 0.5), inset 0px 1px 30px 15px rgba(21, 211, 233, 0.3); + } + 50% { + box-shadow: 0px 0px 35px 17px rgba(150, 255, 255, 0.5), inset 0px 1px 50px 40px rgba(21, 211, 233, 0.3); + } + 60% { + box-shadow: 0px 0px 40px 20px rgba(150, 255, 255, 0.5), inset 0px 1px 30px 15px rgba(21, 211, 233, 0.3); + } + 100% { + box-shadow: 0px 0px 40px 20px rgba(150, 255, 255, 0.5), inset 0px 1px 30px 15px rgba(21, 211, 233, 0.3); + } +} +/* Font / Universal Properties */ +[class*="entypo-"]:before { + font-family: "entypo", sans-serif; + transition: 0.3s; + margin-left: -10px + +} +[class*="entypo__-"]:before { + font-family: "entypo", sans-serif; + transition: 0.3s; + margin-left: 1px + +} +* { + user-select: none; + font: 20px "Agency FB", sans-serif; +} + +/* .left_offset{ + margin-left: 10px +} */ + +/* Left Menu */ +#leftmenu { + /* position: fixed; + float: left; */ + /* margin-left: 50px; */ + width: 216px; + +} +.no-horizontal-scroll { + /* hide any overflow on the x-axis */ + overflow-x: hidden; + + /* allow scrolling on the y-axis when content overflows */ + overflow-y: auto; + + /* (optional) prevent touch-drag horizontal overscroll on mobile */ + overscroll-behavior-x: contain; +} + +#date_time { + margin: 0px; + width: 200px; + height: 200px; +} + +#time { + margin-left: 110px; + /* position: fixed; */ + background: rgba(0, 0, 0, 0.8); + line-height: 0; + /* top: 300px; */ + margin-top: -80px; +} +#time1 { + top: 450px; + left: 1150px; + margin-right: 10px; + position: fixed; + background: rgba(0, 0, 0, 0.8); + line-height: 0; +} +.bgb{ +/* background black */ + background: rgba(0, 0, 0, 0.8); +} +#date { + margin: 0px; + /* position: fixed; */ + /* margin-top: 20px; */ + + background: rgba(0, 0, 0, 0.8); +} + +.title { + font-size: 30px; + text-align: left; + margin: 0; + /* padding-left: 28px; */ + /* margin-left: -215px; */ + /* background-color: #02ff6b; */ + width: fit-content; +} + +.title_underline { + border-color: rgba(2, 255, 255, 0.5); +} + +.menu { + width: 200px; + height: 200px; + margin: 0; + padding: 5px; +} + +.menuitem { + width: 100%; + height: 40px; + padding: 5px; + margin-left: 5px; + color: #02feff; + background: transparent; + border: transparent; + font-size: 15px; + text-align: left; + display: block; + float: left; + transition: 0.3s; + cursor: pointer; +} + +.entypo-right-open{ + + margin-left: -15px; +} +.caption { + /* margin-left: 4px; */ + color: rgba(2, 255, 255, 0.6); + display: inline; + transition: 0.3s; + cursor: pointer; + /* background-color: #02ff6b; */ + width: fit-content; +} + +.caption:hover { + color: #02feff; +} + +.app_icon { + width: 48px; + color: rgba(2, 255, 255, 0.6); + font-size: 40px; + text-align: center; + display: inline-block; + cursor: pointer; +} + +.app_icon:hover { + color: #02feff; +} + +/* Right Menu */ +#rightmenu { + /* float: right; */ + margin-right: 20px; + width: 300px; + height: 900px; +} +.ai_face{ + + + display: flex; + justify-content: center; + align-items: center; + margin: 0px; padding: 0px; + width: 100%; + height: 100%; + background-color: rgba(235, 135, 213, 0); + overflow: hidden; +} +.note_input { + color: rgba(2, 255, 255, 0.6); + padding: 5px; + border-style: none; + background: transparent; + resize: none; + transition: 0.3s; + width: calc(100% - 15px); + margin-bottom: 2rem; +} + +.note_input { + + /* border: 2px solid blue; Border color */ + outline: 2px solid aqua; /* Change focus outline color */ + border-radius: 10px; +} + +.note_input:hover { + color: #02feff; + transition: 0.3s; + /* border: 2px solid blue; Border color */ + outline: 2px solid rgb(0, 0, 0); /* Change focus outline color */ +} +.note_input::placeholder { + color: aqua; /* Change to any color */ +} +.note_input:focus { + outline: 2px solid aqua; /* Change focus outline color */ + border-color: aqua; /* Aqua border */ + box-shadow: 0 0 90px aqua; /* Glowing effect */ + +} + +/* Taskbar */ +#taskbar_wrapper #taskbar { + position: fixed; + width: 200px; + height: 200px; + background: gray; + margin-left: auto; + margin-right: auto; +} + +/* Arc Reactor */ +ul { + list-style: none; + margin: 0; + padding: 0; +} +.flex_parent { + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: center; /* Centers children horizontally */ + align-items: center; /* Centers children vertically */ + + height: 100vh; /* Ensures parent div has enough height to center vertically */ +} + +#arc_container { + + margin: 0; padding: 0; box-sizing: border-box; + + display: flex; + justify-content: center; + align-items: center; + + height: 100%; + z-index: -1; + /* background-color: #02feff; */ + padding-left: 20px; + /* background-color: blue; */ +} + +.arc_reactor { + /* position: relative; */ + top: 50%; + margin-top: -125px; + margin-left: auto; + margin-right: auto; + width: 250px; + height: 250px; + border-radius: 50%; + box-shadow: 0px 0px 50px 15px rgba(2, 255, 255, 0.3), inset 0px 0px 50px 15px rgba(2, 255, 255, 0.3); + +} + +.case_container { + width: 210px; + height: 210px; + border-radius: 50%; + position: absolute; + margin-left: 20px; + margin-top: 20px; +} + +.core2 { + background: #cedce0; + width: 110px; + height: 110px; + -moz-border-radius: 50%; + -webkit-border-radius: 50%; + border-radius: 50%; + border: 5px solid rgba(2, 255, 255, 0.15); + animation: flicker2 0.2s infinite; + margin-left: auto; + margin-right: auto; + margin-top: 40px; +} + +.e7 { + width: 95.25%; + height: 95.25%; + left: 2.5475%; + right: 2.5475%; + border: 6px solid transparent; + background: transparent; + -moz-border-radius: 50%; + -webkit-border-radius: 50%; + border-radius: 50%; + transform: rotateZ(0deg); + transition: box-shadow 3s ease; + text-align: center; + line-height: 100px; +} + +.marks li { + display: block; + width: 3px; + height: 11px; + background: rgba(2, 254, 255, 0.8); + position: absolute; + margin-left: 105px; + margin-top: -110px; + animation: colour_ease2 3s infinite ease-in-out; +} + +@keyframes colour_ease2 { + 0% { + background: #02feff; + } + 50% { + background: rgba(2, 254, 255, 0.3); + } + 100% { + background: #02feff; + } +} +.marks li:first-child { + transform: rotate(6deg) translateY(125px); +} + +.marks li:nth-child(2) { + transform: rotate(12deg) translateY(125px); +} + +.marks li:nth-child(3) { + transform: rotate(18deg) translateY(125px); +} + +.marks li:nth-child(4) { + transform: rotate(24deg) translateY(125px); +} + +.marks li:nth-child(5) { + transform: rotate(30deg) translateY(125px); +} + +.marks li:nth-child(6) { + transform: rotate(36deg) translateY(125px); +} + +.marks li:nth-child(7) { + transform: rotate(42deg) translateY(125px); +} + +.marks li:nth-child(8) { + transform: rotate(48deg) translateY(125px); +} + +.marks li:nth-child(9) { + transform: rotate(54deg) translateY(125px); +} + +.marks li:nth-child(10) { + transform: rotate(60deg) translateY(125px); +} + +.marks li:nth-child(11) { + transform: rotate(66deg) translateY(125px); +} + +.marks li:nth-child(12) { + transform: rotate(72deg) translateY(125px); +} + +.marks li:nth-child(13) { + transform: rotate(78deg) translateY(125px); +} + +.marks li:nth-child(14) { + transform: rotate(84deg) translateY(125px); +} + +.marks li:nth-child(15) { + transform: rotate(90deg) translateY(125px); +} + +.marks li:nth-child(16) { + transform: rotate(96deg) translateY(125px); +} + +.marks li:nth-child(17) { + transform: rotate(102deg) translateY(125px); +} + +.marks li:nth-child(18) { + transform: rotate(108deg) translateY(125px); +} + +.marks li:nth-child(19) { + transform: rotate(114deg) translateY(125px); +} + +.marks li:nth-child(20) { + transform: rotate(120deg) translateY(125px); +} + +.marks li:nth-child(21) { + transform: rotate(126deg) translateY(125px); +} + +.marks li:nth-child(22) { + transform: rotate(132deg) translateY(125px); +} + +.marks li:nth-child(23) { + transform: rotate(138deg) translateY(125px); +} + +.marks li:nth-child(24) { + transform: rotate(144deg) translateY(125px); +} + +.marks li:nth-child(25) { + transform: rotate(150deg) translateY(125px); +} + +.marks li:nth-child(26) { + transform: rotate(156deg) translateY(125px); +} + +.marks li:nth-child(27) { + transform: rotate(162deg) translateY(125px); +} + +.marks li:nth-child(28) { + transform: rotate(168deg) translateY(125px); +} + +.marks li:nth-child(29) { + transform: rotate(174deg) translateY(125px); +} + +.marks li:nth-child(30) { + transform: rotate(180deg) translateY(125px); +} + +.marks li:nth-child(31) { + transform: rotate(186deg) translateY(125px); +} + +.marks li:nth-child(32) { + transform: rotate(192deg) translateY(125px); +} + +.marks li:nth-child(33) { + transform: rotate(198deg) translateY(125px); +} + +.marks li:nth-child(34) { + transform: rotate(204deg) translateY(125px); +} + +.marks li:nth-child(35) { + transform: rotate(210deg) translateY(125px); +} + +.marks li:nth-child(36) { + transform: rotate(216deg) translateY(125px); +} + +.marks li:nth-child(37) { + transform: rotate(222deg) translateY(125px); +} + +.marks li:nth-child(38) { + transform: rotate(228deg) translateY(125px); +} + +.marks li:nth-child(39) { + transform: rotate(234deg) translateY(125px); +} + +.marks li:nth-child(40) { + transform: rotate(240deg) translateY(125px); +} + +.marks li:nth-child(41) { + transform: rotate(246deg) translateY(125px); +} + +.marks li:nth-child(42) { + transform: rotate(252deg) translateY(125px); +} + +.marks li:nth-child(43) { + transform: rotate(258deg) translateY(125px); +} + +.marks li:nth-child(44) { + transform: rotate(264deg) translateY(125px); +} + +.marks li:nth-child(45) { + transform: rotate(270deg) translateY(125px); +} + +.marks li:nth-child(46) { + transform: rotate(276deg) translateY(125px); +} + +.marks li:nth-child(47) { + transform: rotate(282deg) translateY(125px); +} + +.marks li:nth-child(48) { + transform: rotate(288deg) translateY(125px); +} + +.marks li:nth-child(49) { + transform: rotate(294deg) translateY(125px); +} + +.marks li:nth-child(50) { + transform: rotate(300deg) translateY(125px); +} + +.marks li:nth-child(51) { + transform: rotate(306deg) translateY(125px); +} + +.marks li:nth-child(52) { + transform: rotate(312deg) translateY(125px); +} + +.marks li:nth-child(53) { + transform: rotate(318deg) translateY(125px); +} + +.marks li:nth-child(54) { + transform: rotate(324deg) translateY(125px); +} + +.marks li:nth-child(55) { + transform: rotate(330deg) translateY(125px); +} + +.marks li:nth-child(56) { + transform: rotate(336deg) translateY(125px); +} + +.marks li:nth-child(57) { + transform: rotate(342deg) translateY(125px); +} + +.marks li:nth-child(58) { + transform: rotate(348deg) translateY(125px); +} + +.marks li:nth-child(59) { + transform: rotate(354deg) translateY(125px); +} + +.marks li:nth-child(60) { + transform: rotate(360deg) translateY(125px); +} + +/* Particles / Unique Elements */ +.vline { + width: 0; + height: 200px; + float: left; + border-left: 1px solid rgba(2, 255, 255, 0.3); +} + +.hline { + width: 200px; + height: 0; + border-bottom: 1px solid rgba(2, 255, 255, 0.3); +} + +#particle1 { + position: fixed; + margin-left: 260px; + margin-top: 410px; +} + +#particle1_1 { + position: fixed; + margin-left: 255px; + margin-top: 480px; +} + +#particle1_2 { + position: fixed; + margin-left: 275px; + margin-top: 580px; +} + +#particle1_3 { + position: fixed; + color: rgba(2, 255, 255, 0.3); + font-size: 90px; + margin-left: 190px; + margin-top: 730px; + transform: rotate(90deg); + z-index: -1; +} + +#particle2 { + position: fixed; + margin-left: 20px; + margin-top: 20px; +} + +#particle3 { + position: fixed; + height: 240px; + margin-left: 40px; +} + +#particle4 { + position: fixed; + height: 240px; + margin-top: 200px; + margin-left: -10px; +} + +#particle5 { + position: fixed; + height: 290px; + margin-top: -90px; + margin-left: 230px; + border-color: rgba(2, 255, 255, 0.15); +} + +#particle6 { + position: fixed; + height: 290px; + margin-top: 5px; + margin-left: 3px; + border-color: rgba(2, 255, 255, 0.2); +} + +#particle7 { + position: fixed; + height: 290px; + margin-top: 5px; + margin-left: 3px; + border-color: rgba(2, 255, 255, 0.15); +} + +#particle8 { + position: fixed; + height: 500px; + margin-left: -232px; + margin-top: 280px; + border-color: rgba(2, 255, 255, 0.15); +} + +#particle9 { + position: fixed; + height: 320px; + margin-left: 3px; + border-color: rgba(2, 255, 255, 0.2); +} + +/* Right Menu Particles */ +#particle10 { + width: 330px; + float: right; + border-color: rgba(2, 255, 255, 0.5); +} + +#particle11 { + margin-right: 30px; + margin-top: 3px; + width: 330px; + float: right; + border-color: rgba(2, 255, 255, 0.5); +} + +#particle12 { + float: left; + height: 352px; + margin-top: -40px; + border-color: rgba(2, 255, 255, 0.5); +} + + /* Parent scrollable only when its content overflows */ + .main_scrollable { + max-height: 100vh; /* never grow taller than viewport */ + overflow-y: auto; /* scrollbar only if needed */ + } + /* WebKit */ + .main_scrollable::-webkit-scrollbar { + width: 12px; + } + .main_scrollable::-webkit-scrollbar-thumb { + background: cyan; + border-radius: 6px; + } + .main_scrollable::-webkit-scrollbar-track { + background: transparent; + } + /* Firefox */ + .main_scrollable { + scrollbar-color: cyan transparent; + scrollbar-width: thin; + } \ No newline at end of file diff --git a/server.js b/server.js new file mode 100644 index 00000000..e875b304 --- /dev/null +++ b/server.js @@ -0,0 +1,11 @@ +const express = require('express'); +const path = require('path'); + +const app = express(); +const PORT = 3000; + +app.use(express.static(path.join(__dirname, 'public'))); + +app.listen(PORT, () => { + console.log(`Server running at http://localhost:${PORT}`); +}); \ No newline at end of file diff --git a/system_design_Diagram.drawio b/system_design_Diagram.drawio new file mode 100644 index 00000000..fcc7df57 --- /dev/null +++ b/system_design_Diagram.drawio @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +