• 4 Posts
  • 23 Comments
Joined 2 years ago
cake
Cake day: July 14th, 2023

help-circle


  • Fair, sorry. I’ve taken it down. You mentioned in a comment in this thread that you’d be okay with me keeping it there if I added credit, which is nice of you. I think your profile (and your original nsfw version of this character) is probably too nsfw to link to unfortunately. A lot of the character cards and character card sites seem to be very heavy on the nsfw content.

    I should probably create all the example characters from scratch with some help from Claude or R1. Some of them have already been almost completely rewritten and have different pics, but even then the original creator still deserves credit for the core idea.

    (That said, I’ll probably attempt to selfishly put off a re-write of the examples for now because at some point in the hopefully-very-near future I’ll finish creating the “database plugin”, and at that point the work to redo the examples would be wasted because the examples will be removed in favor of a community-contributed database of characters, implemented using that plugin.)


  • I think all the weird browser issues are fixed (I think it was to do with bad cache headers resulting in different versions depending on when editor was first loaded in the browser being tested), but please let me know if not.

    If the gen owner CTRL-Zs, it affects everyone’s edit if they are editing in real time.

    Thanks! I think this is fixed now, if not let me know.

    It needs the owner to ‘save’ the generator to create a backup of the old edit.

    I’m not sure what you mean by “create a backup of the old edit” - but to be clear it should be possible for anyone with the collab link to save - i.e. not just the owner. Please let me know if that’s not the case.

    Changes are to the editors are LIVE, but a reload/auto-reload is needed for generator viewers to see the changes in the preview window. If there are changes made by other collaborators and the gen owner tries to refresh the page, there would be a prompt that there are unsaved changes, but the changes are still applied to the page.

    The “unsaved changes” prompt is actually correctly warning you in the sense that you need to save the changes to be sure that they’re not lost, since (currently) if all collaborators leave, then the collab server will (eventually) “garbage collect” the session. I could make it so the session state is persisted to disk - that would perhaps be more intuitive (this may have to wait for now though, so the warning should be taken seriously until it no longer appears).


    Also, in https://perchance.org/collab-testing-01-01 you have Password: hello (or maybe someone else added that), but it’s not possible to manually set an “edit password” (unless I’ve forgotten a feature I added…). It should be a random string of letters/numbers. Note that the edit password is different to the collab password/link. Edit passwords are really only necessary for anon-created generators, which is why you’re not given an edit password for generators that are created when you’re logged in. The “edit password” gives you more permissions than the collab password. For example, the edit password has the capability to disable/enable collab links. Whereas the collab link/password just gives you the ability to edit/save a generator and participate in the live editing session.


  • It’s a good underlying question, despite some misunderstandings¹. Your overall point here is this:

    technically you don’t really have privacy if you’re using someone else’s generator.

    which is correct, and is unfortunately how the internet works in general. I.e. any webpage on the internet can do whatever it wants with the data that you input into it. I must stress that Perchance generators are no different to any other webpage on the internet in this regard.

    (As Vionet20 mentioned, I wrote some related comments here, which includes info about how Perchance sandboxes generators, which means that in terms of privacy from ads/trackers, Perchance is arguably much more private than the average ad-supported website, since ads/trackers aren’t able to see what you input into Perchance generators at all, ever.)

    That said, I’ve just added a feature which allows you to “lock down” a generator so that it can only communicate with external servers that you explicitly specify, so data can’t leave your browser unless you allow it to. Ideally this would be a feature that’s built into web browsers themselves, but until then this is an improvement.

    Here’s the explainer:

    https://perchance.org/custom-content-security-policy?$csp

    TL;DR: Add ?$csp to the end of the generator URL (like you see in the above URL) to prevent it from making requests to external servers, which means your data will always remain in your local browser storage only. But be sure to read the above-linked page to e.g. see how to add exceptions for generators that need it, since the default filter is quite strict.

    Alternate/additional tips to protect your privacy on the web:

    • As mentioned on the above page, you can use a VPN, and you can also make sure you never input personal info (e.g. your real name) into any web page unless you trust it. This is the most simple and practical approach to privacy on the internet.
    • Perchance-specific tip: You can fork a generator to make your own copy, so once you’ve checked it then you can be sure it won’t change. That said, you should also be sure to fork any plugins that it imports (ones that aren’t ‘official’, at least).
    • Mostly Perchance-specific since other websites tend to have minified/obfuscated code: You can copy the code of a generator, and/or things it imports, and ask an AI like ChatGPT/Claude/DeepSeek to analyse it for any data exfiltration.
    • You may be interested in running AI models locally, which is by far the best way privately use AI models - if you can afford the hardware that’s required (i.e. one or more high end gaming GPUs): https://www.reddit.com/r/SillyTavernAI and https://www.reddit.com/r/LocalLLaMA and https://www.reddit.com/r/StableDiffusion/

    @[email protected]

    ¹ Misunderstanding: “ostensibly for logging purposes” - no, rather, it’s because they literally wrote the entire application/experience/game that you’re viewing - it’s not possible for the Perchance platform to shield your prompts from the generator author, since the author is the one writing the code that e.g. pre-processes your prompts (maybe adds styles to it, for example), sends those prompts to the AI, post-processes the results, integrates the resulting data with other plugins, etc. to create the whole experience. This does not mean that generator authors on Perchance automatically see your prompts. By default everything is private. They’d have to specifically write sneaky code to send your prompts to an external server, and that can be blocked by this new ?$csp feature. But to be honest, the best approach to privacy is to just (1) use a VPN and (2) never put personal/sensitive info into random websites on the internet. If you can’t do both of those, then try to use reputable websites/generators, since they presumably have a good track record and also have “more to lose” by screwing over users. They’ll also be under more public scrutiny as a result of being more popular.





  • The issue is before many try and error

    Can you let me know any details about the issue you had? It may have been that the server’s rate limits were too strict. I’ve just edited them to give a bit more leeway, so hopefully that’s solved your issue.

    If there’s multiple dev, they should keep using the link for a long period without nuke the gen?

    Luckily it’s not possible to ‘nuke’ the gen with this feature (even if there remain some early issues with the collab server), since you can always just open the ‘backups’ list and download any older version of your gen. That said, it’s certainly possible that there are ‘annoying’ bugs where you e.g. temporarily get out of sync with other devs in your collab due to stuff like the aforementioned rate-limiting. And again, please do let me know (and give as much info as possible) if you come across any issues like this.









  • Hmm, I thought this was an easy fix, but I just reverted the changes because there are some potential complications and back-compat issues. I think we may have to treat all HTML text as if it were “Perchance item text” for now - at least until an overhaul/V2.

    The crux of the complication is that in Perchance, text can be affected other text around it - like {a}, so my original solution of “just handle bracket escaping, and not \t, \n, etc.” has some subtle edge cases where behavior is different than what you might expect.

    So then I thought, okay, I’ll just do this for text nodes that don’t contain any square/curly blocks. I.e. just remove the backslashes from escaped curly/square brackets, and don’t process stuff like \t. But then we have potentially counter-intuitive discontinuity in behavior. I.e. you take away a square block from some text in the HTML, and you get a bunch of other thing changing (e.g. newlines in a pre element) as a result.

    So I think this needs some more thought… I’ve added to perchance.org/known-bugs for now - if you have any thoughts please let me know. Thanks!