Perchance - Create a Random Text Generator
⚄︎ 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.
- The full rules are posted here: (https://legal.lemmy.world/)
- User Rules: (https://legal.lemmy.world/fair-use/)
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
andai-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.
view the rest of the comments
Hi! Seems promising, however....
I went to your site (PC Firefox, Windows, 1920x1200, not logged in, advert bar at the bottom. PC Chrome logged in, no advert bar) and entered 'what is $root?' in the chat-input.
It starts to come up with an explanation, but when the output field fills the chat-messages, it removes the explanation and displays 'Sorry, I encountered an error. Please try again.', seemingly when finalizing the explanation. I tried it 3 times with 3 times the same result in both browsers.
Furthermore:
Love the idea, so don't get discouraged, as I think something like this will be a great help!!
Thanks for the feedback, Danno — really appreciate the detail.
Just a couple of quick ones from my end: Using different browsers? I'm not sure what you meant but if you just use a default browser like *Thorium *or Brave without any plugins or extensions and use that for a sandbox could be a bit easier than swapping thru multiple ones as i wrote in notepad and uploaded it and then used their
ai-text-plugin
to populate the responses.You mentioned $root. ..were you thinking in Linux terms? In Perchance context, that’s not a typical variable. The *$root *you mentioned isn’t part of standard Perchance syntax, so the assistant likely didn’t know what to do with that.
Markdown rendering is still basic here, true. Did you try using backticks like
code
or triple blocks for full snippets? I wrote the code as small as possible so Its intentionally minimal for now.The AI will format code if you ask it clearly *(e.g. “Can you explain how to use [[list]] with .capitalize?”), *but I’m still working on adding persistent parsing for code snippets.
I might improve that parser later with something else because its using the Perchance built in ai helper and as you see from the editing windows the left window "Lists" is a mix of javascript and custom api so it all depends on how Perchance ai is understanding you.
Did you get a chance to read the description or peek at the source? It’s intentionally a “barebones” helper — meant to be editable, designed for users to modify.
It’s a skeleton helper, not a full deployment not production-ready just meant as a wireframe template with minimal code.
*Still, cheers for the tests, your notes are helpful , it’s honestly useful knowing what people run into. thanks again for testing it out * 😀
Hi!
I'm using either Chrome or Firefox on Windows PC, straightforward, no VPN/Sandbox, or any other tool (maybe stupid Windows notepad to save snippets). Both browsers ran into the same issue, however, in the version I just tested, the chat responses seem to work now. FYI, I've never heard of either Thorium or Brave browser. I use Chrome, Edge, Firefox and for very old stuff Palemoon, on occasion Vivaldi (which is Chromium). So, no Linux.
Regarding 'what is
$root?
', it is a global variable inside Perchance, just like$meta
. As you can see, Perchance AI-text-plugin understood perfectly what I meant. This is what your AI helper has to say about it (and I have no better explanation myself):However, the chat-reply shows the three back-ticks of the MD code, not a marked down snippet like here in Lemmy. What's your intention with the markup of the code snippets? Show the code examples properly marked down or have the user copy the code and paste it to get a better view? It's not clear to me, something like the below is not really workable, esp. on smartphones (which I personally don't use to code):
A 'regular Perchance user' (none-programmer, that is) has no clue that they are about to use a 'bare-bones' generator when reading the below intro-message, heck as a developer I didn't:
Maybe adjust that with a better explanation, not everyone will enter edit-mode to check out the code (initially I didn't either, not until you suggested it in your comment).
Closing, I am not sure what this is about, the error occurs when the chat-reply finishes:
Ah no worries, It seems to be how the perchance ai interprets the input.
The error is linked with a (shift+enter) option to add separate line like if you wanted text and then a code snippet to differentiate the two in the case it accidentally read them as all one raw string, thats why i was asking about the $root.. i didnt add anything for a specific command or keyword so the Perchance ai api interprets the input.
The markdown still wont apply as any parenthesis like [ or ] or { or } are used already as part of perchances own baked custom api.
Thorium kinda same as Chromium just mostly for testing out sandbox projects as opera gx had a force dark mode that inverts some pages and lose the text and swap browsers.
If you click the "edit" in the top right you can see the perchance source and the container layout. Left only has two imports and the rest is basic html so if you want just copy and edit away or add an import for a local ai or ollama or Gemini api..
Another site like perchance for ai prompting is Websim. Here's another project i made pure html and no imports just to test frames per second in different browsers https://perchance.org/matrix-fps-test
in The code is the log that you can use for a quick prompt of a wireframe layout, then copy the html to notepad or gedit and save as html and edit as you need.