Viggo Meesters98 downloadsList the newest files added to the vault, including attachments that have never been opened.
Newest Files is a local Obsidian plugin that lists the newest files added to the vault, including attachments and other non-Markdown files that have never been opened.
newest-files-view.app.vault.getFiles() so Markdown files and attachments are part of the same list.data.json.workspace.openFile() behavior.For files created while the plugin is active, the first-seen timestamp is recorded from the live create event. Existing files need a backfill value because Obsidian cannot reconstruct the historical moment they were added to the vault. Backfilled entries use either the file created timestamp or modified timestamp, depending on the setting.
This means:
HH:mm column.md pdf png xlsx..trash/ or node_modules/.npm install
npm run build
npm run sync:test-vault
npm run lint
npm run typecheck
npm test
npm run smoke:cdp
npm run community:check
The generated main.js, manifest.json and styles.css are the files Obsidian loads from the plugin folder.
Use the sync command to build and copy the runtime artifacts to the Windows-local test vault only:
npm run sync:test-vault
Default target:
/mnt/c/Users/viggo/github/obsidian-test-vault/.obsidian/plugins/newest-files
The command copies only:
main.jsmanifest.jsonstyles.cssSafety boundaries:
Syncthing/vault.obsidian-test-vault/.obsidian/plugins/newest-files.Optional dry run / explicit target:
npm run sync:test-vault -- --dry-run
npm run sync:test-vault -- --target /mnt/c/Users/viggo/github/obsidian-test-vault/.obsidian/plugins/newest-files
Use this route to prove the plugin through Obsidian's real Electron UI instead of only proving that the process is open. It targets the Windows-local test vault only: C:\Users\viggo\github\obsidian-test-vault.
powershell.exe -NoProfile -Command 'Start-Process "$env:LOCALAPPDATA\Programs\Obsidian\Obsidian.exe" -ArgumentList "--remote-debugging-port=9222","obsidian://open?vault=obsidian-test-vault"'
npm run smoke:cdp
When run from WSL, the script automatically delegates to Windows Node so it can reach Obsidian's Windows-local 127.0.0.1:9222 CDP listener.
The smoke attaches to 127.0.0.1:9222 and verifies:
obsidian-test-vault is the open vault.newest-files is loaded.newest-files:open-newest-files-view is registered.The script writes JSON evidence to stdout and saves a screenshot to /tmp/newest-files-cdp-smoke-*.png by default. Override with:
npm run smoke:cdp -- --port 9223 --screenshot /tmp/newest-files-smoke.png
Before submitting or publishing a community release:
npm run lint
npm run typecheck
npm test
npm run build
npm run sync:test-vault
npm run smoke:cdp
npm run community:check
GitHub release assets must include exactly the Obsidian runtime files:
main.jsmanifest.jsonstyles.cssThe release tag must match manifest.json.version.