{% extends "base.html" %} {% block title %}Research Library{% endblock %} {% block content %}

Research Library

{{ stats.total_pdfs }} PDFs {{ stats.total_size_mb|round(1) }} MB {{ storage_path|truncate(30) }}
Storage Mode: {% if shared_library %} Shared Library {% else %} Private Library {% endif %}
PDF Storage: {% if pdf_storage_mode == 'database' %} {% elif pdf_storage_mode == 'filesystem' %} {% else %} {% endif %}
{% for doc in documents %}
{% if doc.is_arxiv %} arXiv {% elif doc.is_pubmed %} PubMed {% elif doc.file_type == 'pdf' %} {% else %} {% endif %}
{% if doc.has_pdf %} View PDF {% endif %} {% if doc.has_text_db %} View Text {% endif %} {% if doc.has_rag_indexed %} RAG Indexed {% endif %} {% if not doc.has_pdf and not doc.has_text_db %}
Not Downloaded
{% endif %}

{{ doc.document_title or doc.file_name }}

{% if doc.authors %}

{{ doc.authors|join(', ')|truncate(50) }}

{% endif %}
{% endfor %}
{% if not documents %}

No documents in your library yet

{% if not enable_pdf_storage %}

PDF storage is set to Text Only mode.

Choose how to store your research PDFs:

  • Database (Recommended): PDFs encrypted in your personal database. Secure, portable, isolated per-user.
  • Filesystem: Faster for large files, but stored unencrypted on disk.
  • Text Only: Current mode - only extracted text is stored.

Text content is always stored encrypted in your personal database.

{% else %}

Start downloading PDFs from your research to build your library

{% endif %}
{% endif %}

PDF Viewer

Text Viewer

{% include 'components/storage_mode_modal.html' %} {% include "components/delete_confirmation_modal.html" %} {% endblock %}