Hey so I made a site to compile Pleroma-tan art
https://waifu.codeberg.page/pleroma-tan-art/@pages/
You can also help out with code so if you wanna add some it's a public repo
https://codeberg.org/waifu/pleroma-tan-art
but please help me out frfr I have no idea what I'm writing :clueless:
Conversation
Notices
-
Embed this notice
waifu (waifu@mai.waifuism.life)'s status on Sunday, 17-Nov-2024 22:10:46 JST waifu - mangeurdenuage :gnu: :trisquel: :gondola_head: 🌿 :abeshinzo: :ignucius: and Sick Sun like this.
-
Embed this notice
Lina Inver?e (lina@eientei.org)'s status on Sunday, 17-Nov-2024 22:21:33 JST Lina Inver?e @waifu (((codeberg))) In conversation permalink -
Embed this notice
menherahair (menherahair@eientei.org)'s status on Sunday, 17-Nov-2024 22:36:15 JST menherahair @waifu you should generate the html, either on your pc, with some hooks magic, or js. I can't imagine you're not thinking about this already so you should share your thoughts
if codeberg pages can do SSI I'd just use that and make a file with a wall of <img>s
otherwise I'd consider markdown and a generator, maybe bother with hugo or other bullshit if bored enoughIn conversation permalink waifu likes this. -
Embed this notice
waifu (waifu@mai.waifuism.life)'s status on Sunday, 17-Nov-2024 22:36:47 JST waifu @menherahair@eientei.org yeah I thought about it but also thought someone would point me in some other direction, if they're bored enough
In conversation permalink -
Embed this notice
menherahair (menherahair@eientei.org)'s status on Sunday, 17-Nov-2024 22:44:37 JST menherahair @waifu you either automate it or write the <img> into the html yourself, the other direction is to pay a mexican to do it for you In conversation permalink waifu likes this. -
Embed this notice
waifu (waifu@mai.waifuism.life)'s status on Sunday, 17-Nov-2024 22:45:07 JST waifu @menherahair@eientei.org yeah I guess this needs some automation then
In conversation permalink -
Embed this notice
waifu (waifu@mai.waifuism.life)'s status on Monday, 18-Nov-2024 00:04:52 JST waifu @authen@brain.worm.pink no naughtly pleroma
In conversation permalink -
Embed this notice
wormthen (authen@brain.worm.pink)'s status on Monday, 18-Nov-2024 00:04:53 JST wormthen @waifu wheres naughty pleroma tan In conversation permalink waifu likes this. -
Embed this notice
menherahair (menherahair@eientei.org)'s status on Monday, 18-Nov-2024 00:24:35 JST menherahair @waifu with simple enough repo it's not unreasonable to have something like this in readme:
```markdown
## contributing
1. fork and clone the repo
2. put your image in assets/images/
3. add your image to cum.html following this template:
<img src="assets/images/YOURIMAGEFILENAME" alt="made by YOURNAME">
feel free to add href to your shit too
4. push and open MR
```
and cum.html is just that wall of <img> tags you'd SSI so there's really nothing to fuck up
but it's generally better to automateIn conversation permalink waifu likes this. -
Embed this notice
mothball蛾玉 (和文化研究部) (moth_ball@shitposter.world)'s status on Monday, 18-Nov-2024 00:38:52 JST mothball蛾玉 (和文化研究部) @waifu add this pls In conversation permalink Attachments
waifu likes this. -
Embed this notice
waifu (waifu@mai.waifuism.life)'s status on Monday, 18-Nov-2024 00:42:32 JST waifu @menherahair@eientei.org yeah I just did something simple like https://藍.moe/ I'm guessing syuilo just updates it every once in a while
In conversation permalink Attachments
-
Embed this notice
waifu (waifu@mai.waifuism.life)'s status on Monday, 18-Nov-2024 01:36:14 JST waifu @ElDeadKennedy@shitposter.world yes please
In conversation permalink -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 01:36:15 JST DulceKennedy @waifu need some help automating that? In conversation permalink -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 01:48:47 JST DulceKennedy @waifu how about something like
#!/bin/bash
html=$(cat template.html)
img_tags=""
for image in images/*; do
if [ -f "$image" ]; then
basename=$(basename "$image")
img_tags+="<img src=\"$image\" alt=\"$basename\">"
fi
done
echo "$html" | sed "s#{{{GALLERY}}}#$img_tags#" > output.html
where your template.html is
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pleroma-tan Art</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header>
<h1>Pleroma-tan Art</h1>
</header>
<main>
<div class="gallery">
{{{GALLERY}}}
</div>
</main>
<footer>
<p></p>
</footer>
</body>
</html>In conversation permalink waifu likes this. -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 01:48:47 JST DulceKennedy @waifu you dump all the images in images/ next to template.html and this generates output.html In conversation permalink waifu likes this. -
Embed this notice
waifu (waifu@mai.waifuism.life)'s status on Monday, 18-Nov-2024 01:48:57 JST waifu @ElDeadKennedy@shitposter.world should i add you to the credits
In conversation permalink -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 01:54:45 JST DulceKennedy @waifu this is a very simple bash script i could work on something better if you want In conversation permalink -
Embed this notice
waifu (waifu@mai.waifuism.life)'s status on Monday, 18-Nov-2024 01:54:45 JST waifu @ElDeadKennedy@shitposter.world well the repo is there you can place a simple pull request anytime you want in case you do make something, I wanted to keep it as simple as possible
In conversation permalink -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 01:54:46 JST DulceKennedy @waifu if you want to In conversation permalink -
Embed this notice
DulceKennedy (eldeadkennedy@shitposter.world)'s status on Monday, 18-Nov-2024 01:54:47 JST DulceKennedy @waifu don't forget to include the {{{GALLERY}}} placeholder in template.html. the script uses sed to replace that placeholder with all the image tags In conversation permalink waifu likes this.