- aplicação GTK4/Python para servidores MCP - interface moderna com Libadwaita - suporte OpenAI e OpenRouter - configuração múltiplos MCPs - chat em tempo real 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
80 lines
2.1 KiB
HTML
80 lines
2.1 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Buddie Chat - Assistente AI</title>
|
|
<style>
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
margin: 0;
|
|
padding: 20px;
|
|
background-color: #f5f5f5;
|
|
}
|
|
.chat-container {
|
|
background: white;
|
|
border-radius: 10px;
|
|
height: 500px;
|
|
overflow-y: auto;
|
|
padding: 20px;
|
|
margin-bottom: 20px;
|
|
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
|
|
}
|
|
.message {
|
|
margin: 10px 0;
|
|
padding: 10px;
|
|
border-radius: 8px;
|
|
max-width: 80%;
|
|
}
|
|
.user-message {
|
|
background: #007AFF;
|
|
color: white;
|
|
margin-left: auto;
|
|
text-align: right;
|
|
}
|
|
.assistant-message {
|
|
background: #E9E9EB;
|
|
color: #000;
|
|
}
|
|
.input-container {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
#message-input {
|
|
flex: 1;
|
|
padding: 12px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 6px;
|
|
font-size: 14px;
|
|
}
|
|
#send-button {
|
|
padding: 12px 20px;
|
|
background: #007AFF;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
}
|
|
#send-button:hover {
|
|
background: #005bb5;
|
|
}
|
|
h1 {
|
|
text-align: center;
|
|
color: #333;
|
|
margin-bottom: 30px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<h1>Buddie Chat</h1>
|
|
<div id="chat-container" class="chat-container">
|
|
<div class="message assistant-message">
|
|
Olá! Eu sou o Buddie, seu assistente AI. Como posso ajudá-lo hoje?
|
|
</div>
|
|
</div>
|
|
<div class="input-container">
|
|
<input type="text" id="message-input" placeholder="Digite sua mensagem aqui..." />
|
|
<button id="send-button">Enviar</button>
|
|
</div>
|
|
<script src="renderer.js"></script>
|
|
</body>
|
|
</html> |