Compare commits
19 Commits
fc619587dd
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| c051667a9a | |||
| c91cba43a0 | |||
| d1d66e4b7a | |||
| 4c92798f58 | |||
| 7ac10d2147 | |||
| cfe40935b4 | |||
|
|
639e5d26c3 | ||
|
|
c8d33cd99e | ||
| 79b2b7ed35 | |||
| aab90d71de | |||
| 95af8d78bb | |||
| 6c5453ad17 | |||
| ddf4caba62 | |||
| fb54dd37ff | |||
| eb79608ede | |||
| 63a2a478a7 | |||
|
|
9a2b405fa7 | ||
|
|
b9c860e890 | ||
|
|
bd8acce8f5 |
7
.gitignore
vendored
@@ -1 +1,8 @@
|
||||
*.swp
|
||||
/chat/node_modules
|
||||
mastodon-status/*
|
||||
venv/
|
||||
__pycache__/
|
||||
settings.py
|
||||
__init__.py
|
||||
db.sqlite3
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
body {
|
||||
background: black;
|
||||
color: #00ff00;
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="index.css">
|
||||
<meta charset="UTF-8" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="displayed-comments"></div>
|
||||
<form action="/chat/submit-comment" method="post" id="submit-comments-form">
|
||||
<input name="nick" id="nick" placeholder="Enter your nick..." ><br/>
|
||||
<textarea name="comment" id="comment" placeholder="Enter your comment..."></textarea><br/>
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
<script src="chat.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
17
chat/node.js
@@ -1,17 +0,0 @@
|
||||
const express = require('express');
|
||||
const app = express();
|
||||
const port = 7080;
|
||||
const rootPath = "/var/www/tuxcord.net/"
|
||||
|
||||
app.post("/chat/submit-comment", (req,res) => {
|
||||
console.log("nick: ", req.body.nick);
|
||||
console.log("said: ", req.body.comment);
|
||||
res.redirect(302, req.get("referer"));
|
||||
});
|
||||
|
||||
app.use(express.static(rootPath));
|
||||
app.listen(port, () => {
|
||||
console.log(`Server is running at
|
||||
http://localhost:${port}
|
||||
in directory: ${rootPath}`);
|
||||
});
|
||||
816
chat/package-lock.json
generated
@@ -1,816 +0,0 @@
|
||||
{
|
||||
"name": "chat",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"dependencies": {
|
||||
"express": "^4.21.2"
|
||||
}
|
||||
},
|
||||
"node_modules/accepts": {
|
||||
"version": "1.3.8",
|
||||
"resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz",
|
||||
"integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"mime-types": "~2.1.34",
|
||||
"negotiator": "0.6.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.6"
|
||||
}
|
||||
},
|
||||
"node_modules/array-flatten": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
|
||||
"integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/body-parser": {
|
||||
"version": "1.20.3",
|
||||
"resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz",
|
||||
"integrity": "sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"bytes": "3.1.2",
|
||||
"content-type": "~1.0.5",
|
||||
"debug": "2.6.9",
|
||||
"depd": "2.0.0",
|
||||
"destroy": "1.2.0",
|
||||
"http-errors": "2.0.0",
|
||||
"iconv-lite": "0.4.24",
|
||||
"on-finished": "2.4.1",
|
||||
"qs": "6.13.0",
|
||||
"raw-body": "2.5.2",
|
||||
"type-is": "~1.6.18",
|
||||
"unpipe": "1.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.8",
|
||||
"npm": "1.2.8000 || >= 1.4.16"
|
||||
}
|
||||
},
|
||||
"node_modules/bytes": {
|
||||
"version": "3.1.2",
|
||||
"resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz",
|
||||
"integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 0.8"
|
||||
}
|
||||
},
|
||||
"node_modules/call-bind-apply-helpers": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.1.tgz",
|
||||
"integrity": "sha512-BhYE+WDaywFg2TBWYNXAE+8B1ATnThNBqXHP5nQu0jWJdVvY2hvkpyB3qOmtmDePiS5/BDQ8wASEWGMWRG148g==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"es-errors": "^1.3.0",
|
||||
"function-bind": "^1.1.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.4"
|
||||
}
|
||||
},
|
||||
"node_modules/call-bound": {
|
||||
"version": "1.0.3",
|
||||
"resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.3.tgz",
|
||||
"integrity": "sha512-YTd+6wGlNlPxSuri7Y6X8tY2dmm12UMH66RpKMhiX6rsk5wXXnYgbUcOt8kiS31/AjfoTOvCsE+w8nZQLQnzHA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"call-bind-apply-helpers": "^1.0.1",
|
||||
"get-intrinsic": "^1.2.6"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.4"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/ljharb"
|
||||
}
|
||||
},
|
||||
"node_modules/content-disposition": {
|
||||
"version": "0.5.4",
|
||||
"resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz",
|
||||
"integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"safe-buffer": "5.2.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.6"
|
||||
}
|
||||
},
|
||||
"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==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 0.6"
|
||||
}
|
||||
},
|
||||
"node_modules/cookie": {
|
||||
"version": "0.7.1",
|
||||
"resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.1.tgz",
|
||||
"integrity": "sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 0.6"
|
||||
}
|
||||
},
|
||||
"node_modules/cookie-signature": {
|
||||
"version": "1.0.6",
|
||||
"resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
|
||||
"integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/debug": {
|
||||
"version": "2.6.9",
|
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
|
||||
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"ms": "2.0.0"
|
||||
}
|
||||
},
|
||||
"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==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 0.8"
|
||||
}
|
||||
},
|
||||
"node_modules/destroy": {
|
||||
"version": "1.2.0",
|
||||
"resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz",
|
||||
"integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 0.8",
|
||||
"npm": "1.2.8000 || >= 1.4.16"
|
||||
}
|
||||
},
|
||||
"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==",
|
||||
"license": "MIT",
|
||||
"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==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/encodeurl": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz",
|
||||
"integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==",
|
||||
"license": "MIT",
|
||||
"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==",
|
||||
"license": "MIT",
|
||||
"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==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 0.4"
|
||||
}
|
||||
},
|
||||
"node_modules/es-object-atoms": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.0.0.tgz",
|
||||
"integrity": "sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw==",
|
||||
"license": "MIT",
|
||||
"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==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/etag": {
|
||||
"version": "1.8.1",
|
||||
"resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
|
||||
"integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 0.6"
|
||||
}
|
||||
},
|
||||
"node_modules/express": {
|
||||
"version": "4.21.2",
|
||||
"resolved": "https://registry.npmjs.org/express/-/express-4.21.2.tgz",
|
||||
"integrity": "sha512-28HqgMZAmih1Czt9ny7qr6ek2qddF4FclbMzwhCREB6OFfH+rXAnuNCwo1/wFvrtbgsQDb4kSbX9de9lFbrXnA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"accepts": "~1.3.8",
|
||||
"array-flatten": "1.1.1",
|
||||
"body-parser": "1.20.3",
|
||||
"content-disposition": "0.5.4",
|
||||
"content-type": "~1.0.4",
|
||||
"cookie": "0.7.1",
|
||||
"cookie-signature": "1.0.6",
|
||||
"debug": "2.6.9",
|
||||
"depd": "2.0.0",
|
||||
"encodeurl": "~2.0.0",
|
||||
"escape-html": "~1.0.3",
|
||||
"etag": "~1.8.1",
|
||||
"finalhandler": "1.3.1",
|
||||
"fresh": "0.5.2",
|
||||
"http-errors": "2.0.0",
|
||||
"merge-descriptors": "1.0.3",
|
||||
"methods": "~1.1.2",
|
||||
"on-finished": "2.4.1",
|
||||
"parseurl": "~1.3.3",
|
||||
"path-to-regexp": "0.1.12",
|
||||
"proxy-addr": "~2.0.7",
|
||||
"qs": "6.13.0",
|
||||
"range-parser": "~1.2.1",
|
||||
"safe-buffer": "5.2.1",
|
||||
"send": "0.19.0",
|
||||
"serve-static": "1.16.2",
|
||||
"setprototypeof": "1.2.0",
|
||||
"statuses": "2.0.1",
|
||||
"type-is": "~1.6.18",
|
||||
"utils-merge": "1.0.1",
|
||||
"vary": "~1.1.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.10.0"
|
||||
},
|
||||
"funding": {
|
||||
"type": "opencollective",
|
||||
"url": "https://opencollective.com/express"
|
||||
}
|
||||
},
|
||||
"node_modules/finalhandler": {
|
||||
"version": "1.3.1",
|
||||
"resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.3.1.tgz",
|
||||
"integrity": "sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"debug": "2.6.9",
|
||||
"encodeurl": "~2.0.0",
|
||||
"escape-html": "~1.0.3",
|
||||
"on-finished": "2.4.1",
|
||||
"parseurl": "~1.3.3",
|
||||
"statuses": "2.0.1",
|
||||
"unpipe": "~1.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.8"
|
||||
}
|
||||
},
|
||||
"node_modules/forwarded": {
|
||||
"version": "0.2.0",
|
||||
"resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz",
|
||||
"integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 0.6"
|
||||
}
|
||||
},
|
||||
"node_modules/fresh": {
|
||||
"version": "0.5.2",
|
||||
"resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
|
||||
"integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 0.6"
|
||||
}
|
||||
},
|
||||
"node_modules/function-bind": {
|
||||
"version": "1.1.2",
|
||||
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
|
||||
"integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
|
||||
"license": "MIT",
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/ljharb"
|
||||
}
|
||||
},
|
||||
"node_modules/get-intrinsic": {
|
||||
"version": "1.2.6",
|
||||
"resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.6.tgz",
|
||||
"integrity": "sha512-qxsEs+9A+u85HhllWJJFicJfPDhRmjzoYdl64aMWW9yRIJmSyxdn8IEkuIM530/7T+lv0TIHd8L6Q/ra0tEoeA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"call-bind-apply-helpers": "^1.0.1",
|
||||
"dunder-proto": "^1.0.0",
|
||||
"es-define-property": "^1.0.1",
|
||||
"es-errors": "^1.3.0",
|
||||
"es-object-atoms": "^1.0.0",
|
||||
"function-bind": "^1.1.2",
|
||||
"gopd": "^1.2.0",
|
||||
"has-symbols": "^1.1.0",
|
||||
"hasown": "^2.0.2",
|
||||
"math-intrinsics": "^1.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.4"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/ljharb"
|
||||
}
|
||||
},
|
||||
"node_modules/gopd": {
|
||||
"version": "1.2.0",
|
||||
"resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz",
|
||||
"integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==",
|
||||
"license": "MIT",
|
||||
"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==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 0.4"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/ljharb"
|
||||
}
|
||||
},
|
||||
"node_modules/hasown": {
|
||||
"version": "2.0.2",
|
||||
"resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
|
||||
"integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"function-bind": "^1.1.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.4"
|
||||
}
|
||||
},
|
||||
"node_modules/http-errors": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz",
|
||||
"integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"depd": "2.0.0",
|
||||
"inherits": "2.0.4",
|
||||
"setprototypeof": "1.2.0",
|
||||
"statuses": "2.0.1",
|
||||
"toidentifier": "1.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.8"
|
||||
}
|
||||
},
|
||||
"node_modules/iconv-lite": {
|
||||
"version": "0.4.24",
|
||||
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
|
||||
"integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"safer-buffer": ">= 2.1.2 < 3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
}
|
||||
},
|
||||
"node_modules/inherits": {
|
||||
"version": "2.0.4",
|
||||
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
|
||||
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
|
||||
"license": "ISC"
|
||||
},
|
||||
"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==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 0.10"
|
||||
}
|
||||
},
|
||||
"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==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 0.4"
|
||||
}
|
||||
},
|
||||
"node_modules/media-typer": {
|
||||
"version": "0.3.0",
|
||||
"resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
|
||||
"integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 0.6"
|
||||
}
|
||||
},
|
||||
"node_modules/merge-descriptors": {
|
||||
"version": "1.0.3",
|
||||
"resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz",
|
||||
"integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==",
|
||||
"license": "MIT",
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/sindresorhus"
|
||||
}
|
||||
},
|
||||
"node_modules/methods": {
|
||||
"version": "1.1.2",
|
||||
"resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
|
||||
"integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 0.6"
|
||||
}
|
||||
},
|
||||
"node_modules/mime": {
|
||||
"version": "1.6.0",
|
||||
"resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
|
||||
"integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==",
|
||||
"license": "MIT",
|
||||
"bin": {
|
||||
"mime": "cli.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=4"
|
||||
}
|
||||
},
|
||||
"node_modules/mime-db": {
|
||||
"version": "1.52.0",
|
||||
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
|
||||
"integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 0.6"
|
||||
}
|
||||
},
|
||||
"node_modules/mime-types": {
|
||||
"version": "2.1.35",
|
||||
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
|
||||
"integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"mime-db": "1.52.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.6"
|
||||
}
|
||||
},
|
||||
"node_modules/ms": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
|
||||
"integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/negotiator": {
|
||||
"version": "0.6.3",
|
||||
"resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz",
|
||||
"integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 0.6"
|
||||
}
|
||||
},
|
||||
"node_modules/object-inspect": {
|
||||
"version": "1.13.3",
|
||||
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.3.tgz",
|
||||
"integrity": "sha512-kDCGIbxkDSXE3euJZZXzc6to7fCrKHNI/hSRQnRuQ+BWjFNzZwiFF8fj/6o2t2G9/jTj8PSIYTfCLelLZEeRpA==",
|
||||
"license": "MIT",
|
||||
"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==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"ee-first": "1.1.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.8"
|
||||
}
|
||||
},
|
||||
"node_modules/parseurl": {
|
||||
"version": "1.3.3",
|
||||
"resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
|
||||
"integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 0.8"
|
||||
}
|
||||
},
|
||||
"node_modules/path-to-regexp": {
|
||||
"version": "0.1.12",
|
||||
"resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.12.tgz",
|
||||
"integrity": "sha512-RA1GjUVMnvYFxuqovrEqZoxxW5NUZqbwKtYz/Tt7nXerk0LbLblQmrsgdeOxV5SFHf0UDggjS/bSeOZwt1pmEQ==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"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==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"forwarded": "0.2.0",
|
||||
"ipaddr.js": "1.9.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.10"
|
||||
}
|
||||
},
|
||||
"node_modules/qs": {
|
||||
"version": "6.13.0",
|
||||
"resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz",
|
||||
"integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==",
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": {
|
||||
"side-channel": "^1.0.6"
|
||||
},
|
||||
"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==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 0.6"
|
||||
}
|
||||
},
|
||||
"node_modules/raw-body": {
|
||||
"version": "2.5.2",
|
||||
"resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz",
|
||||
"integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"bytes": "3.1.2",
|
||||
"http-errors": "2.0.0",
|
||||
"iconv-lite": "0.4.24",
|
||||
"unpipe": "1.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.8"
|
||||
}
|
||||
},
|
||||
"node_modules/safe-buffer": {
|
||||
"version": "5.2.1",
|
||||
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
|
||||
"integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
|
||||
"funding": [
|
||||
{
|
||||
"type": "github",
|
||||
"url": "https://github.com/sponsors/feross"
|
||||
},
|
||||
{
|
||||
"type": "patreon",
|
||||
"url": "https://www.patreon.com/feross"
|
||||
},
|
||||
{
|
||||
"type": "consulting",
|
||||
"url": "https://feross.org/support"
|
||||
}
|
||||
],
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/safer-buffer": {
|
||||
"version": "2.1.2",
|
||||
"resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
|
||||
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/send": {
|
||||
"version": "0.19.0",
|
||||
"resolved": "https://registry.npmjs.org/send/-/send-0.19.0.tgz",
|
||||
"integrity": "sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"debug": "2.6.9",
|
||||
"depd": "2.0.0",
|
||||
"destroy": "1.2.0",
|
||||
"encodeurl": "~1.0.2",
|
||||
"escape-html": "~1.0.3",
|
||||
"etag": "~1.8.1",
|
||||
"fresh": "0.5.2",
|
||||
"http-errors": "2.0.0",
|
||||
"mime": "1.6.0",
|
||||
"ms": "2.1.3",
|
||||
"on-finished": "2.4.1",
|
||||
"range-parser": "~1.2.1",
|
||||
"statuses": "2.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.8.0"
|
||||
}
|
||||
},
|
||||
"node_modules/send/node_modules/encodeurl": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
|
||||
"integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 0.8"
|
||||
}
|
||||
},
|
||||
"node_modules/send/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==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/serve-static": {
|
||||
"version": "1.16.2",
|
||||
"resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.2.tgz",
|
||||
"integrity": "sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"encodeurl": "~2.0.0",
|
||||
"escape-html": "~1.0.3",
|
||||
"parseurl": "~1.3.3",
|
||||
"send": "0.19.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.8.0"
|
||||
}
|
||||
},
|
||||
"node_modules/setprototypeof": {
|
||||
"version": "1.2.0",
|
||||
"resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz",
|
||||
"integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==",
|
||||
"license": "ISC"
|
||||
},
|
||||
"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==",
|
||||
"license": "MIT",
|
||||
"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.0",
|
||||
"resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.0.tgz",
|
||||
"integrity": "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"es-errors": "^1.3.0",
|
||||
"object-inspect": "^1.13.3"
|
||||
},
|
||||
"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==",
|
||||
"license": "MIT",
|
||||
"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==",
|
||||
"license": "MIT",
|
||||
"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.1",
|
||||
"resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz",
|
||||
"integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==",
|
||||
"license": "MIT",
|
||||
"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==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=0.6"
|
||||
}
|
||||
},
|
||||
"node_modules/type-is": {
|
||||
"version": "1.6.18",
|
||||
"resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
|
||||
"integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"media-typer": "0.3.0",
|
||||
"mime-types": "~2.1.24"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.6"
|
||||
}
|
||||
},
|
||||
"node_modules/unpipe": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
|
||||
"integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 0.8"
|
||||
}
|
||||
},
|
||||
"node_modules/utils-merge": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
|
||||
"integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 0.4.0"
|
||||
}
|
||||
},
|
||||
"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==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 0.8"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"express": "^4.21.2"
|
||||
}
|
||||
}
|
||||
50
index.css
@@ -1,50 +0,0 @@
|
||||
:root {
|
||||
--accent: #28ebb5
|
||||
}
|
||||
body {
|
||||
background: #000000;
|
||||
color: #ffffff;
|
||||
padding-bottom: 100px;
|
||||
}
|
||||
footer {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
background: black;
|
||||
}
|
||||
#footer-links {
|
||||
margin: 10px;
|
||||
}
|
||||
hr {
|
||||
color: #ffffff;
|
||||
}
|
||||
.tuxcord-image {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 650px;
|
||||
}
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: var(--accent);
|
||||
}
|
||||
a:hover not(.no-spin) {
|
||||
animation: half-spin 1s linear infinite;
|
||||
display: inline-block; /* Ensures the text spins around its center */
|
||||
}
|
||||
@keyframes half-spin {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
25% {
|
||||
transform: rotate(10deg);
|
||||
}
|
||||
50% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
75% {
|
||||
transform: rotate(-10deg);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
}
|
||||
100
index.html
@@ -1,100 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="stylesheet" href="/index.css">
|
||||
</head>
|
||||
<body>
|
||||
<pre>
|
||||
<a href="/" class="no-spin">
|
||||
__ __ __
|
||||
---------/\ \__ /\ \ /\ \__
|
||||
---------\ \ ,_\ __ __ __ _ ___ ___ _ __ \_\ \ ___ __\ \ ,_\
|
||||
----------\ \ \/ /\ \/\ \/\ \/'\ /'___\ / __`\/\`'__\/'_` \ /'_ `\ /'__`\ \ \/
|
||||
-----------\ \ \_\ \ \_\ \/> <//\ \__//\ \L\ \ \ \//\ \L\ \ __/\ \/\ \/\ __/\ \ \_
|
||||
------------\ \__\\ \____//\_/\_\ \____\ \____/\ \_\\ \___,_\/\_\ \_\ \_\ \____\\ \__\
|
||||
-------------\/__/ \/___/ \//\/_/\/____/\/___/ \/_/ \/__,_ /\/_/\/_/\/_/\/____/ \/__/</a>
|
||||
A friendly Linux community.
|
||||
|
||||
</pre>
|
||||
|
||||
<b><u>Services we provide:</u></b>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://mastodon.tuxcord.net">Mastodon</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://git.javalsai.dynv6.net">Gitea</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://redlib.tuxcord.net">Redlib</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://tuxcord.net/mc">Minecraft</a>
|
||||
</li>
|
||||
</ul>
|
||||
<b><u>Join us:</u></b>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://matrix.to/#/!BEyFZOZpWRoRrhRJbp:matrix.org">Matrix</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://discord.gg/SPHymEDytw">Discord</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="irc://irc.tuxcord.net">irc.tuxcord.net</a>
|
||||
</li>
|
||||
</ul>
|
||||
<details>
|
||||
<summary>
|
||||
<u><b>Members:</b></u>
|
||||
</summary>
|
||||
<ul>
|
||||
<li><u>pickzelle (Founder)</u></li>
|
||||
<li>bruhhhhh😘</li>
|
||||
<li><a href="https://git.javalsai.dynv6.net/danmax">Danmax</a></li>
|
||||
<li><a href="https://deadvey.com">DeaDvey</a></li>
|
||||
<li><a href="https://github.com/ErrorNoInternet">ErrorNoInternet</a></li>
|
||||
<li>grialion</li>
|
||||
<li><a href="https://javalsai.dynv6.net">Javalsai</a></li>
|
||||
<li><a href="https://github.com/spamixofficial">Spamix</a></li>
|
||||
</ul>
|
||||
</details>
|
||||
|
||||
<div class="tuxcord-image">
|
||||
<pre>
|
||||
.-"""-.
|
||||
' \
|
||||
|,. ,-. |
|
||||
|()L () \ |
|
||||
|,' `".| |
|
||||
|.___.',| `
|
||||
.j `--"' ` `.
|
||||
/ ' ' \
|
||||
/ / ` `.
|
||||
/ / ` .
|
||||
/ / l |
|
||||
. , TuxCord | |
|
||||
_ ,"`. .| |
|
||||
| ' ``. | [..-'l
|
||||
/ `.`, | '--' `.
|
||||
( `. __.j )
|
||||
\_ |--""___| ,-'
|
||||
`"--...,+"""" `._,.-' <a href="http://roysac.com/tutorial/diamondieasciiarttutorial.html">mh</a>
|
||||
|
||||
</pre>
|
||||
</div>
|
||||
</body>
|
||||
<footer>
|
||||
<hr/>
|
||||
<div id="footer-links">
|
||||
<a href="https://git.javalsai.dynv6.net/deadvey/tuxcord.net">Source Code</a>
|
||||
/
|
||||
<a href="https://deadvey.com">Hosted by DeaDvey</a>
|
||||
/
|
||||
<a href="https://javalsai.dynv6.net">Gitea, Hosted by Javalsai</a>
|
||||
/
|
||||
<a href="https://envs.net">Website inspired by envs.net</a>
|
||||
</div>
|
||||
</footer>
|
||||
</html>
|
||||
@@ -1,78 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="stylesheet" href="/index.css">
|
||||
</head>
|
||||
<body>
|
||||
<pre>
|
||||
<a href="/" class="no-spin">
|
||||
__ __ __
|
||||
---------/\ \__ /\ \ /\ \__
|
||||
---------\ \ ,_\ __ __ __ _ ___ ___ _ __ \_\ \ ___ __\ \ ,_\
|
||||
----------\ \ \/ /\ \/\ \/\ \/'\ /'___\ / __`\/\`'__\/'_` \ /'_ `\ /'__`\ \ \/
|
||||
-----------\ \ \_\ \ \_\ \/> <//\ \__//\ \L\ \ \ \//\ \L\ \ __/\ \/\ \/\ __/\ \ \_
|
||||
------------\ \__\\ \____//\_/\_\ \____\ \____/\ \_\\ \___,_\/\_\ \_\ \_\ \____\\ \__\
|
||||
-------------\/__/ \/___/ \//\/_/\/____/\/___/ \/_/ \/__,_ /\/_/\/_/\/_/\/____/ \/__/</a>
|
||||
A friendly Linux community.
|
||||
|
||||
</pre>
|
||||
|
||||
Name: Tuxcord-MC<br/>
|
||||
IP/Server Address: tuxcord.net<br/>
|
||||
The server has a whitelist, so join our <a href="https://discord.gg/SPHymEDytw">Discord</a>, <a href="https://matrix.to/#/!BEyFZOZpWRoRrhRJbp:matrix.org">Matrix</a> or <a href="irc://irc.tuxcord.net">irc.tuxcord.net</a> and ask if you can join.<br/>
|
||||
The server is cracked, so as to prevent bots and spam, we also have a registration system.<br/>
|
||||
<br/>
|
||||
Rules:<br/>
|
||||
<ol>
|
||||
<li>
|
||||
Joking around is Ok, but no directed hate speech.
|
||||
</li>
|
||||
<li>
|
||||
Greifing and killing others is permitted.
|
||||
</li>
|
||||
<li>
|
||||
No attempting to crash server or disrupt other people's gameplay with lag machines and the like.
|
||||
</li>
|
||||
<li>
|
||||
While greifing is permitted in most cases, do not greif the main end island
|
||||
</li>
|
||||
</pre>
|
||||
|
||||
<div class="tuxcord-image">
|
||||
<pre>
|
||||
.-"""-.
|
||||
' \
|
||||
|,. ,-. |
|
||||
|()L () \ |
|
||||
|,' `".| |
|
||||
|.___.',| `
|
||||
.j `--"' ` `.
|
||||
/ ' ' \
|
||||
/ / ` `.
|
||||
/ / ` .
|
||||
/ / l |
|
||||
. , TuxCord | |
|
||||
_ ,"`. .| |
|
||||
| ' ``. | [..-'l
|
||||
/ `.`, | '--' `.
|
||||
( `. __.j )
|
||||
\_ |--""___| ,-'
|
||||
`"--...,+"""" `._,.-' <a href="http://roysac.com/tutorial/diamondieasciiarttutorial.html">mh</a>
|
||||
|
||||
</pre>
|
||||
</div>
|
||||
</body>
|
||||
<footer>
|
||||
<hr/>
|
||||
<div id="footer-links">
|
||||
<a href="https://git.javalsai.dynv6.net/deadvey/tuxcord.net">Source Code</a>
|
||||
/
|
||||
<a href="https://deadvey.com">Hosted by DeaDvey</a>
|
||||
/
|
||||
<a href="https://javalsai.dynv6.net">Gitea, Hosted by Javalsai</a>
|
||||
/
|
||||
<a href="https://envs.net">Website inspired by envs.net</a>
|
||||
</div>
|
||||
</footer>
|
||||
</html>
|
||||
BIN
tuxcord.png
|
Before Width: | Height: | Size: 279 KiB |
21
tuxcord/ascii/christmas.html
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
.-""-.
|
||||
* /,..___\
|
||||
() {_____} *
|
||||
' \
|
||||
* |,. ,-. |
|
||||
|()L () \ |
|
||||
|,' `".| | *
|
||||
|.___.',| `
|
||||
.j `--"' ` `.
|
||||
/ ' ' \
|
||||
/ / ` `.
|
||||
* / / Merry ` . *
|
||||
/ / Christmas l |
|
||||
. , TuxCord! | |
|
||||
_ ,"`. .| |
|
||||
| ' ``. | [..-'l
|
||||
/ `.`, | '--' `.
|
||||
( `. __.j )
|
||||
\_ |--""___| ,-'
|
||||
`"--...,+"""" `._,.-'
|
||||
8
tuxcord/ascii/clippy.html
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
__
|
||||
/ \
|
||||
^ ^
|
||||
O O/
|
||||
|| ||
|
||||
|\_/|
|
||||
`___'
|
||||
19
tuxcord/ascii/fireworks.html
Normal file
@@ -0,0 +1,19 @@
|
||||
|
||||
: .-"""-.
|
||||
'.\'/.' ' \
|
||||
-= o =- |,. ,-. | *''*
|
||||
.'/.\'. |()L () \ | *_\/_*
|
||||
: _ |,' `".| | * /\ *
|
||||
: O=====~_.',| ` *..*
|
||||
: .j `--"' ` `. :
|
||||
. '/ ' ' \;
|
||||
_\(/_ / / ` `.
|
||||
./)\ / / Happy ` .
|
||||
' / / Holidays , l |
|
||||
. , TuxCord! ║_/ |
|
||||
_ ,"`. ( . /
|
||||
| ' ``. | '..-'l
|
||||
/ `.`, | `.
|
||||
( `. __.j )
|
||||
\_ |--""___| ,-'
|
||||
`"--...,+"""" `._,.-'
|
||||
19
tuxcord/ascii/halloween.html
Normal file
@@ -0,0 +1,19 @@
|
||||
|
||||
.-J"L-. \--/
|
||||
' \ /`-' '-`\
|
||||
| /\ /\ | / \
|
||||
| "" "" | /.'|/\ /\|'.\
|
||||
| /\/W\ | \/
|
||||
| \___/ ' `
|
||||
.j ` `.
|
||||
/ ' ' \
|
||||
/ / ` `.
|
||||
/ / Happy ` .
|
||||
/ / Hallowe'en l |
|
||||
. , TuxCord! | |
|
||||
_ ,"`. . _| |
|
||||
| ' ``. | _)[..-'
|
||||
/ `.`, .'`" '--'.l
|
||||
( `. / ^.^ \)
|
||||
\_ |--""\ `===` /
|
||||
`"--...,+"""" `--------`
|
||||
19
tuxcord/ascii/normal.html
Normal file
@@ -0,0 +1,19 @@
|
||||
|
||||
.-"""-.
|
||||
' \
|
||||
|,. ,-. |
|
||||
|()L () \ |
|
||||
|,' `".| |
|
||||
|.___.',| `
|
||||
.j `--"' ` `.
|
||||
/ ' ' \
|
||||
/ / ` `.
|
||||
/ / ` .
|
||||
/ / l |
|
||||
. , TuxCord | |
|
||||
_ ,"`. .| |
|
||||
| ' ``. | [..-'l
|
||||
/ `.`, | '--' `.
|
||||
( `. __.j )
|
||||
\_ |--""___| ,-'
|
||||
`"--...,+"""" `._,.-'
|
||||
22
tuxcord/manage.py
Executable file
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env python
|
||||
"""Django's command-line utility for administrative tasks."""
|
||||
import os
|
||||
import sys
|
||||
|
||||
|
||||
def main():
|
||||
"""Run administrative tasks."""
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'tuxcord.settings')
|
||||
try:
|
||||
from django.core.management import execute_from_command_line
|
||||
except ImportError as exc:
|
||||
raise ImportError(
|
||||
"Couldn't import Django. Are you sure it's installed and "
|
||||
"available on your PYTHONPATH environment variable? Did you "
|
||||
"forget to activate a virtual environment?"
|
||||
) from exc
|
||||
execute_from_command_line(sys.argv)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
51
tuxcord/members.json
Normal file
@@ -0,0 +1,51 @@
|
||||
[
|
||||
{
|
||||
"name": "PixeL",
|
||||
"additional": "Founder"
|
||||
},
|
||||
{
|
||||
"name": "bruhhhhh😘",
|
||||
"pfp": "bruh.png",
|
||||
"additional": "Admin"
|
||||
},
|
||||
{
|
||||
"name": "ErrorNoInternet",
|
||||
"website": "https://github.com/ErrorNoInternet",
|
||||
"pfp": "error.png",
|
||||
"additional": "Admin"
|
||||
},
|
||||
{
|
||||
"name": "Javalsai",
|
||||
"website": "https://javalsai.tuxcord.net",
|
||||
"pfp": "javalsai.avif",
|
||||
"additional": "Admin"
|
||||
},
|
||||
{
|
||||
"name": "Danmax",
|
||||
"website": "https://git.javalsai.tuxcord.net/danmax",
|
||||
"pfp": "danmax.png"
|
||||
},
|
||||
{
|
||||
"name": "DeaDvey",
|
||||
"website": "https://deadvey.tuxcord.net",
|
||||
"pfp": "deadvey.png"
|
||||
},
|
||||
{
|
||||
"name": "duck-that-quacks",
|
||||
"website": "https://git.javalsai.tuxcord.net/duck-that-quacks"
|
||||
},
|
||||
{
|
||||
"name": "Grialion"
|
||||
},
|
||||
{
|
||||
"name": "MightyCoderX",
|
||||
"website": "https://github.com/MightyCoderX",
|
||||
"pfp": "mcx.png"
|
||||
},
|
||||
{
|
||||
"name": "Spamix",
|
||||
"website": "https://decompil.in",
|
||||
"pfp": "spamix.webp"
|
||||
}
|
||||
|
||||
]
|
||||
BIN
tuxcord/static/bruh.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
tuxcord/static/danmax.png
Normal file
|
After Width: | Height: | Size: 67 KiB |
BIN
tuxcord/static/deadvey.png
Normal file
|
After Width: | Height: | Size: 84 KiB |
BIN
tuxcord/static/error.png
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
tuxcord/static/favicon.ico
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
tuxcord/static/generic.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
101
tuxcord/static/index.css
Normal file
@@ -0,0 +1,101 @@
|
||||
:root {
|
||||
--accent: #28ebb5;
|
||||
--accent2: #3a7dff;
|
||||
}
|
||||
body {
|
||||
background: #000000;
|
||||
color: #ffffff;
|
||||
padding-bottom: 100px;
|
||||
}
|
||||
footer {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
background: black;
|
||||
}
|
||||
h1 {
|
||||
font-size: 20px;
|
||||
}
|
||||
ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
#footer-links {
|
||||
margin: 0px;
|
||||
padding: 5px;
|
||||
border-top: 1px solid white;
|
||||
}
|
||||
hr {
|
||||
color: #ffffff;
|
||||
}
|
||||
#ascii-penguin {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 650px;
|
||||
}
|
||||
#ascii-clippy {
|
||||
position: absolute;
|
||||
top: 75px;
|
||||
left: 861px;
|
||||
font-size: 10px;
|
||||
transform: rotate(-36deg);
|
||||
animation: rotate 2s linear infinite;
|
||||
animation-play-state: paused;
|
||||
width: 40px;
|
||||
}
|
||||
#ascii-clippy:hover {
|
||||
animation-play-state: running;
|
||||
}
|
||||
#ascii-exclamation {
|
||||
display: none;
|
||||
position: absolute;
|
||||
left: 548px;
|
||||
top: 11px;
|
||||
}
|
||||
#ascii-tuxcord:hover {
|
||||
#ascii-exclamation {
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: var(--accent);
|
||||
}
|
||||
a:hover {
|
||||
font-weight: bold;
|
||||
color: var(--accent2);
|
||||
}
|
||||
|
||||
#member img {
|
||||
width: 100px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
#member-role {
|
||||
color: #888888;
|
||||
}
|
||||
#members {
|
||||
display: grid;
|
||||
grid-template-columns: auto auto auto auto auto;
|
||||
}
|
||||
#members div {
|
||||
padding: 10px;
|
||||
border-bottom: 1px solid white;
|
||||
text-align: center;
|
||||
margin: 20px;
|
||||
}
|
||||
#member:hover {
|
||||
animation-name: grow;
|
||||
border-bottom: 1px solid white;
|
||||
animation-duration: 1s;
|
||||
background: #222222;
|
||||
}
|
||||
#member:active {
|
||||
background: #666666;
|
||||
}
|
||||
@keyframes grow {
|
||||
from {transform: scale(1);}
|
||||
to {transform: scale(1.2);}
|
||||
}
|
||||
@keyframes rotate {
|
||||
from { transform: rotate(-36deg); }
|
||||
to { transform: rotate(324deg); }
|
||||
}
|
||||
BIN
tuxcord/static/javalsai.avif
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
tuxcord/static/javalsai.png
Normal file
|
After Width: | Height: | Size: 54 KiB |
BIN
tuxcord/static/mcx.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
tuxcord/static/spamix.webp
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
tuxcord/static/tuxcord.png
Normal file
|
After Width: | Height: | Size: 3.9 KiB |
12
tuxcord/templates/ascii-art.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<div id='ascii-penguin'>
|
||||
<pre>
|
||||
{{ ascii_penguin }}
|
||||
</pre>
|
||||
</div>
|
||||
<div id='ascii-clippy'>
|
||||
<a href='https://www.youtube.com/watch?v=2_Dtmpe9qaQ&pp=ygUUbG91aXMgcm9zc21hbiBjbGlwcHk%3D'>
|
||||
<pre>
|
||||
{{ ascii_clippy }}
|
||||
</pre>
|
||||
</a>
|
||||
</div>
|
||||
12
tuxcord/templates/footer.html
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
<div id="footer-links">
|
||||
<a href="https://git.javalsai.tuxcord.net/deadvey/tuxcord.net">Source Code</a>
|
||||
/
|
||||
<a href="https://javalsai.tuxcord.net">Gitea, Hosted by Javalsai</a>
|
||||
/
|
||||
<a href="https://envs.net">Website inspired by envs.net</a>
|
||||
/
|
||||
<a href='https://github.com/xero/figlet-fonts/blob/master/larry3d.flf'>larry3d (title font) by Larry Gelberg</a>
|
||||
/
|
||||
<a href='http://roysac.com/tutorial/diamondieasciiarttutorial.html'>ASCII tux by DiamonDie (2002?)</a>
|
||||
</div>
|
||||
5
tuxcord/templates/head.html
Normal file
@@ -0,0 +1,5 @@
|
||||
{% load static %}
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="stylesheet" href="{% static 'index.css' %}">
|
||||
<title>Tuxcord.NET</title>
|
||||
|
||||
20
tuxcord/templates/header.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<pre>
|
||||
<a id='ascii-tuxcord' href="/" class="no-spin">
|
||||
__ __ __
|
||||
---------/\ \__ /\ \ /\ \__
|
||||
---------\ \ ,_\ __ __ __ _ ___ ___ _ __ \_\ \ ___ __\ \ ,_\
|
||||
----------\ \ \/ /\ \/\ \/\ \/'\ /'___\ / __`\/\`'__\/'_` \ /'_ `\ /'__`\ \ \/
|
||||
-----------\ \ \_\ \ \_\ \/> <//\ \__//\ \L\ \ \ \//\ \L\ \ __/\ \/\ \/\ __/\ \ \_
|
||||
------------\ \__\\ \____//\_/\_\ \____\ \____/\ \_\\ \___,_\/\_\ \_\ \_\ \____\\ \__\
|
||||
-------------\/__/ \/___/ \//\/_/\/____/\/___/ \/_/ \/__,_ /\/_/\/_/\/_/\/____/ \/__/
|
||||
A friendly Linux community - est. July 2023
|
||||
|
||||
<span id='ascii-exclamation'>
|
||||
__
|
||||
/\ \
|
||||
\ \ \
|
||||
\ \ \
|
||||
\ \_\
|
||||
\/\_\
|
||||
\/_/</span></a>
|
||||
</pre>
|
||||
36
tuxcord/templates/index.html
Normal file
@@ -0,0 +1,36 @@
|
||||
{% load static %}
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
{% include 'head.html' %}
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
{% include 'header.html'%}
|
||||
</header>
|
||||
<pre>
|
||||
<h1>> ls -l</h1>
|
||||
-rwx------. root root <a href='https://tuxcord.net'>The website</a>
|
||||
-rwxr-xr-x. deadvey users <a href="https://mastodon.tuxcord.net">Mastodon</a>
|
||||
-rwxr-x---. javalsai javalsai <a href="https://git.javalsai.tuxcord.net">Gitea</a>
|
||||
-rwxr-xr-x. deadvey users <a href="https://redlib.tuxcord.net">Redlib</a>
|
||||
-rwxr-x---. deadvey deadvey <a href="/mc">Minecraft</a>
|
||||
-rwxr-x---. deadvey deadvey matrix.tuxcord.net
|
||||
-rwx------. pixel users join-us.txt
|
||||
<h1>> cat join-us.txt</h1>
|
||||
// Our Matrix and Discord are bridged
|
||||
<a href="https://matrix.to/#/#TuxCord:matrix.org">Matrix</a>
|
||||
<a href="https://discord.gg/SPHymEDytw">Discord</a>
|
||||
</pre>
|
||||
<h1>Members:</h1>
|
||||
<div id='members'>
|
||||
{{member_grid_html | safe}}
|
||||
</div>
|
||||
|
||||
{% include 'ascii-art.html' %}
|
||||
|
||||
<footer>
|
||||
{% include 'footer.html' %}
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
49
tuxcord/templates/mc.html
Normal file
@@ -0,0 +1,49 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
{% include 'head.html' %}
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
{% include 'header.html'%}
|
||||
</header>
|
||||
|
||||
Name: Tuxcord-MC<br/>
|
||||
IP/Server Address: mc.tuxcord.net<br/>
|
||||
Version: 1.12.8<br/>
|
||||
The server has a whitelist, so join our <a href="https://discord.gg/SPHymEDytw">Discord</a>, <a href="https://matrix.to/#/!BEyFZOZpWRoRrhRJbp:matrix.org">Matrix</a> or <a href="irc://irc.tuxcord.net">irc.tuxcord.net</a> and ask<br/>if you can join in the #.minecraft channel.<br/>
|
||||
The server is cracked, so as to prevent bots and spam, we also have a registration system.<br/>
|
||||
</pre>
|
||||
<br/>
|
||||
Rules:<br/>
|
||||
<ol>
|
||||
<li>
|
||||
Joking around is Ok, but no directed hate speech.
|
||||
</li>
|
||||
<li>
|
||||
Greifing and killing others is permitted.
|
||||
</li>
|
||||
<li>
|
||||
No attempting to crash server or disrupt other people's gameplay with lag machines and the like.
|
||||
</li>
|
||||
<li>
|
||||
While greifing is permitted in most cases, do not greif the main end island
|
||||
</li>
|
||||
</ol>
|
||||
Examples:<br/>
|
||||
Allowed:<br/>
|
||||
X-Ray, Baritone, AFK farming etc...<br/>
|
||||
<br/>
|
||||
Disallowed:<br/>
|
||||
Aimbot, Auto Sword Smapping etc...<br/>
|
||||
Lag machine and Game abuse bugs<br/>
|
||||
|
||||
{% include 'ascii-art.html' %}
|
||||
|
||||
<footer>
|
||||
{% include 'footer.html' %}
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
16
tuxcord/tuxcord/asgi.py
Normal file
@@ -0,0 +1,16 @@
|
||||
"""
|
||||
ASGI config for tuxcord project.
|
||||
|
||||
It exposes the ASGI callable as a module-level variable named ``application``.
|
||||
|
||||
For more information on this file, see
|
||||
https://docs.djangoproject.com/en/5.2/howto/deployment/asgi/
|
||||
"""
|
||||
|
||||
import os
|
||||
|
||||
from django.core.asgi import get_asgi_application
|
||||
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'tuxcord.settings')
|
||||
|
||||
application = get_asgi_application()
|
||||
75
tuxcord/tuxcord/urls.py
Normal file
@@ -0,0 +1,75 @@
|
||||
from django.shortcuts import render
|
||||
from django.urls import path
|
||||
from django.http import HttpResponse
|
||||
import os
|
||||
from datetime import datetime
|
||||
import json
|
||||
|
||||
ascii_clippy = open('./ascii/clippy.html', 'r').read()
|
||||
|
||||
def decide_ascii():
|
||||
date = datetime.today().strftime('%d%m')
|
||||
|
||||
# Fireworks/Independence days
|
||||
if date == "0101" or date == "0407" or date == "0511":
|
||||
return open('./ascii/fireworks.html').read()
|
||||
# Christmas
|
||||
if date[2:] == '12':
|
||||
return open('./ascii/christmas.html', 'r').read()
|
||||
# Hallowe'en
|
||||
if date[2:] == '10':
|
||||
return open('./ascii/halloween.html', 'r').read()
|
||||
# Normal
|
||||
else:
|
||||
return open('./ascii/normal.html', 'r').read()
|
||||
|
||||
|
||||
def members_grid():
|
||||
members_grid_html = ''
|
||||
with open('members.json', 'r') as members_file:
|
||||
members_object = json.load(members_file)
|
||||
for member in members_object:
|
||||
members_grid_html += f'''
|
||||
{f'<a href="{member["website"]}" target="_blank">' if "website" in member else ''}
|
||||
<div id="member">
|
||||
<span id='member-image'><img src="/static/{member["pfp"] if "pfp" in member else 'generic.png'}"></span>
|
||||
<br/>
|
||||
<span id='member-name'>{member["name"]}<span>
|
||||
<br/>
|
||||
<span id='member-role'><sub><i>{member["additional"] if "additional" in member else ''}</i></sub></span>
|
||||
<br/>
|
||||
</div>
|
||||
{'</a>' if 'website' in member else ''}
|
||||
'''
|
||||
|
||||
return members_grid_html
|
||||
|
||||
|
||||
def index(request):
|
||||
ascii_penguin = decide_ascii()
|
||||
members_grid_html = members_grid()
|
||||
return render(request, 'index.html', {
|
||||
'ascii_penguin': ascii_penguin,
|
||||
'ascii_clippy': ascii_clippy,
|
||||
'member_grid_html': members_grid_html
|
||||
})
|
||||
|
||||
def mc(request):
|
||||
ascii_penguin = decide_ascii()
|
||||
return render(request, 'mc.html', {
|
||||
'ascii_penguin': ascii_penguin,
|
||||
'ascii_clippy': ascii_clippy
|
||||
})
|
||||
|
||||
def favicon(request):
|
||||
with open('static/favicon.ico', "rb") as f:
|
||||
return HttpResponse(f.read(), content_type="image/icon")
|
||||
|
||||
urlpatterns = [
|
||||
path('', index, name='index'),
|
||||
path('mc', mc, name='mc'),
|
||||
path('favicon.ico', favicon, name='favicon'),
|
||||
]
|
||||
|
||||
# In your main file (e.g., manage.py or wsgi.py), set up the server to run.
|
||||
# Django handles the server running automatically. Configure your settings as needed.
|
||||
16
tuxcord/tuxcord/wsgi.py
Normal file
@@ -0,0 +1,16 @@
|
||||
"""
|
||||
WSGI config for tuxcord project.
|
||||
|
||||
It exposes the WSGI callable as a module-level variable named ``application``.
|
||||
|
||||
For more information on this file, see
|
||||
https://docs.djangoproject.com/en/5.2/howto/deployment/wsgi/
|
||||
"""
|
||||
|
||||
import os
|
||||
|
||||
from django.core.wsgi import get_wsgi_application
|
||||
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'tuxcord.settings')
|
||||
|
||||
application = get_wsgi_application()
|
||||