Spaces:
Sleeping
Sleeping
| <html lang="de"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>CofifoAIWO - Combine Files for AI Workflows</title> | |
| <style> | |
| :root { | |
| --primary-color: #3498db; | |
| --secondary-color: #2980b9; | |
| --accent-color: #e74c3c; | |
| --text-color: #333; | |
| --light-bg: #f5f5f5; | |
| --border-color: #ddd; | |
| } | |
| * { | |
| box-sizing: border-box; | |
| margin: 0; | |
| padding: 0; | |
| } | |
| body { | |
| font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
| line-height: 1.6; | |
| color: var(--text-color); | |
| background-color: var(--light-bg); | |
| } | |
| #app { | |
| display: flex; | |
| flex-direction: column; | |
| min-height: 100vh; | |
| } | |
| header { | |
| background-color: #fff; | |
| box-shadow: 0 2px 4px rgba(0,0,0,0.1); | |
| } | |
| .navbar { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| padding: 1rem 2rem; | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| width: 100%; | |
| } | |
| .navbar-brand h1 { | |
| color: var(--primary-color); | |
| font-size: 1.8rem; | |
| margin-bottom: 0.2rem; | |
| } | |
| .subtitle { | |
| font-size: 0.9rem; | |
| color: #666; | |
| } | |
| .navbar-menu { | |
| display: flex; | |
| gap: 1.5rem; | |
| } | |
| .nav-link { | |
| color: var(--text-color); | |
| text-decoration: none; | |
| font-weight: 500; | |
| padding: 0.5rem 0; | |
| border-bottom: 2px solid transparent; | |
| transition: all 0.3s ease; | |
| } | |
| .nav-link:hover, .active { | |
| color: var(--primary-color); | |
| border-bottom: 2px solid var(--primary-color); | |
| } | |
| main { | |
| flex: 1; | |
| padding: 2rem; | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| width: 100%; | |
| } | |
| footer { | |
| background-color: #fff; | |
| text-align: center; | |
| padding: 1rem; | |
| border-top: 1px solid var(--border-color); | |
| margin-top: auto; | |
| } | |
| footer a { | |
| color: var(--primary-color); | |
| text-decoration: none; | |
| } | |
| /* Allgemeine Komponenten-Stile */ | |
| .btn { | |
| display: inline-block; | |
| background-color: var(--primary-color); | |
| color: white; | |
| padding: 0.6rem 1.2rem; | |
| border: none; | |
| border-radius: 4px; | |
| cursor: pointer; | |
| font-size: 1rem; | |
| transition: background-color 0.3s ease; | |
| text-decoration: none; | |
| } | |
| .btn:hover { | |
| background-color: var(--secondary-color); | |
| } | |
| .btn-secondary { | |
| background-color: #95a5a6; | |
| } | |
| .btn-secondary:hover { | |
| background-color: #7f8c8d; | |
| } | |
| .card { | |
| background-color: #fff; | |
| border-radius: 8px; | |
| box-shadow: 0 2px 4px rgba(0,0,0,0.1); | |
| padding: 1.5rem; | |
| margin-bottom: 1.5rem; | |
| } | |
| .description { | |
| font-size: 1.1rem; | |
| margin-bottom: 2rem; | |
| line-height: 1.7; | |
| } | |
| .features { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); | |
| gap: 1.5rem; | |
| margin-bottom: 1rem; | |
| } | |
| .feature { | |
| padding: 1.5rem; | |
| background-color: var(--light-bg); | |
| border-radius: 8px; | |
| border-left: 4px solid var(--primary-color); | |
| } | |
| .feature h3 { | |
| color: var(--primary-color); | |
| margin-bottom: 0.5rem; | |
| } | |
| .quick-links { | |
| display: flex; | |
| gap: 1rem; | |
| margin-top: 1rem; | |
| } | |
| .code-block { | |
| background-color: #f8f9fa; | |
| border-radius: 6px; | |
| padding: 1.5rem; | |
| margin-top: 1rem; | |
| font-family: monospace; | |
| } | |
| .code-block h4 { | |
| color: var(--primary-color); | |
| margin-bottom: 0.5rem; | |
| margin-top: 1rem; | |
| } | |
| .code-block h4:first-child { | |
| margin-top: 0; | |
| } | |
| .code-block pre { | |
| background-color: #2d3748; | |
| color: #e2e8f0; | |
| padding: 1rem; | |
| border-radius: 4px; | |
| overflow-x: auto; | |
| white-space: pre-wrap; | |
| } | |
| @media (max-width: 768px) { | |
| .navbar { | |
| flex-direction: column; | |
| padding: 1rem; | |
| } | |
| .navbar-menu { | |
| margin-top: 1rem; | |
| } | |
| main { | |
| padding: 1rem; | |
| } | |
| .features { | |
| grid-template-columns: 1fr; | |
| } | |
| .quick-links { | |
| flex-direction: column; | |
| } | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div id="app"> | |
| <header> | |
| <nav class="navbar"> | |
| <div class="navbar-brand"> | |
| <h1>CofifoAIWO</h1> | |
| <p class="subtitle">Combine Files for AI Workflows</p> | |
| </div> | |
| <div class="navbar-menu"> | |
| <a href="/" class="nav-link active">Home</a> | |
| <a href="/shortcuts" class="nav-link">Shortcuts</a> | |
| <a href="/browser" class="nav-link">File Browser</a> | |
| </div> | |
| </nav> | |
| </header> | |
| <main> | |
| <div class="home"> | |
| <div class="card"> | |
| <h2>Willkommen bei CofifoAIWO</h2> | |
| <p class="description"> | |
| Combine Files for AI Workflows ist ein Tool, das dir hilft, den Inhalt mehrerer Dateien oder Verzeichnisse | |
| in einer einzigen Textdatei zu kombinieren. Dies ist besonders nützlich für die Arbeit mit KI-Modellen, | |
| bei der du häufig den Inhalt mehrerer Dateien als Eingabe benötigst. | |
| </p> | |
| <div class="features"> | |
| <div class="feature"> | |
| <h3>🗂️ Dateien kombinieren</h3> | |
| <p>Füge den Inhalt mehrerer Dateien oder ganzer Verzeichnisse in einer Textdatei zusammen.</p> | |
| </div> | |
| <div class="feature"> | |
| <h3>🔖 Shortcuts verwenden</h3> | |
| <p>Speichere häufig verwendete Pfade als Shortcuts und greife schnell darauf zu.</p> | |
| </div> | |
| <div class="feature"> | |
| <h3>🌲 Verzeichnisstruktur</h3> | |
| <p>Optional kannst du die Verzeichnisstruktur im tree-Format in die Ausgabe integrieren.</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="card"> | |
| <h2>Schnellstart</h2> | |
| <div class="quick-links"> | |
| <a href="/browser" class="btn"> | |
| Dateien auswählen | |
| </a> | |
| <a href="/shortcuts" class="btn btn-secondary"> | |
| Shortcuts verwalten | |
| </a> | |
| </div> | |
| </div> | |
| <div class="card"> | |
| <h2>Verwendung über CLI</h2> | |
| <p>Du kannst das Tool auch über die Kommandozeile nutzen:</p> | |
| <div class="code-block"> | |
| <h4>Shortcut hinzufügen:</h4> | |
| <pre>python combine_files.py --add my_project /pfad/zum/verzeichnis1 /pfad/zur/datei2</pre> | |
| <h4>Shortcut verwenden:</h4> | |
| <pre>python combine_files.py --use my_project output.txt --tree</pre> | |
| <h4>Shortcuts auflisten:</h4> | |
| <pre>python combine_files.py --list</pre> | |
| <h4>Shortcut entfernen:</h4> | |
| <pre>python combine_files.py --remove my_project</pre> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| <footer> | |
| <p>© 2023 CofifoAIWO - Entwickelt von <a href="https://github.com/ogerly" target="_blank">ogerly</a></p> | |
| </footer> | |
| </div> | |
| </body> | |
| </html> |