Skip to content

Lock each Logseq block in even different password.

License

Notifications You must be signed in to change notification settings

pweibert/logseq-plugin-lock

 
 

Repository files navigation

logseq-plugin-lock

A solution to use Logseq to storage accounts and passwords safely.

Screencast

Features

  • Lock any Logseq block with password.
  • Use different password to lock only if you can remember it.
  • The locked info is short and invisible but still there.
  • Use different icon for different lock for fun.
  • Original data can not be restored on purpose.

Triggers

  1. Via slash command: /lock
  2. Via context menu: Lock
  3. Via shortcut: cmd+shift+l

Encryption design

I use stegcloak to do the encryption job. stegcloak can convert your info to encrypted and invisible chars, so the encrypted string seems to be short.

You can not decrypt your original Logseq block info back, but only unlock the info to clipboard, so you can paste it to where you want to use, may be a website's login panel or a notebook to see what the unlocked info is.

CAUTION

Once locked, your data cannot be restored, it can only be unlocked with your password and placed into the system clipboard. Please make sure that your clipboard is safe. If you forget your password, you will lose your info forever!!!

Licence

MIT

Installation

  1. Make sure you have the latest version of 'node' and 'npm' on your system. You can use nvm to install and manage your node-js versions.
  2. Clone repository with git git clone https://github.com/vipzhicheng/logseq-plugin-lock.git
  3. Navigate into the logseq-plugin-lock folder.
  4. Execute npm install
  5. Execute npm run build
  6. Open logseq and activate the "Developer Mode" in Settings -> Advanced
  7. Under "Plugins" click on "Load unpacked plugin" and choose logseq-plugin-lock/dist directory. That's it!

❤️ Buy me a coffee

If this plugin solve your situation a little bit and you will, you can choose to buy me a coffee via this and this, that means a lot to me.

About

Lock each Logseq block in even different password.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 73.2%
  • HTML 25.0%
  • JavaScript 1.4%
  • CSS 0.4%