Skip to content

switch to using a database for clipboard history#295

Merged
unsecretised merged 2 commits into
masterfrom
clipboard-database
Jul 11, 2026
Merged

switch to using a database for clipboard history#295
unsecretised merged 2 commits into
masterfrom
clipboard-database

Conversation

@unsecretised

@unsecretised unsecretised commented Jul 11, 2026

Copy link
Copy Markdown
Collaborator

Fixes #280
partially ixes #233

How this works:

  • when someone copys something it checks if its exists (if it does, it reorders it inside the UI
  • it stores the item in the db
  • when rustcast starts, it loads up the data (limited to last 300 items) from the db

pending:

  • allow the UI to retrieve and view more history (more than the 300 thats there right now, but I think that can be added later)

@unsecretised unsecretised marked this pull request as ready for review July 11, 2026 06:49

@unsecretised unsecretised left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of the change was in the Cargo.lock because of rust version update

@unsecretised unsecretised merged commit 8c48b21 into master Jul 11, 2026
5 checks passed
@unsecretised unsecretised deleted the clipboard-database branch July 11, 2026 15:43
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

Successfully merging this pull request may close these issues.

[bug] High CPU when image in clipboard

1 participant