This commit is contained in:
simio 2024-10-06 01:48:04 -03:00
parent 2aef0b278f
commit 5fd337634f
6 changed files with 149 additions and 11 deletions

8
app.js
View File

@ -1,10 +1,16 @@
const express = require('express') const express = require('express')
const app = express() const app = express()
const port = 3003 const port = 3003
const serveIndex = require('serve-index')
const publicPath = "/public"
const inUrlPath = "public"
app.set('view engine', 'hbs') app.set('view engine', 'hbs')
app.use('/public', express.static('public')) app.use(publicPath, express.static(inUrlPath), serveIndex(inUrlPath, {
icons: true
}))
app.get('/', (_req, res) => { app.get('/', (_req, res) => {
res.render("home") res.render("home")

72
package-lock.json generated
View File

@ -10,7 +10,8 @@
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"express": "^4.21.0", "express": "^4.21.0",
"hbs": "^4.2.0" "hbs": "^4.2.0",
"serve-index": "^1.9.1"
} }
}, },
"node_modules/accepts": { "node_modules/accepts": {
@ -32,6 +33,12 @@
"integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==", "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==",
"license": "MIT" "license": "MIT"
}, },
"node_modules/batch": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/batch/-/batch-0.6.1.tgz",
"integrity": "sha512-x+VAiMRL6UPkx+kudNvxTl6hB2XNNCG2r+7wixVfIYwu/2HKRXimwQyaumLjMveWvT2Hkd/cAJw+QBMfJ/EKVw==",
"license": "MIT"
},
"node_modules/body-parser": { "node_modules/body-parser": {
"version": "1.20.3", "version": "1.20.3",
"resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz", "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz",
@ -712,6 +719,69 @@
"integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
"license": "MIT" "license": "MIT"
}, },
"node_modules/serve-index": {
"version": "1.9.1",
"resolved": "https://registry.npmjs.org/serve-index/-/serve-index-1.9.1.tgz",
"integrity": "sha512-pXHfKNP4qujrtteMrSBb0rc8HJ9Ms/GrXwcUtUtD5s4ewDJI8bT3Cz2zTVRMKtri49pLx2e0Ya8ziP5Ya2pZZw==",
"license": "MIT",
"dependencies": {
"accepts": "~1.3.4",
"batch": "0.6.1",
"debug": "2.6.9",
"escape-html": "~1.0.3",
"http-errors": "~1.6.2",
"mime-types": "~2.1.17",
"parseurl": "~1.3.2"
},
"engines": {
"node": ">= 0.8.0"
}
},
"node_modules/serve-index/node_modules/depd": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz",
"integrity": "sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==",
"license": "MIT",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/serve-index/node_modules/http-errors": {
"version": "1.6.3",
"resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz",
"integrity": "sha512-lks+lVC8dgGyh97jxvxeYTWQFvh4uw4yC12gVl63Cg30sjPX4wuGcdkICVXDAESr6OJGjqGA8Iz5mkeN6zlD7A==",
"license": "MIT",
"dependencies": {
"depd": "~1.1.2",
"inherits": "2.0.3",
"setprototypeof": "1.1.0",
"statuses": ">= 1.4.0 < 2"
},
"engines": {
"node": ">= 0.6"
}
},
"node_modules/serve-index/node_modules/inherits": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
"integrity": "sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw==",
"license": "ISC"
},
"node_modules/serve-index/node_modules/setprototypeof": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz",
"integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==",
"license": "ISC"
},
"node_modules/serve-index/node_modules/statuses": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz",
"integrity": "sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA==",
"license": "MIT",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/serve-static": { "node_modules/serve-static": {
"version": "1.16.2", "version": "1.16.2",
"resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.2.tgz", "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.2.tgz",

View File

@ -2,8 +2,8 @@
"name": "shin-lyrical-tokarev", "name": "shin-lyrical-tokarev",
"version": "1.0.0", "version": "1.0.0",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"start": "nodemon app.js", "start": "nodemon app.js",
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
"author": "", "author": "",
@ -11,6 +11,7 @@
"description": "", "description": "",
"dependencies": { "dependencies": {
"express": "^4.21.0", "express": "^4.21.0",
"hbs": "^4.2.0" "hbs": "^4.2.0",
"serve-index": "^1.9.1"
} }
} }

52
public/etc/gor.asc Normal file
View File

