screenpipe icon indicating copy to clipboard operation
screenpipe copied to clipboard

store history of searches/conversations

Open m13v opened this issue 1 year ago • 10 comments

hey hey, a lot of users are asking for this simple feature. we need to save the history of the user's searches/conversations, provide a simple UI to navigate the history, and ask for more details in this thread.

/bounty 150

m13v avatar Oct 10 '24 04:10 m13v

💎 $150 bounty • Screenpi.pe

Steps to solve:

  1. Start working: Comment /attempt #456 with your implementation plan
  2. Submit work: Create a pull request including /claim #456 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Thank you for contributing to mediar-ai/screenpipe!

Add a bounty • Share on socials

Attempt Started (GMT+0) Solution
🟢 @ToSeven Oct 19, 2024, 9:01:06 AM WIP
🟢 @onyedikachi-david Oct 30, 2024, 2:02:45 PM #606

algora-pbc[bot] avatar Oct 10 '24 04:10 algora-pbc[bot]

data-wise, how do we manage to handle this?

Will there be an API to call that returns the history from a database, or will the history be held locally? If locally, will we have cloud backups?

trying to learn more about the project so I can land my first contribution

wesleymatosdev avatar Oct 10 '24 04:10 wesleymatosdev

Screenshot 2024-10-10 at 10 38 59 Screenshot 2024-10-10 at 10 38 31

just a simple history of search + AI (like chatgpt has a history of chats)

still need more exploration in terms of right UX

louis030195 avatar Oct 10 '24 17:10 louis030195

to give a bit more context: users search screenpipe and ask follow-up questions from LLM, right now we don't save this interaction at all. we should just store this search/conversation history in the same sqlite database, and show it in the UI just like on the screenshot that Louis has shared. feel free to ask more questions

On Thu, Oct 10, 2024 at 10:40 AM Louis Beaumont @.***> wrote:

Screenshot.2024-10-10.at.10.38.59.png (view on web) https://github.com/user-attachments/assets/88db89f0-17db-47ab-ac4e-f691273f2268 Screenshot.2024-10-10.at.10.38.31.png (view on web) https://github.com/user-attachments/assets/99564f7e-f70b-48d7-9754-3ad66961c362

just a simple history of search + AI (like chatgpt has a history of chats)

still need more exploration in terms of right UX

— Reply to this email directly, view it on GitHub https://github.com/mediar-ai/screenpipe/issues/456#issuecomment-2405696743, or unsubscribe https://github.com/notifications/unsubscribe-auth/AY62CDFRYIHSNWFXWBLEARLZ2232PAVCNFSM6AAAAABPV5BGKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBVGY4TMNZUGM . You are receiving this because you authored the thread.Message ID: @.***>

m13v avatar Oct 10 '24 20:10 m13v

does not have to be sqlite, i'd rather save it in localforage instead since it's unrelated to core codebase

louis030195 avatar Oct 11 '24 01:10 louis030195

i'd rather save it in localforage instead since it's unrelated to core codebase

While I agree that it simplifies it, I have some security concerns. Will we use plaintext/json for this? Is it within the scope of this issue to encrypt or find some way of locking this data to avoid data leakage?

wesleymatosdev avatar Oct 11 '24 03:10 wesleymatosdev

/attempt #456

Options

ToSeven avatar Oct 19 '24 09:10 ToSeven

/attempt #456

Algora profile Completed bounties Tech Active attempts Options
@onyedikachi-david    1 mediar-ai bounty
+ 9 bounties from 4 projects
TypeScript, Python,
JavaScript & more
﹟515
Cancel attempt

onyedikachi-david avatar Oct 30 '24 14:10 onyedikachi-david

💡 @onyedikachi-david submitted a pull request that claims the bounty. You can visit your bounty board to reward.

algora-pbc[bot] avatar Oct 30 '24 14:10 algora-pbc[bot]

🎉🎈 @onyedikachi-david has been awarded $150! 🎈🎊

algora-pbc[bot] avatar Nov 05 '24 17:11 algora-pbc[bot]