Changeset View
Changeset View
Standalone View
Standalone View
swh/web/templates/homepage.html
Show All 18 Lines | |||||
{% block navbar-content %} | {% block navbar-content %} | ||||
<h4>Welcome to the Software Heritage archive</h4> | <h4>Welcome to the Software Heritage archive</h4> | ||||
{% endblock %} | {% endblock %} | ||||
{% block content %} | {% block content %} | ||||
<div class="p-3 swh-background-gray"> | |||||
<h4>Search</h4> | <h4>Search</h4> | ||||
{% include "includes/origin-search-form.html" %} | {% include "includes/origin-search-form.html" %} | ||||
<p class="text-right"> | |||||
... or check our | |||||
<a style="color: #e20026;" href="{% url 'api-1-homepage' %}"> | |||||
<i style="color: #e20026;" class="nav-icon mdi mdi-24px mdi-cogs"></i>Web API | |||||
</a> | |||||
</p> | |||||
</div> | |||||
<div class="p-3"> | |||||
<h4>Overview</h4> | <h4>Overview</h4> | ||||
<p> | <p> | ||||
The long term goal of the Software Heritage initiative is to <strong>collect</strong> | The long term goal of the Software Heritage initiative is to <strong>collect</strong> | ||||
all publicly available software in source code form together with its | all publicly available software in source code form together with its | ||||
development history, replicate it massively to ensure its <strong>preservation</strong>, | development history, replicate it massively to ensure its <strong>preservation</strong>, | ||||
and <strong>share</strong> it with everyone who needs it. | and <strong>share</strong> it with everyone who needs it. | ||||
The Software Heritage archive is growing over time as we crawl new source code from software | The Software Heritage archive is growing over time as we crawl new source code from software | ||||
projects and development forges. | projects and development forges. | ||||
</p> | </p> | ||||
<p> | |||||
<div class="row"> | |||||
<div class="col-md-4 swh-web-app-link" align="center"> | |||||
<a href="{% url 'browse-search' %}"> | |||||
<i style="color: #e20026;" class="nav-icon mdi mdi-48px mdi-bookshelf"></i> | |||||
<h5>Browse</h5> | |||||
<p>Explore the archive using a dedicated web interface.</p> | |||||
</a> | |||||
</div> | </div> | ||||
<div class="col-md-4 swh-web-app-link" align="center"> | |||||
<a href="{% url 'api-1-homepage' %}"> | |||||
<i style="color: #e20026;" class="nav-icon mdi mdi-48px mdi-cogs"></i> | |||||
<h5>Web API</h5> | |||||
<p>Query the archive programmatically using a RESTful API.</p> | |||||
</a> | |||||
</div> | |||||
<div class="col-md-4 swh-web-app-link" align="center"> | |||||
<a href="https://softwareheritage.org/support"> | |||||
<i style="color: #e20026;" class="nav-icon mdi mdi-48px mdi-handshake"></i> | |||||
<h5>Support</h5> | |||||
<p>You can help build the Great Library of Source Code!</p> | |||||
</a> | |||||
</div> | |||||
</div> | |||||
</p> | |||||
<div class="p-3"> | |||||
<h4>Content</h4> | <h4>Content</h4> | ||||
<p> | <p> | ||||
A significant amount of source code has already been ingested in the Software Heritage | A significant amount of source code has already been ingested in the Software Heritage | ||||
archive. It currently includes: | archive. It currently includes: | ||||
</p> | </p> | ||||
<iframe class="swh-coverage-list" src="{% url 'swh-coverage' %}"></iframe> | <iframe class="swh-coverage-list" src="{% url 'swh-coverage' %}"></iframe> | ||||
</div> | |||||
<div class="p-3"> | |||||
<h4>Size</h4> | <h4>Size</h4> | ||||
<p> | <p> | ||||
As of today the archive already contains and keeps safe for you the following amount | As of today the archive already contains and keeps safe for you the following amount | ||||
of objects: | of objects: | ||||
<div class="row"> | <div class="row"> | ||||
<div class="col-md-4" align="center"> | <div class="col-md-4" align="center"> | ||||
Show All 30 Lines | <p> | ||||
<p class="mt-3" style="font-size: 13px"> | <p class="mt-3" style="font-size: 13px"> | ||||
Note: the counters and graphs above are based on heuristics that might not reflect the exact | Note: the counters and graphs above are based on heuristics that might not reflect the exact | ||||
size of the archive. While the long-term trends shown and ballpark figures are reliable, | size of the archive. While the long-term trends shown and ballpark figures are reliable, | ||||
individual point-in-time values might not be. | individual point-in-time values might not be. | ||||
</p> | </p> | ||||
</p> | </p> | ||||
</div> | |||||
<script> | <script> | ||||
swh.webapp.initHomePage(); | swh.webapp.initHomePage(); | ||||
</script> | </script> | ||||
{% endblock %} | {% endblock %} |