Initial implementation of mcq — document reading queue

Single-binary service: push raw markdown via REST/gRPC API, read rendered
HTML through mobile-friendly web UI. MCIAS auth on all endpoints, SQLite
storage, goldmark rendering with GFM and syntax highlighting.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-28 11:53:26 -07:00
commit bc1627915e
36 changed files with 3773 additions and 0 deletions

22
web/templates/list.html Normal file
View File

@@ -0,0 +1,22 @@
{{define "title"}} — Queue{{end}}
{{define "content"}}
<h2>Reading Queue</h2>
{{if not .Documents}}
<div class="card">
<p>No documents in queue.</p>
</div>
{{else}}
<div class="doc-list">
{{range .Documents}}
<a href="/d/{{.Slug}}" class="doc-item {{if .Read}}doc-read{{end}}">
<div class="doc-title">{{.Title}}</div>
<div class="doc-meta">
<span>{{.PushedBy}}</span>
<span>{{.PushedAt}}</span>
{{if .Read}}<span class="doc-badge read">read</span>{{else}}<span class="doc-badge unread">unread</span>{{end}}
</div>
</a>
{{end}}
</div>
{{end}}
{{end}}