The book/topic field was really always a general-purpose tag, and now that notes can come from more than just books (camera-scanned pages, free text), "book" was misleading in the UI as well as the code. Renames files, functions, variables, the API route (/api/books -> /api/topics), the note payload field, and the cache TTL env var (BOOK_CACHE_TTL_MS -> TOPIC_CACHE_TTL_MS) for consistency. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01C3DGg1pvmvf81zXs4pk1J7
20 lines
535 B
Text
20 lines
535 B
Text
# App login
|
|
SESSION_SECRET=change-me-to-a-long-random-string
|
|
ADMIN_USERNAME=admin
|
|
ADMIN_PASSWORD=change-me
|
|
SECURE_COOKIES=false
|
|
|
|
# Nextcloud connection
|
|
# Generate an app password in Nextcloud: Settings -> Security -> App passwords
|
|
NEXTCLOUD_URL=https://cloud.example.com
|
|
NEXTCLOUD_USERNAME=your-nextcloud-username
|
|
NEXTCLOUD_APP_PASSWORD=your-app-password
|
|
|
|
# Target collective (Nextcloud Collectives app)
|
|
COLLECTIVE_NAME=Your Collective Name
|
|
PARENT_PAGE_TITLE=Reading Notes
|
|
|
|
# Optional
|
|
PORT=3000
|
|
HOST_PORT=3000
|
|
TOPIC_CACHE_TTL_MS=60000
|