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] save which window is focused #683

Open
louis030195 opened this issue Nov 14, 2024 · 7 comments
Open

[feature] save which window is focused #683

louis030195 opened this issue Nov 14, 2024 · 7 comments
Labels
💎 Bounty enhancement New feature or request

Comments

@louis030195
Copy link
Collaborator

image
  • save in db a boolean active or not
  • use it in search api
  • add filter to the UI

for OCR at least

i'm not sure we have a good way yet to track which window is focused, to experiment

@louis030195 louis030195 added the enhancement New feature or request label Nov 14, 2024
Copy link

linear bot commented Nov 14, 2024

@louis030195
Copy link
Collaborator Author

/bounty 80

Copy link

algora-pbc bot commented Nov 14, 2024

💎 $80 bounty • Screenpi.pe

Steps to solve:

  1. Start working: Comment /attempt #683 with your implementation plan
  2. Submit work: Create a pull request including /claim #683 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 bountyShare on socials

Attempt Started (GMT+0) Solution
🟢 @EzraEllette Nov 16, 2024, 6:34:28 AM #691

@EzraEllette
Copy link
Contributor

How should active window be defined?

Also, I use a lot of different windows so it may be useful to select windows that were active during the time period as well.

@EzraEllette
Copy link
Contributor

EzraEllette commented Nov 16, 2024

/attempt #683

Algora profile Completed bounties Tech Active attempts Options
@EzraEllette 10 mediar-ai bounties
Rust, TypeScript,
JavaScript & more
Cancel attempt

@Csaba8472
Copy link
Contributor

I'd use this to determine which window is active: https://github.com/sindresorhus/get-windows

In my opinion, if you only query active window's context you won't lose much, because most probably at some point you will make all window you use active so screenpipe can get data from them. On the other hand, right now, I have 28 open windows so I can't search or process with AI anything because it's just too much data.

@EzraEllette EzraEllette mentioned this issue Nov 16, 2024
4 tasks
Copy link

algora-pbc bot commented Nov 16, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💎 Bounty enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants