Notes are saved as markdown pages in a Nextcloud collective via the Collectives OCS API (page metadata/creation) and WebDAV (content read/append), following the same npm-workspaces + session-auth architecture as CityTracker. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NvmYFQSMqs2N3q2zUDNTVn
20 lines
534 B
Text
20 lines
534 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
|
|
BOOK_CACHE_TTL_MS=60000
|