{% extends "base.html" %} {% block title %}Download Manager{% endblock %} {% block content %}

Download Manager

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 %}
{% include 'components/storage_mode_modal.html' %}
{% endblock %}