@ -0,0 +1,52 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBGbxDhwBEAC5Eu5aE7lrMWdPU6hT7T2BXrx29M7yhZZwBVT2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bFPkmoOlm690GAcJBU98FbJYqnntA2thrAqIVPz7swqwv
Ooij1R/+4n5tmwARAQABiQI2BBgBCAAgFiEEA+FSGWtE8Uk6QN1CK8FP4EtHbDgF
AmbxDhwCGwwACgkQK8FP4EtHbDgKAA/8DS9oiSx4n9ObkQ86t3y9ODeJmIeiEqET
qNRScm31x5XefnWeb2ToImJeg6xaazMliFvylpef+A1kl6j+nsp0POBwHzQq/pHD
FCVW7feuaysRqdF9oJDiaEQGdOky8a873ImGJARRnKUriqw7GQ6aqlHkEj7Gs3Xv
qqIn3Jxhwkv2xS7AHtLwlH37w99lwkZa+Rl/mgkrb03041pQyyFDnyRrrh8gY1EG
XITo9VzvGfLwN/kDs1AvUJg/tLCltze1Q+7WoT4NkRz3iAeIvKWJS5RtQcv7VutV
lhAsjNOKwCaqAGEh0UdsNcaPvjxHDlj2SLOobjPdbwm50YTTPLrfg+P2atL2awAs
DQnIHKUMjDZ1oseowAB3rSDLUCUa7ve90h9xk844QKWO1E6ha0O2NhTPyVXu2FFR
wmUV0fg2+DDbRJ7J8000e86WPy9narOKhQrmvgX31JVJNfHQ7EAkSerx0WIa3Htn
NrL6f6/pQqUaXHu1Ehsq3sBS8Ah8q6O9kB40fZNxJsh9/1PvncD/gzmJVig2herV
vZHK0wm73Azlwazn0CwlxgNbz4u3yPZJugBQvpBOHEpwYRQzKcWVrfvMl5Uq9//b
HCq8YRZGW5QbY39A/MUynsmUhEO0bB0YkbVjLZ7mCyAymgAE2L6jM3N51mbsGG6S
rEb2MEM/SVs=
=OSjw
-----END PGP PUBLIC KEY BLOCK-----

BIN
public/images/kiki.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -28,20 +28,30 @@
</header> </header>
<h1>Lyrical Tokarev ~ Tabidachi Edition</h1> <h1>Lyrical Tokarev ~ Tabidachi Edition</h1>
<img src="/public/images/flower_tank.png">
<p> <p>
This is the site. Nothing for now, although there used to be some stuff before.<br> This is the site. Nothing for now, although there used to be something before.<br>
If you are wondering where did all of that go, all that could be said is that Rika is building a new tank. The World's Last Day is just around the corner.<br> You are wondering where it all went. All that could be said is that Rika is building a new tank.<br>
There are things to do.<br> There are things to do.<br>
And if you were also wondering where the <a href="https://neocities.org/site/lyricaltokarev">neocities account</a> is, the answer is: it has been banned. Good riddance, being said in the most absolute honesty.<br> And if you were also wondering where the <a href="https://neocities.org/site/lyricaltokarev">Neocities account</a> is, the answer: it has been banned. Good riddance, being said in the most absolute honesty.<br>
If you find yourself in dire need of establishing a communication channel, details are following below.<br> If you find yourself in dire need of establishing a communication channel, details are following below.<br>
</p> </p>
<p> <p>
E-mail: <a href="mailto:gor@lyricaltokarev.com">gor@lyricaltokarev.com</a> - <a href="/public/etc/gor.asc">PGP Key</a> ()<br> E-mail: <a href="mailto:gor@lyricaltokarev.com">gor@lyricaltokarev.com</a> - <a href="/public/etc/gor.asc">PGP Key</a> (03E152196B44F1493A40DD422BC14FE04B476C38)<br>
If possible, encrypt your communications. If possible, encrypt your communications.
</p> </p>
<table border="1" align="center" cellpading="0" bordercolor="green">
<tbody>
<tr>
<td>
<img id="kiki" src="/public/images/kiki.png">
</td>
</tr>
</tbody>
</table>
<a href="https://cidoku.net/es/stuff/cchat/">Tambien suelo encontrarme aca</a><br>
<img src="/public/images/yuugenmagan.png"> <img src="/public/images/yuugenmagan.png">
<hr> <hr>
@ -67,7 +77,6 @@
<audio controls> <audio controls>
<source src="https://music.lyricaltokarev.com/ext/stream?id=27132&player=2&format=raw&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJndWVzdCIsInBhdGgiOiJleHQvc3RyZWFtP2lkPTI3MTMyJnBsYXllcj0yJmZvcm1hdD1yYXciLCJpc3MiOiJhaXJzb25pYyIsImV4cCI6MTc1OTczMTk1NX0.a5ixqsipdgVo0sxMV_9pMeDnsVr41OnsAZ2lbIM-M2g" type="audio/mpeg"> <source src="https://music.lyricaltokarev.com/ext/stream?id=27132&player=2&format=raw&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJndWVzdCIsInBhdGgiOiJleHQvc3RyZWFtP2lkPTI3MTMyJnBsYXllcj0yJmZvcm1hdD1yYXciLCJpc3MiOiJhaXJzb25pYyIsImV4cCI6MTc1OTczMTk1NX0.a5ixqsipdgVo0sxMV_9pMeDnsVr41OnsAZ2lbIM-M2g" type="audio/mpeg">
</audio><br> </audio><br>
<img src="/public/images/flower_tank.png">
</center> </center>