cross-posted from: https://lemmy.world/post/31788764

I’m curious about how DuckAI is able to stores chat conversations.

How is it able to store my conversation for over a month?

Please see the cross-post as it is updated.

  • HelloRoot@lemy.lol
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    1
    ·
    edit-2
    18 hours ago

    I guess my question should be how they managed to do this without having to create an account and profile users

    cookies

    If it’s a cookie, the history should not be there if you clear your cookies or open it in a private tab.

    The whole chat could be stored “in the browser” but more likely they have it on their server and associate it to you via the cookie. *edit: I guess it is this then according to what afk posted.

    If it is not a cookie, there is also your IP and lots of alternative fingerprinting ways of uniquely identifying your browser (see creepjs ). You could use a VPN and disable js in your browser, but that breaks half the internet nowadays.

      • copygirl@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        5
        ·
        edit-2
        13 hours ago

        There is something called “local storage” that allows applications to store more information than just a cookie. Cookies are sent to the server, while local storage, as the name implies, stays local. (That doesn’t mean that this data can’t be sent to the server via JavaScript.) But local storage makes it possible to make 100% offline applications if the whole webpage is cached / downloaded (assuming no online functionality is required).

        edit: As for deleting this, if I click on the lock icon in the address bar in Firefox, I have an option to clear cookies and site data for the current site. I assume the “site data” is the local storage I mentioned. If you’re using a Chrome based browser, you can probably google how to do the same thing.