stevekrouse / blinknote

fastest way to take a note - chrome extension
MIT License
1 stars 0 forks source link

added largeSync, lzString #18

Closed stevekrouse closed 5 years ago

stevekrouse commented 5 years ago

These libraries are pretty small so I'm not too worried about adding them.

lz-string is popular and stable.

chrome-storage-largeSync is unpopular and the code confuses me but it seems to work well enough and fast enough and it's small enough. I've modified the code a bit to work better both in browser and chrome extension.

Closes #6

I also did some little testing and it seems that the compression is good enough for us to do a really, really niave revision history (#14) simply by saving previous versions of a note as separate copies and then counting on it to shrink it down. (I'm not sure the speed implications of this yet.)

stevekrouse commented 5 years ago

[This is an automated integration to preview this pull request's changes to the website.]

https://rawcdn.githack.com/stevekrouse/blinknote/213d7195dbf332892ec2fad95ddc4206411d4696/index.html