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

BIN
.github/logo-dark.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

View file

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