1
0
Fork 0

add the README back

Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2023-08-13 18:34:30 +02:00
parent 80a1b47fb6
commit 9270a4a079
Signed by: sam
GPG Key ID: 4D8B07C18F31ACBD
2 changed files with 51 additions and 1 deletions

33
README.md Normal file
View File

@ -0,0 +1,33 @@
# waifurudor.de
It's like foxrudor.de for anime girls, but worse
## How to use
Open the web site up and see the predefined anime girls, or define your own tags like:
https://waifurudor.de/?tags=tohsaka_rin,-feet,-underwear,rating:safe
## Server Install
Clone the repo to where ever you will be hosting this and run the following command to install the dependencies.
```sh
npm i
```
Now that the dependencies are taken care of you can verify it runs with `npm start` in the root directory of the project. If it tells you it is listening on a port you're probably good to go.
## Running as a service
I don't know anything so I spent some time (10 minutes) creating the provided sample systemd service file.
The user in the file needs accesss to the assets directory under `./waifurudor.de/src/public/` so the """app""" can pull images from Danbooru.
## Nginx
Yeah I set up a .conf file for this for my test instance but it sucks and you could probably do better so I won't share it just know it is possible to actually run this as a website.
### What's next
I have some small improvements in mind before I give up and call this "done".

View File

@ -15,6 +15,20 @@
"https://deno.land/x/booru@v3.0.0/src/structures/Site.ts": "b896cff9805db0edabf8648cdaefef6cdd7eb952271ce2f287ae4859d0b581ae",
"https://deno.land/x/booru@v3.0.0/src/structures/SiteApi.ts": "2dfeae2bfc9c484a513db9c9b00d851713ef9fdffed2bde0ce028cd96ba283e0",
"https://deno.land/x/booru@v3.0.0/src/structures/SiteInfo.ts": "e1e928d77ce50bbe54a15d0d71bec69502c86f8a582c28c46fc784bc5e1559c4",
"https://deno.land/x/booru@v3.0.1/src/Constants.ts": "582282889c2ae634765f969b334c9ca535161fbd153ddf61b8edd3d6e685cb89",
"https://deno.land/x/booru@v3.0.1/src/Utils.ts": "75aad3a93bae96c09faa0fced38819a98b144665af05d982fc52040baca486b4",
"https://deno.land/x/booru@v3.0.1/src/boorus/Booru.ts": "aec290e2ab66dd2c7c7fddea0fe428eea0a12766fa857d7ead6998a905516494",
"https://deno.land/x/booru@v3.0.1/src/boorus/Derpibooru.ts": "45c9fba6204c7a4febf00cbcb21c9ebde27f5c3c6201fd9ef08318c6d4fa7ddb",
"https://deno.land/x/booru@v3.0.1/src/boorus/XmlBooru.ts": "a8f731bbe9074ab45aa0d5767d093cfaa7a24f8334e50d43f1df09a1beeca016",
"https://deno.land/x/booru@v3.0.1/src/index.ts": "6054f6e8ab0ac95db23eb9505b8c3c749553b4d1238f273a9a2763a7c002edfc",
"https://deno.land/x/booru@v3.0.1/src/sites.json": "c142a5fcef102f49202b8874ecfb3da6deab2e8b0342be7b3fc681cc7b20f872",
"https://deno.land/x/booru@v3.0.1/src/structures/InternalSearchParameters.ts": "a854c9dd1a7bf83251905fda2f3f9f41fecab7698b5383d650580191121aa0d7",
"https://deno.land/x/booru@v3.0.1/src/structures/Post.ts": "2dc2b94ebbc3f33c5429b9ac6a257346744d885cf548a85a06a05dce7bf5036c",
"https://deno.land/x/booru@v3.0.1/src/structures/SearchParameters.ts": "b465c8a50b24471b5dcf2b48815426d1eb78e82395d6551d587b21f64879fbff",
"https://deno.land/x/booru@v3.0.1/src/structures/SearchResults.ts": "832fc6c97d796a7ede7e25ccca846d8377e298a57f7ab7f7ff4fa5873f99e2a4",
"https://deno.land/x/booru@v3.0.1/src/structures/Site.ts": "b896cff9805db0edabf8648cdaefef6cdd7eb952271ce2f287ae4859d0b581ae",
"https://deno.land/x/booru@v3.0.1/src/structures/SiteApi.ts": "2dfeae2bfc9c484a513db9c9b00d851713ef9fdffed2bde0ce028cd96ba283e0",
"https://deno.land/x/booru@v3.0.1/src/structures/SiteInfo.ts": "e1e928d77ce50bbe54a15d0d71bec69502c86f8a582c28c46fc784bc5e1559c4",
"https://deno.land/x/hono@v3.4.1/client/client.ts": "7a819af2aa9aabc746add4d01715fa37f83676fdf1b63fba1bbcd655b2d066a5",
"https://deno.land/x/hono@v3.4.1/client/index.ts": "3ff4cf246f3543f827a85a2c84d66a025ac350ee927613629bda47e854bfb7ba",
"https://deno.land/x/hono@v3.4.1/client/utils.ts": "053273c002963b549d38268a1b423ac8ca211a8028bdab1ed0b781a62aa5e661",
@ -44,7 +58,10 @@
"https://deno.land/x/hono@v3.4.1/utils/cookie.ts": "88d71e253882d0d1cf29abc61033c8b4ab6bebdcb883c1f7d6ab64f53098baf2",
"https://deno.land/x/hono@v3.4.1/utils/url.ts": "5fc3307ef3cb2e6f34ec2a03e3d7f2126c6a9f5f0eab677222df3f0e40bd7567",
"https://deno.land/x/hono@v3.4.1/validator/index.ts": "6c986e8b91dcf857ecc8164a506ae8eea8665792a4ff7215471df669c632ae7c",
"https://deno.land/x/hono@v3.4.1/validator/validator.ts": "7822737bf1d5d5b35709bc3c70862f3e7bd6a2746a51cc022b577816d2611242"
"https://deno.land/x/hono@v3.4.1/validator/validator.ts": "7822737bf1d5d5b35709bc3c70862f3e7bd6a2746a51cc022b577816d2611242",
"https://esm.sh/fast-xml-parser@4.2.7": "9a6bc1e5a315d2557caca288f8e65ac1084070e467b0fd95e7742dc3585bee11",
"https://esm.sh/v130/fast-xml-parser@4.2.7/denonext/fast-xml-parser.mjs": "b1a0d3ee8a4577587506d4157fce5d7ecfcd405e69452e3fc9c339318793fb8e",
"https://esm.sh/v130/strnum@1.0.5/denonext/strnum.mjs": "1ffef4adec2f74139e36a2bfed8381880541396fe1c315779fb22e081b17468b"
},
"npm": {
"specifiers": {