{% extends "base.html" %} {% from "components/help_macros.html" import tooltip, help_panel, help_step, help_tip %} {% block title %}Download Manager{% endblock %} {% block extra_head %} {% endblock %} {% block content %}

Download Manager

{% call help_panel('download-how', 'Using the Download Manager', icon='download', collapsed=true, dismissible=true) %}
{{ help_step(1, "Source Tracking", "Research sessions automatically track all cited sources (PDFs, papers, articles).") }} {{ help_step(2, "Bulk Download", "Select multiple research sessions and download all their PDFs at once.") }} {{ help_step(3, "Text Only Option", "Extract just the text without saving PDFs. Saves storage while keeping content searchable.") }} {{ help_step(4, "Target Collection", "Choose which collection to add downloaded documents to for organized searching.") }}
{{ help_tip("Tip: Use 'Text Only' for initial exploration, then download PDFs for papers you want to keep permanently.") }} {% endcall %}

Library Storage Settings

{% if pdf_storage_mode == 'database' %} {% elif pdf_storage_mode == 'filesystem' %} {% else %} {% endif %}

Text content is always stored in the encrypted database.

{% if shared_library %}

Shared Library Mode: All users share the same library directory.

{% endif %} Configure Library Settings

{{ total_researches }}

Total Research Sessions

{{ total_resources }}

Total Resources

{{ already_downloaded }}

Already Downloaded

{{ available_to_download }}

Available to Download

to
{% for research in research_list %}

{{ research.title or research.query[:80] }}

{{ research.created_at }} {{ research.duration_seconds }}s {{ research.mode|replace('_', ' ')|title }} {% if research.rating %} {{ research.rating }}/5 {% endif %} {% if research.total_cost %} {{ research.total_cost|round(3) }} {% endif %}
{{ research.total_resources }} Total Sources
{{ research.downloadable_count }} PDFs Available
{{ research.downloaded_count }} Downloaded
View Sources ({{ research.total_resources }})
{% for domain, count in research.top_domains[:5] %} {{ domain }} ({{ count }}) {% endfor %}

Sources by Domain

{% for domain, info in research.domains.items() %}
{{ domain }} {{ info.total }} total | {{ info.pdfs }} PDFs | {{ info.downloaded }} downloaded
{% endfor %}

Downloadable PDFs

{% for source in research.pdf_sources[:10] %}
{{ source.document_title|truncate(60) }} {{ source.domain }} {% if source.download_status == 'completed' %} Downloaded {% endif %}
{% endfor %} {% if research.pdf_sources|length > 10 %}
... and {{ research.pdf_sources|length - 10 }} more PDFs
{% endif %}
{% if research.downloaded_count > 0 %} {% endif %}
{% endfor %}
{% if total_pages > 1 %} {% endif %} {% include 'components/storage_mode_modal.html' %}
{% endblock %}