[Community Event] Halloween Haunters
  • VioneT VioneT 2d ago 100%

    Sararari Catteyon - Vionet20


    You and your group of friends stumble upon Sararari's lair, where she presents you with a grim ultimatum: eat her demonic offerings or watch each other starve. She observes with a chilling calm as you grapple with the horror of your predicament.
    Character Chat Link

    1
  • On the editors, you can search/highlight with RegEx (Regular Expressions) however, the matches cannot be iterated, and you cannot replace them. The old editor allowed this (as far as I remember), as well as using the captured groups as replacement ( `/(\d+)\.(.+)?/gm` can be replaced with `$1 - $2` to change the matches `1.Test` to `1 - Test`). ![](https://lemm.ee/api/v3/image_proxy?url=https%3A%2F%2Flemmy.world%2Fpictrs%2Fimage%2F2c290d4a-a035-484c-9e28-fa80eb29fc87.png)

    2
    2
    Welcome to 'Perchance.org' Community! (Posting Rules/How to Post from Mastodon/Other Community Links)
  • VioneT VioneT 2w ago 100%

    The link of your generator is the URL of your page: https://perchance.org/your-url-page

    1
  • How do I deal with Repetitive AI Responses in Character Chats
  • VioneT VioneT 2w ago 100%

    I haven't really had a long conversation and multiple topics in one bot, so I don't have much experience in manipulating the bot's behavior.

    I would suggest adding a reminder on the character's Reminder Message to steer the AI's response. Another would be using the /ai <reply instruction> method in which you instruct what the AI would reply. You could also probably try to edit the Memories and summaries that the AI generated that it uses in generating the reply and you could check the memory that pushes the AI to reply that way by clicking the brain icon that show up upon hover in the message on the bottom right.

    There are a lot more people knowledgeable in telling the AI what to do in the #ai-character-chat channel in Perchance Discord.

    2
  • [Community Event] Ai Image Challenge for October ~ Nights
  • VioneT VioneT 2w ago 100%

    Nebula and Forest

    ::: spoiler Image Details

    generator: text2image-generator
    style: No Style
    prompt: nebula in clear night sky framed by forest leaves in a clearing, detailed, soft lighting, rtx, uhd, anime style, featured in pixiv, WLOP, ross tran, artgerm
    negativePrompt: \[3d render, vibrant, child, low contrast, cel shade BREAK hard shadow, unclear features, incorrect anatomy, deformed body, bad drawing, poor illustration, worse quality, cellphone:0.1\] 
    resolution: 768x512
    guidanceScale: 7
    seed: 187151457
    

    :::

    3
  • ![](https://lemm.ee/api/v3/image_proxy?url=https%3A%2F%2Flemmy.world%2Fpictrs%2Fimage%2Ff7018edc-0720-4ec6-9a8f-fbbaf3b235b4.png) # Halloween Haunters > [Link to Events in Perchance Hub](https://perchance.org/hub#Events) First Ever Character Jam. Create and share characters for the `ai-character-chat` that is within the given theme. Unleash your creativity in the 'Halloween Haunters', a Halloween themed Character Jam where you'll conjure up spooky AI chat bots brimming with eerie charm and festive frights! 🎃👻💻. When: `Oct 7, 2024 12:00PM UTC` to `Oct 31, 2024 12:00PM UTC` Rules * Limit NSFW Characters * Preferably OC Characters --- Submission Comment Format: ``` # Character Name - by Author ![](https://avatar.png) Description... [Character Chat Link](https://perchance.org/ai-character-chat...) ``` ::: spoiler Perchance Data ```perchance_data // This Part is Required for the Perchance Hub // This would be where the Event Organizer would change the data to update the Hub // Remember to indent with two spaces! // List About the Event to be displayed on the Hub metadata title = Halloween Haunters description = Unleash your creativity in the 'Halloween Haunters' Character Jam, where you'll conjure up spooky AI chat bots brimming with eerie charm and festive frights! 🎃👻💻 type = Character Jam // Can be "Generator Jam", "Image Challenge", "Character Jam", etc. image // Can be multiple pictures to randomize the banner image :) // Must end with the '.png', '.webp', or any valid image format. https://lemmy.world/pictrs/image/f7018edc-0720-4ec6-9a8f-fbbaf3b235b4.png // strict data formats see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse#non-standard_date_strings start = 07 October 2024 12:00:00 UTC+0000 end = 31 October 2024 12:00:00 UTC+0000 color = linear-gradient(233deg, #73016ca0, #000000, #e91456a0) // background color of the banners any valid CSS colors rules // Just some rules or constraints for the event // can just be one rule or a list of rules Limit NSFW Characters Preferably OC Characters // For AI Character Chat (ACC) Character Jams chars // Character Name // link = https://perchance.org/ai-character-chat?data=CharName~12345.gz // ai-character-chat share link // avatar = https://image-url.png // or any valid image format // author = Author // description = Description Sararari Catteyon link = https://perchance.org/ai-character-chat?data=Sararari_Catteyon~f70e8c65ca806f584f8a03d22281aae2.gz avatar = https://user-uploads.perchance.org/file/93a43e231e1bffc517511d8f5b3262a6.webp author = Vionet20 description = You and your group of friends stumble upon Sararari's lair, where she presents you with a grim ultimatum: eat her demonic offerings or watch each other starve. She observes with a chilling calm as you grapple with the horror of your predicament. Nordledonger link = https://perchance.org/ai-character-chat?data=Nordledonger~4ffecd31d877d8cb6011afc06d29dd5d.gz avatar = https://generated-images.perchance.org/image/3f106fc005e2221bec7b3ed4e2aed0f4669a820fff2a422c41814cb14c66cd28.jpeg author = Allo description = THE CREEPIEST ZEBRA MADE OF CHEESE THAT REQUIRES YOU FART DIRECTLY IN TO YOUR OWN MOUTH. MUAHAHAHAHAHAHAHA // // You can request a format of other events just ask on the forum! // In your Lemmy Post, you must have the `[Community Event]` in the title. // ``` :::

    4
    3

    There is a feature that was recently added which is the 'Edit Password' upon saving a generator that isn't yours (you are remixing another person's generator). It is for recovering/saving an edited generator without logging in (or those users that are having trouble with saving generators since the email verification is having problems). Steps: 1. Click edit in the generator you want to edit. 2. Upon saving, and **opt to create a generator** (since you can't save a generator to an account since you are not logged in), it would then give out a 'edit password'. **Remember/Save this generated string as well as the *newly* created URL (not the original one).** 3. Later on (as long as the local storage is not cleared) you can navigate again to that newly created page (while still not logged in into an account) then enter the edit password after clicking save to return back/apply your changes to the generator. ##### [A video demo of how it works.](https://streamable.com/7cbesl)

    4
    8
    [Generator Bug] t2i styles tester
  • VioneT VioneT 4w ago 100%

    Possibly missing ending quotations?

    Before the "negative", you didn't close the quotation then you used a dot instead of a comma in transitioning to the negative

    ...
    "Style Name":{
      "prompt": "...",
      "negative": "..."
    },
    ...
    
    1
  • Glitch.me + ai-character-chat
  • VioneT VioneT 4w ago 100%

    If you are trying to run the 'ai-character-chat' on glitch, you wouldn't be able to do so. Since AI plugins doesn't work in other domains, only in Perchance. I suggest looking into the OpenCharacters which is Perchance based off of.

    1
  • [Generator Bug] t2i styles tester
  • VioneT VioneT 4w ago 100%

    I tested it, and it seemed to be working properly, possibly something on the AI's response inside the <image> tag that borked the code?

    2
  • [Community Event] Celebrations!
  • VioneT VioneT 1mo ago 100%

    AI Celebrations Quiz

    https://perchance.org/ai-celebrations-quiz

    An AI Powered Multiple Choice Question about Celebrations in the world.

    2
  • [Generator Bug] t2i styles tester
  • VioneT VioneT 1mo ago 100%

    Can you send me the character link again. I would assume that you do not have [input.description] on the prompt or [input.negative] on negative on the pasted style like so:

      ...
      "Professional Photo": {
        // When adding a new prompt, you need to add [input.description] to help the code know what would be the prefix and suffix of the prompt. [input.negative] is not as required.
        prompt:
          "[input.description], {sharp|soft} focus, depth of field, 8k photo, HDR, professional lighting, taken with Canon EOS R5, 75mm lens",
        negative:
          "[input.negative], worst quality, bad lighting, cropped, blurry, low-quality, deformed, text, poorly drawn, bad art, bad angle, boring, low-resolution, worst quality, bad composition, terrible lighting, bad anatomy",
      },
      ...
    
    
    2
  • Please readd the resources button in the top bar & add an option to hide the AI button in the editor
  • VioneT VioneT 1mo ago 100%

    I think frequency of access, and maybe a habit of turning to the resources page to look for the plugins/templates.

    I think that the resources page is an 'all-in-one' page for a lot of things related to Perchance that isn't on the 'tutorial'. I'll ping @eatham@lemmy.world for other opinions.

    While we're at it, maybe also create a 'notice/terms and conditions' regarding the use of AI on the platform. A lot of people are also asking for this, although I just redirect them to the AI FAQ that I compiled and directly on the plugin pages. Maybe an official one so it is compiled and in one place.

    Also, maybe a very long shot, and may be breaking for the user/account data (or maybe just tie it to local storage). An option to customize the navbar through account settings? Like we only want the 'generators', and 'hub' to button to show on the navigation as well as hiding the 'ai helper' permanently on the HTML panel than just minimizing it.

    2
  • [Generator Bug] t2i styles tester
  • VioneT VioneT 1mo ago 100%

    Not sure, I don't really dabble on the NSFW content, so I won't know lmao.

    2
  • Need help with an error
  • VioneT VioneT 1mo ago 100%

    Upon downloading the Cromite, I was able to fix the WebAssembly issue by enabling something called V8 (you could also just search "WebAssembly" on the search bar and it should highlight the setting):

    Also some video proof. You could also probably just add Perchance to the list of sites that allows V8 instead of enabling it globally.

    1
  • [Generator Bug] t2i styles tester
  • VioneT VioneT 1mo ago 100%

    No problem! It was actually an oversight on my part lmaooo

    2
  • [Generator Bug] t2i styles tester
  • VioneT VioneT 1mo ago 100%

    Here is an updated code in the AI Artist.

    It seems that there was a problem in setting the properties in the character itself, in which those properties are already existing in the AI Artist character.

    But since you've transferred the code to another character, those properties are undefined and cannot be accessed so it cannot change it. I've managed to fix it by just setting default values.

    2
  • [Generator Bug] t2i styles tester
  • VioneT VioneT 1mo ago 100%

    You can share the character link like this:

    This won't share any threads, just the character.

    2
  • [Community Event] Celebrations!
  • VioneT VioneT 1mo ago 100%

    Actually, please do use valid date formats, since the code is having a hard time parsing it. @eatham@lemmy.world @Alllo@lemmy.world

    4
  • cross-posted from: https://lemmy.world/post/19286382 > There has been a couple of Community Events in [Casual Perchance](https://lemmy.world/c/casual_perchance) since its implementation via Lemmy World posts. > > #### What kind of events would you like to see or be part of? > > Some of the old events were: > - **Generator Jam** - like a Game Jam but with generators based on a theme > - **Plain** - create a generator that fits the specified theme > - **Useful Generators** - generators that can be imported/useful for other generators (i.e. importable lists or plugins etc.) > - **Mad Science** - not generators but anything made with Perchance Syntax. > - **Contribute to a Generator** - didn't get much traction, like a Generator Jam, but you allow others to give feedback/suggestions throughout the event to the generator you have submitted. (Might change this to just a Feedback/Suggestion Jam, submit your generators for feedback and suggestions and don't require to create a new generator) > - **Image Challenge** - Mostly AI Images generated with Perchance text-to-image-plugin based on a theme. > > Also, feel free to give any feedback or suggestions about the Community Events. Some more specific feedback/suggestion categories are: > - Length of Events > - Type/Content of Events > - Engagement or Retainability of Participants > > Note that you can **host your own Community Events**, see [this post for an explanation](https://lemmy.world/post/14744285).

    5
    0

    There has been a couple of Community Events in [Casual Perchance](https://lemmy.world/c/casual_perchance) since its implementation via Lemmy World posts. #### What kind of events would you like to see or be part of? Some of the old events were: - **Generator Jam** - like a Game Jam but with generators based on a theme - **Plain** - create a generator that fits the specified theme - **Useful Generators** - generators that can be imported/useful for other generators (i.e. importable lists or plugins etc.) - **Mad Science** - not generators but anything made with Perchance Syntax. - **Contribute to a Generator** - didn't get much traction, like a Generator Jam, but you allow others to give feedback/suggestions throughout the event to the generator you have submitted. (Might change this to just a Feedback/Suggestion Jam, submit your generators for feedback and suggestions and don't require to create a new generator) - **Image Challenge** - Mostly AI Images generated with Perchance text-to-image-plugin based on a theme. Also, feel free to give any feedback or suggestions about the Community Events. Some more specific feedback/suggestion categories are: - Length of Events - Type/Content of Events - Engagement or Retainability of Participants Note that you can **host your own Community Events**, see [this post for an explanation](https://lemmy.world/post/14744285).

    3
    0

    ![](https://lemm.ee/api/v3/image_proxy?url=https%3A%2F%2Flemmy.world%2Fpictrs%2Fimage%2Ff3889aca-b153-49a9-a9b0-2079eba7dce3.png) # Unexplored Wilderness Create generators that invoke the wilderness (nature, danger), curiosity (discovery, documentation), and adventure (heading into the unknown, trailblazing), be it fictional or non-fiction. Make generators with the lines of an odyssey to unexplored regions, mapping the vast reaches of the galaxy, or looking deep within oneself. When: `August 7, 2024 12:00PM UTC` to `August 28, 2024 12:00PM UTC` ::: spoiler Perchance Data ```perchance_data // This Part is Required for the Perchance Hub // This would be where the Event Organizer would change the data to update the Hub // Remember to indent with two spaces! // List About the Event to be displayed on the Hub metadata title = Unexplored Wilderness description = Create generators that invoke the wilderness (nature, danger), curiosity (discovery, documentation), and adventure (heading into the unknown, trailblazing), be it fictional or non-fiction. type = Generator Jam image https://lemmy.world/pictrs/image/f3889aca-b153-49a9-a9b0-2079eba7dce3.png // Can be multiple pictures to randomize the banner image :) start = 07 August 2024 12:00:00 UTC+0000 // strict data formats see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse#non-standard_date_strings end = 28 August 2024 12:00:00 UTC+0000 color = linear-gradient(77deg, #386945, #30aa34) rules = Make generators with the lines of an odyssey to unexplored regions, mapping the vast reaches of the galaxy, or looking deep within oneself. // For Generator Jams with Perchance URL generators // The generator's $metadata is also parsed immerse-in-senses author = Vionet20 type = Text // For Image Events images // You can request a format of other events just ask on the forum! // Banner Info: // Generator Used: text2image-generator // Prompt: a behind the character shot of a small group on high elevation overlooking an unexplored forest region, exploration, adventure, high fantasy, concept art // Negative Prompt: \[mountains, mountain ranges, high mountains, columns of rocks:0.05\] // Resolution: 768x512 // Art Style: [Vionet20-Styles] Comic/Manga Illustration ``` :::

    9
    2
    perchance.org

    **Update 4: Fixed** Update 3: It seems that changing the 'src' of the `iframe` of the embedded seems to apply the changes. Clicking on the 'Go to Event' buttons on the home tab seems to revert the page to its previous versions. A [video recording of the problem](https://streamable.com/7hpgf2). Update 2: Can confirm that the changes are reflected after a couple of minutes, for now. Update: The embedded page has now reflected the changes. Will monitor if any other changes are immediately (or at least after a little bit of time) reflected. I'm posting again to re-open a previous bug. Previous Post: https://lemmy.world/post/15639946 Currently, the [/hub](https://perchance.org/hub) where the [/hub-events](https://perchance.org/hub-events) is embedded to, doesn't have the updated /hub-events page. I've updated the code in the /hub-events last July 25. But currently, the change to it isn't reflected on the embedded /hub-events on the /hub at the [Events tab](https://perchance.org/hub?page=events). Last time, it updated itself after a few minutes, but now two days have passed it hasn't updated yet.

    3
    4

    ![](https://lemm.ee/api/v3/image_proxy?url=https%3A%2F%2Flemmy.world%2Fpictrs%2Fimage%2F9688ee6a-de53-4c57-925f-0473df2cbda2.png) # What Came Before? Ever wondered what is the past of your characters? What happened to the world before? Or you just want to time travel the past? Generator Jam for July would be about the past! Create generators that generate backstories, alternate history, travelling to the past, and others! When: `July 8, 2024 12:00PM UTC` to `July 29, 2024 12:00PM UTC` ::: spoiler Perchance Data ```perchance_data // This Part is Required for the Perchance Hub // This would be where the Event Organizer would change the data to update the Hub // Remember to indent with two spaces! // List About the Event to be displayed on the Hub metadata title = What Came Before? description = Generator Jam for July - What Came Before? Create generators that generate backstories, alternate history, travelling to the past, and others! type = Generator Jam image https://lemmy.world/pictrs/image/9688ee6a-de53-4c57-925f-0473df2cbda2.png // Can be multiple pictures to randomize the banner image :) start = 8 July 2024 12:00:00 UTC+0000 // strict data formats see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse#non-standard_date_strings end = 29 July 2024 12:00:00 UTC+0000 color = linear-gradient(157deg, #03355b, #ecdb96) rules = Create Generators that are about the Past! // For Generator Jams with Perchance URL generators // The generator's $metadata is also parsed past-10-points author = Vionet20 type = Text historic-people author = Allo type = Text // For Image Events images // You can request a format of other events just ask on the forum! ``` :::

    1
    4

    There seems to be a `overflow` issue on the `comments-plugin`'s settings and fullscreen buttons. ![](https://lemm.ee/api/v3/image_proxy?url=https%3A%2F%2Flemmy.world%2Fpictrs%2Fimage%2Fbb69f077-9387-4405-b158-389c20f044cc.png)

    5
    4

    ![](https://lemm.ee/api/v3/image_proxy?url=https%3A%2F%2Flemmy.world%2Fpictrs%2Fimage%2Fe5a38895-65b6-468e-80f7-e2a1fa609c30.png) # Importables Do you have ideas for lists, plugins, or templates that can be used by others? Now is the time to create it! 'Importables' Generator Jam! Useful Generators, Plugins, HTML Widgets, CSS Styles. Generators that can be imported to other generators! When: `June 10, 2024 12:00PM UTC` to `June 28, 2024 12:00PM UTC` > Thank you NecoBridge for the theme suggestion! ::: spoiler Perchance Data ```perchance_data // This Part is Required for the Perchance Hub // This would be where the Event Organizer would change the data to update the Hub // Remember to indent with two spaces! // List About the Event to be displayed on the Hub metadata title = Importables description = Do you have ideas for lists, plugins, or templates that can be used by others? Now is the time to create it! 'Importables' Generator Jam! type = Generator Jam image https://lemmy.world/pictrs/image/e5a38895-65b6-468e-80f7-e2a1fa609c30.png // Can be multiple pictures to randomize the banner image :) start = 10 June 2024 12:00:00 UTC+0000 // strict data formats see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse#non-standard_date_strings end = 28 June 2024 12:00:00 UTC+0000 color = linear-gradient(231deg, hsl(127 0% 61%), hsl(201 17% 31%)) rules = Create Generators that can be imported! Plugins, Lists, HTML Templater, CSS Styles // For Generator Jams with Perchance URL generators // The generator's $metadata is also parsed simple-toc-plugin author = Vionet20 type = plugin rainbow-plugin2 author = thatOnePerchanceGuy type = plugin no-reason-js author = thatOnePerchanceGuy type = plugin power-rain-plugin author = Bluepower type = plugin perchance-author author = Eatham type = plugin // For Image Events images // You can request a format of other events just ask on the forum! ``` :::

    0
    0

    Not sure when this problem happened, but if you take a look at https://perchance.org/a-testing-gen which has an embedded Perchance page to https://perchance.org/b-testing-gen, the changes on the embedded generator /b-testing-gen, isn't applied on the iframe on /a-testing-gen. I've tried disabling the cache on DevTools, reloaded both gens (and saved them again) and the changes on /b-testing-gen isn't applied on the /a-testing-gen.

    4
    4
    perchance.org

    #### [Improved Make Table Plugin](https://perchance.org/improved-make-table-plugin) This is a modification of the [make-table-plugin](https://perchance.org/make-table-plugin) with added features: - Row Heights (option to change heights of each row) - Row Alignments (option to change the alignment of the text in the row) - Header Rows (makes the first row of the table bold, and an option to stylize it) - Footer Rows (last row bold, and option to stylize it) - Column Header (bold first column of the table, and option to stylize it) - Caption (adds a Caption to the table, with option to place it at the top, and at the bottom, and to stylize it). Here is an example of a table that can be made from it: ![](https://lemm.ee/api/v3/image_proxy?url=https%3A%2F%2Fuser-uploads.perchance.org%2Ffile%2F7cd5a4bb541a58ea9bf1f92b7691b0c2.webp) I've also created a Helper to help create tables with the plugin at [Improved Make Table Plugin Helper](https://perchance.org/improved-make-table-plugin-helper).

    2
    0

    Suppose we have the following list: ```plaintext createInstance = {import:create-instance-plugin} person name = [this.nameList] nameList Salman Manny Rhian age = {31-49} child = [this.child_obj] child_obj name = [this.nameList] nameList Anne Arram Amelia age = {3-17} ``` If we output: ```text [p = createInstance(person, "deep"), p.name] [p.age] [p.name] [p.age] ``` We can see that it has fixed the `name` and the `age` property on the instance. However, if we output: ```text [p = createInstance(person, "deep"), p.child.name] [p.child.age] [p.child.name] [p.child.age] ``` It would throw `undefined`. Now looking at similar list: ```text person name = {Salman|Manny|Rhian} age = {31-49} child = [this.child_obj] child_obj name = {Anne|Arram|Amelia} age = {3-17} output [p = createInstance(person, "deep"), p.child.name] [p.child.age] [p.child.name] [p.child.age] ``` This would have the values fixed and working. Looking at the code of the `create-instance-plugin`, it would only allow the 'deep' fixing of properties **if** there isn't any items/lists in it. What that means is the following: ```text child_obj name = [this.nameList] nameList Anne Arram Amelia age = {3-17} ``` This object/list, has a list ( `nameList`) within it as well as properties (`name` and `age`), while: ```text child_obj name = {Anne|Arram|Amelia} age = {3-17} ``` Only has properties. and based on `Line 22` of the `create-instance-plugin`: ```js ... } else if(propValue.getPropertyKeys && propValue.getPropertyKeys.length > 0 && propValue.getLength === 0) { ... ``` If the list to be fixed has a list within it other than the properties i.e. `propValue.getLength` is not zero, then it wouldn't fix the properties within it. The first `child_obj` has a `nameList` with it, and upon calling `propValue.getLength` it would have `1` while the second `child_obj` will return a `propValue.getLength` of `0` since it doesn't have any lists. Thus, the solution for the problem is just removing the `propValue.getLength === 0` check OR create another check without it. --- TLDR; `propValue.getLength === 0` at `Line 22` of the [create-instance-plugin](https://perchance.org/create-instance-plugin) can be removed to allow properties that rely on same level lists to be fixed. [Here is the demo of the problem](https://perchance.org/vnm320e3k6) with a 'remixed' create instance plugin with the fix.

    4
    6

    I've been made aware that the [code](https://rentry.org/eam24g79) I've written to access text-to-speech from ElevenLabs API is no longer working. I've tested it and it seems that the CORS-Proxy that is being used in `ai-character-chat` currently doens't allow `POST` methods (which is being used to 'post' the text to be 'spoken' in ElevenLabs). Not a major/priority issue but might be nice to be fixed. I also wonder how many are using text to speech (even just using the [Speech Synthesis code](https://user-uploads.perchance.org/file/a0da0da67fe07f8ad9981ef3665d12fb.txt)) in the `ai-character-chat`....

    4
    19

    Found out about this possible improvement to the [URL Params Plugin](https://perchance.org/url-params-plugin) in which you currently **cannot** pass through URL params in the `null.perchance` domain in an `<iframe>` i.e. it doesn't parse the passed through parameters. I was able to pass through parameters in an iframe in the normal `perchance` domain, but without the `null` part, it has the navigation bar and seems to mess up the CSS. I'm currently applying it to 'navigate' from the 'Home' tab of the hub to the 'Events' tab, then select the appropriate events page using the URL params.

    7
    3

    cross-posted from: https://lemmy.world/post/14744285 > I've mentioned this [on another post](https://sh.itjust.works/comment/11155328), but I'll create a new thread to hear other opinions. > > I'm proposing to have the **Community Events on Perchance Hub be hosted on this Lemmy Community.** > > To accomplish this, the **Forms** tab on the Perchance Hub would be changed to **Events** tab. It would host the Event posts from this community. > > That is, **anyone** can post an Event thread here and it would be **mirrored** on the Perchance Hub. > > Technical Notes: The posts here would be retrieved (via the Lemmy API) and the posts would be filtered to events only. The Event posts will then be parsed and neatly displayed on the Perchance Hub. This would mean that the posts would have a **template** to follow. > > This is so that **anyone** is welcome to create Events and those Event makers would be the ones who will **manage** their own events (no longer needing to wait the Perchance Hub update). > > This way, there could be different events running, managed by different people, with different topics, event types, and limitations/rules and to update the details on the Perchance Hub, the event creators can just **edit** the event posts and it would reflect on the Hub. > > Not yet sure about what details would be on the Perchance Hub. But something like [@BluePower](https://sh.itjust.works/u/BluePower)'s [Upcoming Events Page](https://perchance.org/power-generator-manager-preview?page=events) might be a good format/structure to remix with (although the comments plugin on each event on Perchance Hub might not be used since the Event Post already have a comments/thread to talk with). > > Technical Notes: The mirrored details can probably include a cover image, ability for the creators to change the colors on the Hub, specify if it is an 'image' event, 'generator/page' based event, etc., so the formatting on the Hub would be nice. > > In Summary: > - Community Events will be hosted in https://lemmy.world/c/casual_perchance > - Events are now hosted/managed by Event Creators > - The posts would have a (somewhat strict) template to nicely structure them on the mirror on the Perchance Hub. > - Events can simultaneously ran by different people, with different topics, event types, limitations or rules. > - Events can be updated by the Event Creator > - Event Details and Content / Template Format is not yet decided > - Format in the Perchance Hub is not yet designed. > > Additional Notes: > - With this, I might remove the 'announcement modal' on the hub upon first visit (or when there is update to it) to remove the clutter. > - Might also implement a dark mode to the Hub. (will require quite an overhaul on the hub page) > - Might dynamically add the Event's banner on the Home Page for each event (with the most recent and about to end event on the top). > - I currently do not have a stable internet so these changes might take a while to implement xD

    7
    6

    ### [List of Community Events](https://lemmy.world/search?q=%5BCommunity%20Event%5D&type=All&listingType=All&communityId=630699&page=1&sort=New) --- ### Community Event Metadata Template ::: spoiler Perchance Data ```perchance_data // This Part is Required for the Perchance Hub // This would be where the Event Organizer would change the data to update the Hub // Remember to indent with two spaces! // List About the Event to be displayed on the Hub metadata title = Title Here description = Description Here type = Generator Jam // Can be "Generator Jam", "Image Challenge", "Character Jam", etc. image // Can be multiple pictures to randomize the banner image :) // Must end with the '.png', '.webp', or any valid image format. https://lemmy.world/pictrs/image/f3889aca-b153-49a9-a9b0-2079eba7dce3.png // strict data formats see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse#non-standard_date_strings start = 07 August 2024 12:00:00 UTC+0000 end = 28 August 2024 12:00:00 UTC+0000 color = linear-gradient(77deg, #386945, #30aa34) // background color of the banners any valid CSS colors rules // Just some rules or constraints for the event // can just be one rule or a list of rules rule 1 rule 2 etc. // For Generator Jams with Perchance URL generators // The generator's $metadata is also parsed generator-name // must be the 'dashed' generator name author = Author // author's name type = Text // type of generator, // Valid types: Text, Image, Plugin, Template, Preprocessor, Games, Community/RP, Experiment // For Image Events images https://image-url.png // must end with valid image format author = Author // author's name description = Text // any text // For AI Character Chat (ACC) Character Jams chars Character Name link = https://perchance.org/ai-character-chat?data=CharName~12345.gz // ai-character-chat share link avatar = https://image-url.png // or any valid image format author = Author description = Description // // You can request a format of other events just ask on the forum! // In your Lemmy Post, you must have the `[Community Event]` in the title. // ``` ::: --- #### Example Generator Jam: [Beat the Heat](https://lemmy.world/post/14865220) #### Example Image Challenge: [Epic Vehicle](https://lemmy.world/post/14962584) #### Example Character Jam: [Halloween Haunters](https://lemmy.world/post/20527046) --- I've mentioned this [on another post](https://sh.itjust.works/comment/11155328), but I'll create a new thread to hear other opinions. I'm proposing to have the **Community Events on Perchance Hub be hosted on this Lemmy Community.** To accomplish this, the **Forms** tab on the Perchance Hub would be changed to **Events** tab. It would host the Event posts from this community. That is, **anyone** can post an Event thread here and it would be **mirrored** on the Perchance Hub. > Technical Notes: The posts here would be retrieved (via the Lemmy API) and the posts would be filtered to events only. The Event posts will then be parsed and neatly displayed on the Perchance Hub. This would mean that the posts would have a **template** to follow. This is so that **anyone** is welcome to create Events and those Event makers would be the ones who will **manage** their own events (no longer needing to wait the Perchance Hub update). This way, there could be different events running, managed by different people, with different topics, event types, and limitations/rules and to update the details on the Perchance Hub, the event creators can just **edit** the event posts and it would reflect on the Hub. Not yet sure about what details would be on the Perchance Hub. But something like [@BluePower](https://sh.itjust.works/u/BluePower)'s [Upcoming Events Page](https://perchance.org/power-generator-manager-preview?page=events) might be a good format/structure to remix with (although the comments plugin on each event on Perchance Hub might not be used since the Event Post already have a comments/thread to talk with). > Technical Notes: The mirrored details can probably include a cover image, ability for the creators to change the colors on the Hub, specify if it is an 'image' event, 'generator/page' based event, etc., so the formatting on the Hub would be nice. In Summary: - Community Events will be hosted in https://lemmy.world/c/casual_perchance - Events are now hosted/managed by Event Creators - The posts would have a (somewhat strict) template to nicely structure them on the mirror on the Perchance Hub. - Events can simultaneously ran by different people, with different topics, event types, limitations or rules. - Events can be updated by the Event Creator - Event Details and Content / Template Format is not yet decided - Format in the Perchance Hub is not yet designed. Additional Notes: - With this, I might remove the 'announcement modal' on the hub upon first visit (or when there is update to it) to remove the clutter. - Might also implement a dark mode to the Hub. (will require quite an overhaul on the hub page) - Might dynamically add the Event's banner on the Home Page for each event (with the most recent and about to end event on the top). - I currently do not have a stable internet so these changes might take a while to implement xD

    1
    0

    Here is my attempt on modifying the [`tabs-plugin`](https://perchance.org/tabs-plugin) to allow 'Nested' Tabs. Link to the [Modified Plugin](https://perchance.org/e9ik1pgg7l#edit). [Demo Generator](https://perchance.org/gea0vpav7r#edit) using the modified plugin. > This was made to address the problem of SynthAce (asked at the [Perchance Hub - Learn Tab](https://perchance.org/hub?page=learn)) ::: spoiler Technical Notes - I have reverted the 'minified' `window.Tabs` function to the un-minified to learn more about how the function works. > The code is originally from [Zoltantothcom's Vanilla JavaScript Tabs Project](https://github.com/zoltantothcom/vanilla-js-tabs) - On the `let titles` code, I have removed the `onclick` on the `<li>` elements as removing them didn't have any impact on the plugin. I have also added a dataset attribute `tablist` on the `<a>` elements inside the `<li>` elements which will be the `tabListKey` (this is important to only reset the current tab's list and not all the tabs). - On the `let contents` code, I've also renamed the `data-belongs-to-tab-list` to just `data-tablist`. - On the main div with class `tabs-plugin`, I've also added the `data-tablist` to specify which tab has which key. - On the reverted `Tabs` function, I've added a `tabList` variable which is taken from the tab list key of the main tab element. - I've modified the `reset` function to pass through the tab list key to only reset the tab with the same keys, preventing resetting of the other tabs. It uses the `querySelectorAll` and selects only the items with the specified tab list key. - I've also modified the `onClick` function to pass through the tab list key to only update ( and reset ) the specified tab. Since previously it would update **all** tabs which causes problems in nested tabs. :::

    4
    1

    [@perchance@lemmy.world](https://lemmy.world/u/perchance) - pinging dev :) Here is my implementation of 'remembering' the resized size of the `textarea` inputs. It is using the `ResizeObserver` ([documentation](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)) and will only observe `textarea` elements with `resize` style property enabled. It is enabled with the `@inputs`: ``` [remember(root, "@inputs")] ``` **EDIT**: It would only save the resized size **if you have inputs** on the textarea. **EDIT 2**: Fixed width responsiveness (for elements with `width: 100%; max-width: ... ; resize: vertical` where if the width gets lower than its maxed, it would save the width and fix the size without option to resize it back (since it is only `resize: vertical`). It now only saves the resizable direction i.e. height if resize is `vertical` and vice versa. For `both` or normal `textarea` it would save both width and height. Here is the modified plugin: https://perchance.org/t2w8fixecn Here is an example of it: https://perchance.org/5tfbmi0gtc

    4
    4

    Due to the number of similar questions about the AI tools, here is a compiled list of frequently asked questions about the AI tools in Perchance. # [Perchance AI FAQ](https://rentry.org/perchance-ai-faq) Please read it carefully and if you have any questions that isn't mentioned there, you can comment here.

    5
    0