this post was submitted on 16 Aug 2024
6 points (100.0% liked)

Perchance - Create a Random Text Generator

483 readers
7 users here now

⚄︎ Perchance

This is a Lemmy Community for perchance.org, a platform for sharing and creating random text generators.

Feel free to ask for help, share your generators, and start friendly discussions at your leisure :)

This community is mainly for discussions between those who are building generators. For discussions about using generators, especially the popular AI ones, the community-led Casual Perchance forum is likely a more appropriate venue.

See this post for the Complete Guide to Posting Here on the Community!

Rules

1. Please follow the Lemmy.World instance rules.

2. Be kind and friendly.

  • Please be kind to others on this community (and also in general), and remember that for many people Perchance is their first experience with coding. We have members for whom English is not their first language, so please be take that into account too :)

3. Be thankful to those who try to help you.

  • If you ask a question and someone has made a effort to help you out, please remember to be thankful! Even if they don't manage to help you solve your problem - remember that they're spending time out of their day to try to help a stranger :)

4. Only post about stuff related to perchance.

  • Please only post about perchance related stuff like generators on it, bugs, and the site.

5. Refrain from requesting Prompts for the AI Tools.

  • We would like to ask to refrain from posting here needing help specifically with prompting/achieving certain results with the AI plugins (text-to-image-plugin and ai-text-plugin) e.g. "What is the good prompt for X?", "How to achieve X with Y generator?"
  • See Perchance AI FAQ for FAQ about the AI tools.
  • You can ask for help with prompting at the 'sister' community Casual Perchance, which is for more casual discussions.
  • We will still be helping/answering questions about the plugins as long as it is related to building generators with them.

6. Search through the Community Before Posting.

  • Please Search through the Community Posts here (and on Reddit) before posting to see if what you will post has similar post/already been posted.

founded 2 years ago
MODERATORS
 

Hi there,

Since @[email protected] was OK with bugging them with features, I'll seize the opportunity. Previously, I've published the list with improvements earlier (https://lemmy.world/post/17986442), which was received well, but I see how it can be overwhelming. I wasn't sure if it was a good idea to continue posting in that thread or make new one, so I'm making a new one. Feel free to merge threads if forum staff deems this necessary.

I picked a few low-effort features out of that list which I think could be considered essentials, and which would be great to see pushed upward in your TODO list, namely:

Prompting

  • Introduce copy button in prompt and anti prompt fields for better UX on mobile (click to copy). Though, since I do not own any generators, I'm not sure if this is something that generator owner could do on their own?

Gallery

  • On mobile, thumbs up and thumbs down buttons on images in the gallery should show up without having to tap on an image to reveal these buttons to make it easier for people to upvote or downvote.
  • Implement search/filter in galleries (at least most simplistic, regex-based search by prompt and saveTitle/saveDescription). If you rather not touch database at all at this point, since prompt is stored in HTML after an image is generated, could be a simple JS script that searches within image containers as a starter. Users could manually load gallery pages they wish to search in. Though, is this also something that the owner of the generator could potentially cook up on their own?
  • Store the galleries that the user visited earlier in local storage, so it is easier to switch between them when saving or browsing. The galleries could be presented as dropdown listed sorted alphabetically ascending.

Two items from that list are potentially the ones that can be implemented by generator owners, please enlighten me if this is the case - I've seen some very fancy looking generators, but wasn't sure if most of it is just CSS. Thank you, and looking forward - it's always cool to see Perchance evolving!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 4 months ago (3 children)

I'm not even sure who the creator is of ti2. Is that actually perchance too? Personally, I'm making my own image generator plugin and generator etc. from scratch so it works exactly how I want it to from the start ;p

I think there is already a feature where such buttons show up without tapping, for generations themselves. So hopefully it's as easy to add that to the gallery too.

I've suggested search too 👍 My guess is, we wouldn't be able to do anything like that, because it's all in an iframe from a different subdomain in the first place. (I tried messing with the image generator iframe; no dice.) Potentially someone could use the api directly and make their own completely custom gallery from scratch--though it's probably not something I'd jump into for now 😅

[–] [email protected] 1 points 4 months ago (1 children)

True with the iframes. However, once the image is in the gallery, it is just a div. Prompt lives inside a div.image-desc, in title attribute. One could write very basic search engine that parses all such divs, tokenizes tags and filters out what user is looking for.

[–] [email protected] 2 points 4 months ago (1 children)

But the gallery is inside an iframe. You can't style stuff inside an iframe from outside an iframe, and scripting from outside the iframe is blocked because of the different subdomain--that's what I was saying.

[–] [email protected] 1 points 4 months ago

Ouch, my bad I never noticed this. Thank you for clarification!

load more comments (1 replies)