I'm very sleepy
Conversation
Notices
-
Embed this notice
waifu (waifu@mai.waifuism.life)'s status on Monday, 18-Nov-2024 02:41:45 JST waifu -
Embed this notice
waifu (waifu@mai.waifuism.life)'s status on Monday, 18-Nov-2024 02:43:03 JST waifu @nyanide@lab.nyanide.com it's 2pm
-
Embed this notice
nyanide :nyancat_rainbow::nyancat_body::nyancat_face: (nyanide@lab.nyanide.com)'s status on Monday, 18-Nov-2024 02:43:04 JST nyanide :nyancat_rainbow::nyancat_body::nyancat_face: @waifu captain it's 11 am -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 02:43:09 JST DulceKennedy @waifu get up we have to work on the gallery waifu likes this. -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 02:43:26 JST DulceKennedy @waifu what is this chatgpt-looking template. we need better waifu likes this. -
Embed this notice
waifu (waifu@mai.waifuism.life)'s status on Monday, 18-Nov-2024 02:44:06 JST waifu @ElDeadKennedy@shitposter.world yeah lol that's why I posted almost whatever, so someone would point me to a direction, I don't wanna use Hugo 😭
-
Embed this notice
meeper@mai.waifuism.life's status on Monday, 18-Nov-2024 02:44:39 JST meeper @waifu same I feel utterly fogged up
waifu likes this. -
Embed this notice
waifu (waifu@mai.waifuism.life)'s status on Monday, 18-Nov-2024 02:44:52 JST waifu @meeper I'll have another coffee
-
Embed this notice
waifu (waifu@mai.waifuism.life)'s status on Monday, 18-Nov-2024 02:46:13 JST waifu @ElDeadKennedy@shitposter.world I have to read it again, but I'm guessing it'd be fine writing the name of the artist in the filename right
-
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 02:46:14 JST DulceKennedy @waifu but that is fixed we have the holy bash script -
Embed this notice
waifu (waifu@mai.waifuism.life)'s status on Monday, 18-Nov-2024 02:52:37 JST waifu @ElDeadKennedy@shitposter.world nah it's fine like this, let me open vscodium
-
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 02:52:38 JST DulceKennedy @waifu I fixed a thing -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 02:52:38 JST DulceKennedy @waifu we could use image metadata for alt text instead if you want -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 02:52:39 JST DulceKennedy @waifu the filename is the alt text
#!/bin/bash
img_tags=""
for image in images/*; do
if [ -f "$image" ]; then
basename=$(basename "$image")
img_tags+="<img src=\"$image\" alt=\"$basename\">"
fi
done
cat template.html | sed "s#{{{GALLERY}}}#$img_tags#" > output.html -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 02:53:17 JST DulceKennedy @waifu vscodium? -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 02:53:17 JST DulceKennedy @waifu disgusting waifu likes this. -
Embed this notice
waifu (waifu@mai.waifuism.life)'s status on Monday, 18-Nov-2024 02:53:38 JST waifu @ElDeadKennedy@shitposter.world i knew you would say that, at least I'm not using vscode but I wanted to learn vim, anyways
-
Embed this notice
waifu (waifu@mai.waifuism.life)'s status on Monday, 18-Nov-2024 02:54:18 JST waifu @nyanide@lab.nyanide.com @ElDeadKennedy@shitposter.world only if you don't propose a solution
-
Embed this notice
nyanide :nyancat_rainbow::nyancat_body::nyancat_face: (nyanide@lab.nyanide.com)'s status on Monday, 18-Nov-2024 02:54:19 JST nyanide :nyancat_rainbow::nyancat_body::nyancat_face: @ElDeadKennedy @waifu now would you be upset if I pushed a few hundred images to the gallery and made the single file for the entire gallery 3 mb large -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 02:56:43 JST DulceKennedy @waifu @nyanide do you want all the images on a single page or do you want to separate them -
Embed this notice
waifu (waifu@mai.waifuism.life)'s status on Monday, 18-Nov-2024 02:56:43 JST waifu @ElDeadKennedy@shitposter.world @nyanide@lab.nyanide.com I guess on the long run it would be better to separate them but Idk how much work that is
-
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 02:57:42 JST DulceKennedy @waifu @nyanide not a lot waifu likes this. -
Embed this notice
waifu (waifu@mai.waifuism.life)'s status on Monday, 18-Nov-2024 02:58:24 JST waifu @nyanide@lab.nyanide.com @ElDeadKennedy@shitposter.world alright I have a bunch of them I could set up for testing that
-
Embed this notice
nyanide :nyancat_rainbow::nyancat_body::nyancat_face: (nyanide@lab.nyanide.com)'s status on Monday, 18-Nov-2024 02:58:25 JST nyanide :nyancat_rainbow::nyancat_body::nyancat_face: @waifu @ElDeadKennedy we should have a fixed set of images per page, so we don't have someone visiting the page loading 400 mb of pleroma tan. Should be trivial to rework the bash script to have them all split up -
Embed this notice
waifu (waifu@mai.waifuism.life)'s status on Monday, 18-Nov-2024 03:01:43 JST waifu @ElDeadKennedy@shitposter.world @nyanide@lab.nyanide.com in my gallery there's a section for pleroma-tan and it's 84 images
-
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 03:01:44 JST DulceKennedy @waifu @nyanide but wait how big will this gallery be i was expecting like 30 images at max -
Embed this notice
waifu (waifu@mai.waifuism.life)'s status on Monday, 18-Nov-2024 03:02:43 JST waifu @nyanide@lab.nyanide.com @ElDeadKennedy@shitposter.world brb loading 400mb of pleroma-tan ass in my ram
-
Embed this notice
waifu (waifu@mai.waifuism.life)'s status on Monday, 18-Nov-2024 03:03:26 JST waifu @ElDeadKennedy@shitposter.world @nyanide@lab.nyanide.com Yeah, using something like imgmagick?
-
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 03:03:27 JST DulceKennedy @nyanide @waifu also we should generate thumbnails. maybe meso repeated this. -
Embed this notice
waifu (waifu@mai.waifuism.life)'s status on Monday, 18-Nov-2024 03:06:13 JST waifu @ElDeadKennedy@shitposter.world @sysrq@lab.nyanide.com I mean ofc it's gonna if i see anything weird, nyanide also has access to direct push but for now only us :clueless:
-
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 03:06:14 JST DulceKennedy @sysrq @waifu i mean it's gonna get rejected -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 03:06:14 JST DulceKennedy @sysrq @waifu well that's up to waifu -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 03:06:15 JST DulceKennedy @sysrq @waifu look i was expecting 30 images at max ok this is bad i wasn't expecting hundreds of images -
Embed this notice
tsoifan1997 (sysrq@lab.nyanide.com)'s status on Monday, 18-Nov-2024 03:06:15 JST tsoifan1997 @ElDeadKennedy @waifu
I'm gonna upload images with filenames consisting of Javascript code -
Embed this notice
tsoifan1997 (sysrq@lab.nyanide.com)'s status on Monday, 18-Nov-2024 03:06:16 JST tsoifan1997 @ElDeadKennedy @waifu
>img_tags+="<img src=\"$image\" alt=\"$basename\">"
Huh this is giving me ideas... -
Embed this notice
waifu (waifu@mai.waifuism.life)'s status on Monday, 18-Nov-2024 03:06:29 JST waifu @ElDeadKennedy@shitposter.world @sysrq@lab.nyanide.com rejected i mean
-
Embed this notice
waifu (waifu@mai.waifuism.life)'s status on Monday, 18-Nov-2024 03:12:27 JST waifu @ElDeadKennedy@shitposter.world @nyanide@lab.nyanide.com it's working, but yeah the more images the more it needs to load and stuff
meso likes this. -
Embed this notice
meso (meso@the.asbestos.cafe)'s status on Monday, 18-Nov-2024 03:15:52 JST meso @waifu @ElDeadKennedy @nyanide PEGGING -
Embed this notice
meso (meso@the.asbestos.cafe)'s status on Monday, 18-Nov-2024 03:16:10 JST meso @waifu @ElDeadKennedy @nyanide pleroma.tan is .tan a real thing -
Embed this notice
meso (meso@the.asbestos.cafe)'s status on Monday, 18-Nov-2024 03:16:17 JST meso @ElDeadKennedy @nyanide @waifu pleroma-t.an -
Embed this notice
waifu (waifu@mai.waifuism.life)'s status on Monday, 18-Nov-2024 03:30:30 JST waifu -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 03:30:31 JST DulceKennedy @waifu @nyanide ok i added thumbnails now give me all your pleroma-tan images to test this -
Embed this notice
waifu (waifu@mai.waifuism.life)'s status on Monday, 18-Nov-2024 03:30:52 JST waifu @ElDeadKennedy@shitposter.world @nyanide@lab.nyanide.com I was about to push this code already with these images lol
-
Embed this notice
waifu (waifu@mai.waifuism.life)'s status on Monday, 18-Nov-2024 03:32:43 JST waifu @ElDeadKennedy@shitposter.world @nyanide@lab.nyanide.com oh yeah i modified the bash a bit,
line 3
for image in assets/images/*; do
and line 9
cat template.html | sed "s#{{{GALLERY}}}#$img_tags#" > index.html so it generates to the index -
Embed this notice
menherahair (menherahair@eientei.org)'s status on Monday, 18-Nov-2024 03:35:01 JST menherahair @meso @nyanide @waifu @ElDeadKennedy pleromatan.pregnant -
Embed this notice
waifu (waifu@mai.waifuism.life)'s status on Monday, 18-Nov-2024 03:45:08 JST waifu @nyanide@lab.nyanide.com @ElDeadKennedy@shitposter.world lmao sure, there's also my mumble
-
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 03:45:09 JST DulceKennedy @nyanide @waifu also i need to change the thumbs_dir because i was using another structure and then i changed some things to follow your stru ah this is stupid let's go somewhere else -
Embed this notice
nyanide :nyancat_rainbow::nyancat_body::nyancat_face: (nyanide@lab.nyanide.com)'s status on Monday, 18-Nov-2024 03:45:09 JST nyanide :nyancat_rainbow::nyancat_body::nyancat_face: @ElDeadKennedy @waifu you guys wanna head on an xmpp group or something to talk about this rather than have an extremely long fedi thread become the main discussion board for the contributors -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 03:45:10 JST DulceKennedy @nyanide @waifu oh no i didn;t fuck anything it was just that i changed the folder and yeah it's working -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 03:45:10 JST DulceKennedy @nyanide @waifu i did change something on the css -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 03:45:11 JST DulceKennedy @waifu @nyanide ok so now with this you should get a thumbnail on the main page and then on click it opens the full image
#!/bin/bash
thumbs_dir="thumbs"
mkdir -p "$thumbs_dir"
img_tags=""
for image in assets/images/*; do
if [ -f "$image" ]; then
basename=$(basename "$image")
thumbnail_file="${thumbs_dir}/${basename}"
magick "$image" -resize 150x150^ "$thumbnail_file"
img_tags+="<a href=\"$image\" target=\"_blank\"><img src=\"$thumbnail_file\" alt=\"$basename\"></a>"
fi
done
cat template.html | sed "s#{{{GALLERY}}}#$img_tags#" > index.html -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 03:45:11 JST DulceKennedy @waifu @nyanide wait i fucked something up here -
Embed this notice
nyanide :nyancat_rainbow::nyancat_body::nyancat_face: (nyanide@lab.nyanide.com)'s status on Monday, 18-Nov-2024 03:46:31 JST nyanide :nyancat_rainbow::nyancat_body::nyancat_face: @waifu @ElDeadKennedy i've got a sore throat so i can't talk using my terrible voice but i can still type, is waifuism.life the mumble server? waifu likes this. -
Embed this notice
david :_biflag: (david@pl.dav1d.xyz)'s status on Monday, 18-Nov-2024 03:47:27 JST david :_biflag: @waifu me too waifu likes this. -
Embed this notice
waifu (waifu@mai.waifuism.life)'s status on Monday, 18-Nov-2024 03:52:18 JST waifu @ElDeadKennedy@shitposter.world @nyanide@lab.nyanide.com did you changed your username again
-
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 03:52:19 JST DulceKennedy @nyanide @waifu hop on Steam
-
Embed this notice