{% extends "base.html" %} {% block title %}{% if page_title %}{{ page_title }} — {% endif %}second-brain{% endblock %} {% block content %}

{{ page_title or "Sources" }} ({{ sources|length }})

Clear
{% if sources %}
{% for source in sources %} {% set status_colors = { 'pending': 'bg-gray-100 text-gray-700', 'pulled': 'bg-blue-100 text-blue-700', 'transcribed': 'bg-yellow-100 text-yellow-700', 'analyzed': 'bg-orange-100 text-orange-700', 'accepted': 'bg-green-100 text-green-700', 'published': 'bg-purple-100 text-purple-700', 'failed': 'bg-red-100 text-red-700' } %} {% set domain_colors = { 'development': 'bg-cyan-50 text-cyan-700 border-cyan-200', 'content': 'bg-pink-50 text-pink-700 border-pink-200', 'business': 'bg-amber-50 text-amber-700 border-amber-200', 'homelab': 'bg-teal-50 text-teal-700 border-teal-200' } %}
{# min-w-0 keeps this flex child shrinkable; break-words / break-all make the text wrap inside instead of forcing the parent wider. #}

{{ source.title }}

{{ source.url }}

{% if source.focus %}

Focus: {{ source.focus }}

{% endif %}
{{ source.status }} {{ source.domain }} {{ source.ingested_at }}
{% endfor %}
{% else %}

No sources found.

Run second-brain add <url> to queue one.

{% endif %} {% endblock %}