mirror of
https://github.com/devonthesofa/obsidian-note-status.git
synced 2026-07-22 12:30:24 +00:00
1.1 KiB
1.1 KiB
Installation and Usage
- Install dependencies:
npm install commander
- Install tsx for executing TypeScript directly:
npm install -g tsx
- Run the script:
tsx generate-test-vault.ts --count 40000 --output ./test-vault
Script Options
--countor-c: Number of notes to generate (default: 40000)--outputor-o: Output directory path (default: ./test-vault)--tag-prefixor-t: Status tag prefix (default: obsidian-note-status)--depthor-d: Maximum folder depth (default: 5)--max-per-folderor-m: Maximum files per folder (default: 200)
Performance Considerations
The script creates a realistic vault structure with:
- Multiple folder levels
- Random distribution of notes across folders
- Variety of statuses including single and multiple status notes
- Varied note content length and structure
- Proper frontmatter format matching your plugin's expectations
This will let you test real-world performance issues with your plugin without needing to manually create thousands of notes.