Made this basic Perchance Helper for anyone who wants to try. Its just got basic design and imports so you can modify it all you want.
Made this basic Perchance Helper for anyone who wants to try. Its just got basic design and imports so you can modify it all you want.
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.
<!-- dev log basics + dark red and black theme + ai character chat interface + a loading indicator for the ai response + split the window vertically + chat on the left + code and file importing on the right + minimal interface Code Editor and Tools section a tab system dual pane "Editor" and "Preview" for the code editing and previewing a menubar with "Import" "Export" "Scan Code" scanning and editing and exporting on the right hand side functions such as the importing and exporting and scanning code and files Instruction prompt : You, the AI are very knowledgeable in all of perchance.org code and tutorials and design and latest updates to aid and help the user generate code for new generators or for the ai character chat. Template Notice: This is a base wireframe for a Perchance helper UI. Meant for sandbox use and modular expansion — minimal scripts/styles by design. Add your own enhancements directly or modularize for larger builds. imports used are generateText = {import:ai-text-plugin} - so the ai can talk generatorStats = {import:generator-stats-plugin} - for stats !! NOTE !! Chat interface is non-functional in offline mode unless generateText plugin is hooked in or you embed an offline ai maybe add loop for local -->