Skip to content

Add Obsidian export, cache-busting, CDN pinning, and review fixes#10

Merged
dmitry-kostin merged 1 commit intomainfrom
feat/gemini-summarize-integration-tests
Feb 20, 2026
Merged

Add Obsidian export, cache-busting, CDN pinning, and review fixes#10
dmitry-kostin merged 1 commit intomainfrom
feat/gemini-summarize-integration-tests

Conversation

@dmitry-kostin
Copy link
Copy Markdown
Owner

@dmitry-kostin dmitry-kostin commented Feb 20, 2026

Summary

  • Obsidian export — one-click export to Obsidian vault via obsidian://new URI scheme with vault config UI, clipboard fallback, and localStorage persistence
  • Static asset cache-bustingmain.py rewrites /static/app.js and /static/style.css URLs with ?v={mtime} stamps
  • CDN pinningmarked library loaded with SRI integrity hash
  • Summary title as markdown heading — prefix changed from "Title\n\n" to "# Title\n\n" in both summarize endpoints
  • save_summary error handling — both summarize and demo_summarize return 500 on save failure
  • Test improvements — remove redundant tmp_path/monkeypatch setup, use AsyncMock for summarize_text, add test_delete_cascades_to_summary, verify mock call args

Stats

8 files changed, ~469 lines added

Test plan

  • poetry run pytest — all unit + endpoint tests pass
  • Manual: export a transcript to Obsidian, verify vault config prompt and URI open
  • Manual: verify static assets reload after code changes (cache-busting)
  • Manual: summarize a transcript, verify # Title heading in summary

🤖 Generated with Claude Code

- Obsidian export via obsidian://new URI + clipboard with vault config UI
- Duration limit toggle (first N minutes) with ffmpeg truncation
- Pin CDN dependencies with SRI hashes for security
- Improve save_summary error handling in API
- Clean up endpoint tests (remove dead code, fix assertions)
- Update CLAUDE.md and README with new feature documentation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@dmitry-kostin dmitry-kostin changed the title Add Gemini support, AI summarization, provider selector, and more Add Obsidian export, cache-busting, CDN pinning, and review fixes Feb 20, 2026
@dmitry-kostin dmitry-kostin merged commit ba30903 into main Feb 20, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant