{% extends "base.html" %} {% block title %}Sources - Context7 Docs{% endblock %} {% block content %}

Git Repository Sources

Add a Git repository, browse its structure, select paths to include, then save and sync.

Add Git Source

{% if sources %}

Configured Sources ({{ sources|length }})

{% for src in sources %}
{{ src.library_id | default('unknown') }}  {{ src.repo_url | default('') }}
Branch: {{ src.branch | default('main') }}  |  Include: {{ src.include_paths | default(['*']) | join(', ') }} {% if src.exclude_paths %}  |  Exclude: {{ src.exclude_paths | join(', ') }} {% endif %}
{% endfor %}
{% else %}

No git sources configured yet.

{% endif %}
{% endblock %} {% block scripts %} {% endblock %}