{"id":44325883,"url":"https://github.com/zafrem/obsidian-lock-n-find","last_synced_at":"2026-02-11T07:34:50.508Z","repository":{"id":306529418,"uuid":"1013181188","full_name":"zafrem/obsidian-lock-n-find","owner":"zafrem","description":"You quickly locate and lock content within your notes.","archived":false,"fork":false,"pushed_at":"2025-11-10T03:00:41.000Z","size":8952,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-10T05:17:38.792Z","etag":null,"topics":["data-encryption","note-security","obsidian-plugin","pii-detection","privacy-protection","productivity-suite"],"latest_commit_sha":null,"homepage":"https://github.com/zafrem/obsidian-lock-n-find","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zafrem.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-03T13:35:31.000Z","updated_at":"2025-11-10T03:00:44.000Z","dependencies_parsed_at":"2025-07-26T09:02:31.672Z","dependency_job_id":"a99cb1cb-45b3-4858-b558-4556c30a67d2","html_url":"https://github.com/zafrem/obsidian-lock-n-find","commit_stats":null,"previous_names":["zafrem/obsidian-lock-n-find"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/zafrem/obsidian-lock-n-find","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zafrem%2Fobsidian-lock-n-find","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zafrem%2Fobsidian-lock-n-find/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zafrem%2Fobsidian-lock-n-find/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zafrem%2Fobsidian-lock-n-find/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zafrem","download_url":"https://codeload.github.com/zafrem/obsidian-lock-n-find/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zafrem%2Fobsidian-lock-n-find/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29329493,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T06:13:03.264Z","status":"ssl_error","status_checked_at":"2026-02-11T06:12:55.843Z","response_time":97,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-encryption","note-security","obsidian-plugin","pii-detection","privacy-protection","productivity-suite"],"created_at":"2026-02-11T07:34:50.222Z","updated_at":"2026-02-11T07:34:50.495Z","avatar_url":"https://github.com/zafrem.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lock and Find Plugin\n\n## Overview\n\nLock and Find is a plugin for [Obsidian](https://obsidian.md) that helps you quickly locate and lock content within your notes.\n\n**Hint. You protect your data from others...**\n\nThis plugin is built with TypeScript and utilizes the Obsidian plugin API.\n\n## Features\n\n- **Dual Mode Operation**: Switch between automatic PII scanning and manual text search\n- **Drag \u0026 Drop Interface**: Easily select sensitive information by dragging items to the encryption area\n- **Text Selection Support**: Select text directly in your notes and drag it for encryption\n- **Sidebar Integration**: Opens in the left sidebar for easy access while working\n- **Secure Encryption**: Uses modern cryptographic standards to protect your sensitive data\n- **Password Management**: Secure password storage with hashing for repeated use\n- **Real-time Status**: Visual feedback during scanning and encryption operations\n- **Customizable Settings**: Configure PII patterns and plugin behavior\n- **Memory Efficient**: Optimized event handling prevents memory leaks\n\n## Installation\n\n### From Obsidian Community Plugins\n\n1. Open Obsidian Settings\n2. Navigate to Community Plugins and disable Safe Mode\n3. Click Browse and search for \"Lock and Find\"\n4. Install the plugin and enable it\n\n### Manual Installation\n\n1. Download the latest release from the GitHub releases page\n2. Extract the files to your vault's plugin folder: `\u003cvault\u003e/.obsidian/plugins/obsidian-lock-n-find/`\n3. Reload Obsidian\n4. Enable the plugin in the Community Plugins settings\n\n## Demo\n![Demo](./demo/Demo.gif)\n\n## Usage\n\n### Basic Usage\n\n1. Click the Lock and Find icon in the ribbon menu to open the sidebar\n2. Choose between **Scan Mode** (automatic PII detection) or **Search Mode** (manual text search)\n3. In Scan Mode: Click \"Scan Vault\" to automatically detect sensitive information\n4. In Search Mode: Enter your search term and click \"Search\"\n5. Drag and drop items to the encryption area or manually select text from your notes\n6. Click \"Lock Selected\" to encrypt the sensitive information\n\n### Modes\n\n**Scan Mode**: Automatically detects potentially sensitive information using predefined patterns:\n- Personal identification numbers\n- Email addresses\n- Phone numbers\n- Credit card information\n- Custom patterns you define\n\n**Search Mode**: Manually search for specific text strings:\n- Find all instances of specific words or phrases\n- Case-sensitive or case-insensitive search\n- Search across your entire vault\n\n### Encryption \u0026 Decryption\n\n**Encrypt (Lock)**: \n- Drag items from the results list to the drop area\n- Select text in your notes and drag it to the drop area\n- Click \"Lock Selected\" to encrypt all items\n- Password is securely hashed and stored for convenience\n\n**Decrypt (Unlock)**:\n- Click \"Unlock All\" to decrypt all encrypted content in your vault\n- Uses the same password from encryption\n- Processes all markdown files automatically\n\n## Configuration\n\nThe plugin can be configured through the settings tab:\n\n1. Open Obsidian Settings\n2. Navigate to Plugin Options\n3. Select \"Lock and Find\"\n\nAvailable settings include:\n\n- **Case sensitivity**: Toggle case-sensitive searching\n- **Highlight color**: Customize the color used for highlighting matches\n- **Lock duration**: Set how long content remains locked\n- **Search scope**: Configure which parts of your vault are searched\n\n## Network Access Disclosure\n\nThis plugin includes **optional** features that may fetch resources from the internet. These features are **disabled by default** and only activate when explicitly configured by the user:\n\n- **Import patterns from URL**: Allows downloading PII detection patterns from remote JSON files\n- **Sync with GitHub Gist**: Enables synchronization of patterns with GitHub Gists\n- **Auto-update patterns**: Periodically updates patterns from a configured URL\n\nAll network requests are made using Obsidian's built-in `requestUrl` API. The plugin does **not** transmit any of your vault content or personal data to external servers. Network features are only used to download pattern definitions to enhance PII detection capabilities.\n\n## Troubleshooting\n\n### Common Issues\n\n- **Plugin doesn't appear in the ribbon**: Make sure the plugin is enabled in the Community Plugins settings\n- **Search results are not accurate**: Check your search settings and try adjusting the case sensitivity option\n- **Plugin conflicts with other search plugins**: Disable other search plugins temporarily to identify conflicts\n\n### Error Reporting\n\nIf you encounter any bugs or issues:\n\n1. Check the console for error messages (Ctrl+Shift+I)\n2. Visit our [GitHub Issues page](https://github.com/zafrem/obsidian-lock-n-find/issues) to report the problem\n3. Include details about your Obsidian version and operating system\n\n## For Developers\n\n### Development Setup\n\n1. Clone this repository\n2. Make sure your NodeJS is at least v16 (`node --version`)\n3. Run `npm i` or `yarn` to install dependencies\n4. Run `npm run dev` to start compilation in watch mode\n5. Copy the output files to your Obsidian plugins folder or create a symbolic link\n\n### Code Quality\n\nThis project follows modern development practices:\n\n- **Memory Management**: Proper event listener cleanup to prevent memory leaks\n- **Error Handling**: Consistent error logging and user feedback\n- **Constants**: Named constants for timeouts and configuration values\n- **TypeScript**: Full type safety throughout the codebase\n- **ESLint**: Code quality enforcement (`eslint main.ts` or `eslint ./src/`)\n\n## Release Process\n\nFor plugin maintainers, to release a new version:\n\n1. Update `manifest.json` with the new version number and minimum Obsidian version\n2. Update `versions.json` with `\"new-plugin-version\": \"minimum-obsidian-version\"`\n3. Run `npm version [patch|minor|major]` to automatically update version numbers\n4. Create a GitHub release with the exact version number (no 'v' prefix)\n5. Upload `manifest.json`, `main.js`, and `styles.css` as binary attachments\n6. Publish the release\n\n\u003e Note: The `manifest.json` file must be included both in the repository root and in the release.\n\n## Resources\n\n- [Obsidian Plugin API Documentation](https://github.com/obsidianmd/obsidian-api)\n- [Obsidian Plugin Guidelines](https://docs.obsidian.md/Plugins/Releasing/Plugin+guidelines)\n- [Community Plugins](https://obsidian.md/plugins)\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzafrem%2Fobsidian-lock-n-find","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzafrem%2Fobsidian-lock-n-find","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzafrem%2Fobsidian-lock-n-find/lists"}