Replace pip install command with link to Gitea install guide

The package isn't on PyPI yet, so link to the Gitea README which
has multiple installation options (pip from git, Docker, 60-second setup).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
rob 2026-01-01 04:41:49 -04:00
parent 02842e4287
commit c1eb425457
1 changed files with 11 additions and 32 deletions

View File

@ -19,23 +19,17 @@
Provider-agnostic and composable for ultimate flexibility. Provider-agnostic and composable for ultimate flexibility.
</p> </p>
<!-- Install Command --> <!-- Install Link -->
<div class="mt-10 max-w-xl mx-auto"> <div class="mt-10">
<div class="flex items-center bg-gray-100 rounded-lg p-4 group"> <a href="https://gitea.brrd.tech/rob/SmartTools#installation"
<span class="text-gray-600 mr-2 select-none" aria-hidden="true">$</span> target="_blank"
<code id="install-command" class="flex-1 text-gray-800 font-mono text-sm md:text-base text-left">pip install smarttools && smarttools init</code> rel="noopener"
<button type="button" class="inline-flex items-center gap-2 text-indigo-600 hover:text-indigo-800 font-medium transition-colors">
onclick="copyInstallCommand()" <svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
class="ml-4 p-2 text-gray-400 hover:text-gray-600 transition-colors" <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"/>
aria-label="Copy install command"> </svg>
<svg id="copy-icon" class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24"> View Installation Options (pip, Docker, 60-second setup)
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"/> </a>
</svg>
<svg id="check-icon" class="w-5 h-5 hidden text-green-500" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/>
</svg>
</button>
</div>
</div> </div>
<!-- CTAs --> <!-- CTAs -->
@ -203,19 +197,4 @@
</section> </section>
{% endif %} {% endif %}
<script>
function copyInstallCommand() {
const command = 'pip install smarttools && smarttools init';
navigator.clipboard.writeText(command).then(() => {
const copyIcon = document.getElementById('copy-icon');
const checkIcon = document.getElementById('check-icon');
copyIcon.classList.add('hidden');
checkIcon.classList.remove('hidden');
setTimeout(() => {
copyIcon.classList.remove('hidden');
checkIcon.classList.add('hidden');
}, 2000);
});
}
</script>
{% endblock %} {% endblock %}