docs: fix logo dark-mode visibility and add FastAPI/SSE to architecture diagram

- Add white logo variant at .github/logo-dark.png using <picture> tag
  with prefers-color-scheme media query
- Update mermaid diagram to show Vue<->FastAPI REST+SSE connection
  and bidirectional API<->DB relationship

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Justin Visser 2026-02-27 10:58:30 +01:00
parent 92395b2b4b
commit 1b15cc22ab
2 changed files with 12 additions and 6 deletions

View file

@ -1,6 +1,10 @@
<div align="center">
<img src="frontend/public/scholar_logo.png" alt="Scholarr" width="120" />
<picture>
<source media="(prefers-color-scheme: dark)" srcset=".github/logo-dark.png" />
<source media="(prefers-color-scheme: light)" srcset="frontend/public/scholar_logo.png" />
<img src="frontend/public/scholar_logo.png" alt="Scholarr" width="120" />
</picture>
# Scholarr
@ -92,13 +96,15 @@ BOOTSTRAP_ADMIN_PASSWORD=<secure-password>
```mermaid
graph LR
Scholar[Google Scholar] -->|Scrape HTML| Parser[Parser & Fingerprinting]
Parser -->|Deduplicate| DB[(PostgreSQL)]
Parser -.->|Identify| APIs[arXiv / Crossref / OpenAlex]
APIs --> DB
UI[Vue 3 Dashboard] <-->|REST + SSE| API[FastAPI]
API --> Scheduler[Scheduler]
Scheduler -->|Scrape HTML| Scholar[Google Scholar]
Scholar -->|Parse & Deduplicate| DB[(PostgreSQL)]
Scholar -.->|Identify| Ext[arXiv / Crossref / OpenAlex]
Ext --> DB
DB -->|DOIs| PDF[PDF Resolution]
PDF -->|Unpaywall / arXiv| DB
DB --> UI[Vue 3 Dashboard]
API <--> DB
```
## Tech Stack