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

Unlimited history #22

Open
morozovsk opened this issue May 1, 2020 · 8 comments
Open

Unlimited history #22

morozovsk opened this issue May 1, 2020 · 8 comments

Comments

@morozovsk
Copy link

Hi,

The Windows open-source clipboard manager Ditto has an unique feature which I've yet to find in any Linux clipboard manager: unlimited history.

That is, there can be no limit to the number of stored entries. All entries are saved in an SQLite database, which is indexed with SQLite's excellent full text indexing. This allows incrementally searching through hundreds of thousands of clipboard entries in seconds.

I have found this to be incredibly convenient, as it means that I can always cut instead of delete anything, with the peace of mind that I can always recover it later. It also allows me to quickly paste in code snippets written any amount of time ago.

Would this be a viable feature request for this project?

hluk/CopyQ#510

@dotenorio
Copy link
Owner

It's a good idea but i need to think about unlimited history... We copy many things daytime and it occupies much space on days in a row.

Fine, i'll go think about all this and put updates here.

Thank's!

@morozovsk
Copy link
Author

I use copyQ now. I have just about 10 mb per two month.

@dotenorio
Copy link
Owner

Ok, i'll try to do and test it!

Maybe, i'll do this with cloud database. Maybe...

@morozovsk
Copy link
Author

I wanted to fork your project and use sqlite but it is difficult to build app with sqlite.
So now I try to use Dexie.js . It uses indexed_db (it'is already inside chrome) and I don't have any problem with compilation.
But now I have another problem. I can't create search input in tray menu so I need to create window.

@dotenorio
Copy link
Owner

Nice!!

What's the problem with build?

@dotenorio
Copy link
Owner

About search input. Yes! You need to do new window!

@morozovsk
Copy link
Author

morozovsk commented May 6, 2020

What's the problem with build?

I installed sqlite3. I can use it from test file in the same folder.
But when I try "npm start" or "npm build" I have error like "couldn't find .../.../sqlite3.node"

@dotenorio
Copy link
Owner

Hmmm, understand...

Dexie.js can be the best solution in this case!

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

2 participants