Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request - Write to DB instead of browser storage #46

Open
colindaly opened this issue Apr 26, 2023 · 5 comments
Open

Feature Request - Write to DB instead of browser storage #46

colindaly opened this issue Apr 26, 2023 · 5 comments

Comments

@colindaly
Copy link

CUrrently only saves prompts and previous chats into the browser storage. It would be great to save the chats and prompts into a DB within Docker so they are remembered when accessing the Docker app across different devices.

@Supernova3339
Copy link
Collaborator

Supernova3339 commented Apr 26, 2023 via email

@ngregrichardson
Copy link

I understand that at https://chatpad.ai/, you want to keep a promise of data being stored locally. However, when I'm self-hosting it I would love to have the option to persist stuff like the API key, chats, and prompts across sessions.

I would love to work on this, if you'd let me. The way I imagine it I'd provide an option in the config to store data in a persistent database within the docker container instead of in the browser.

@Supernova3339
Copy link
Collaborator

Supernova3339 commented May 28, 2023 via email

@PhyberApex
Copy link

Hey @ngregrichardson how is progress on this one? I imagine we would also need authZ(possible multi user?) for this to make sure we don't open up the entered API key for everyone to use.

@enigmanet
Copy link

The ask is more that when you land on the page, you enter the api key. You clear cache cookies and all you have to do that all over again. You have 2-3 VMs, multiply that by how many. Would be nice to have a feature to store api key on the server, or chat history and not have to export -> import into the other browser, or sync among 3-5 other browsers.

p.s.
This is being used on a Unraid / Docker Community App

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants