mirror of
https://github.com/uthvah/vaultguard.git
synced 2026-07-22 06:44:51 +00:00
No description
| .editorconfig | ||
| .eslintignore | ||
| .eslintrc | ||
| .gitignore | ||
| .npmrc | ||
| esbuild.config.mjs | ||
| LICENSE | ||
| main.ts | ||
| manifest.json | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| version-bump.mjs | ||
| versions.json | ||
Locksidian
Locksidian is an add-on for the Obsidian note-taking app that adds a password prompt when entering your vault.
Installation
- Download the latest release of the Locksidian add-on from the Releases page.
- In Obsidian, go to Settings > Third-party Plugins.
- Enable Community Plugins if you haven't already.
- Click on Open folder for community plugins.
- Extract the downloaded ZIP file into the community plugins folder.
- Restart Obsidian.
- Locksidian should now appear in the list of installed plugins in the Obsidian settings.
Usage
- Upon launching Obsidian or opening a vault, Locksidian will display a password prompt.
- Enter the correct password to unlock access to the vault.
- If the password is incorrect, Locksidian will display an error message and prompt for the password again.
- Once the correct password is entered, the password prompt will be closed, and you can access your vault.
Configuration
Currently, Locksidian uses a hardcoded password for demonstration purposes. To change the password:
- Open the
main.tsfile in the Locksidian source code. - Locate the line that says
const correctPassword = '123098';. - Replace
'123098'with your desired password.
Development
To build and modify the Locksidian code:
- Clone this repository:
git clone https://github.com/SineCrepusculum/locksidian.git. - Navigate to the project directory:
cd locksidian. - Install the dependencies:
npm install. - Make the desired modifications to the code.
- Build the project:
npm run build. - The compiled
main.jsfile will be generated in thedistdirectory. - Follow the installation steps above to install the modified Locksidian add-on in Obsidian.
Contributing
Contributions to Locksidian are welcome! If you find any bugs or have suggestions for improvements, please open an issue or submit a pull request.
License
This project is licensed under the MIT License.