this post was submitted on 29 Nov 2023
1 points (100.0% liked)

Perchance - Create a Random Text Generator

0 readers
1 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 :)

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.

Have fun generating! ⚄︎

founded 1 year ago
MODERATORS
 

I'm trying to use the remember-plugin, but I would like to use it like this generator did as a scratchpad: https://perchance.org/ai-character-generator I want to add it to the Story Outline Generator and Story Writing Helper to keep prompts or story snippets.

scratchpad // Note: the 'remember' option storage is 'based on' this 'scratchpad' name, so if you change that name to something else like 'notepad', people will lose all their saved scratchpad text. But it's safe to change the 'label', below.
  label = 🗒️ Scratchpad
  tip = [t2i.defaultText.scratchpadTip] // this loads the default text, but you can delete it and add your own tip. Just change this line to "tip = You own cool tips."
  type = paragraph
  remember = true // <-- the text that the user inputs will be remembered so it's still there even if they close/refresh the page
  width = min(750px, 100%)
  height = 30vh
  takesUpFullRow = true
  foldToggleState = hidden // or 'shown' if you want it to start shown, or delete this line if you don't want it to be show-able/hide-able
  visible() =>
    return Number(localStorage.generateClickCount) > 1; // so the scratchpad only shows up after they've clicked generate a couple of times (to reduce confusion/clutter for newbies)
  examples
    [t2i.defaultText.scratchpadPlaceholder]
no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here