70cd3571d1
Introduces the Nebot plugin, including main process logic for chat session management, IPC handlers, and Ollama API integration. Adds a dedicated chat UI with adaptive typing animation, markdown rendering, settings modal, and supporting assets (CSS, HTML, JS, markdown bundle). Includes documentation for model selection and testing instructions.
32 lines
944 B
HTML
32 lines
944 B
HTML
<!DOCTYPE html>
|
||
<html>
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<title>Nebot</title>
|
||
<link rel="stylesheet" href="page.css" />
|
||
<!-- Removed external CDN scripts: libs provided via renderer-preload.js for self-contained plugin -->
|
||
</head>
|
||
<body>
|
||
<div id="nebot-app" class="app">
|
||
<aside class="sidebar">
|
||
<div class="sidebar-header">
|
||
<h1>Nebot</h1>
|
||
<button id="new-chat" title="New Chat">+</button>
|
||
</div>
|
||
<ul id="chat-list" class="chat-list"></ul>
|
||
<div class="sidebar-footer">
|
||
<button id="settings-btn">⚙ Settings</button>
|
||
</div>
|
||
</aside>
|
||
<main class="main">
|
||
<div id="messages" class="messages"></div>
|
||
<form id="composer" class="composer">
|
||
<textarea id="input" placeholder="Ask Nebot anything..." rows="1"></textarea>
|
||
<button id="send" type="submit">Send</button>
|
||
</form>
|
||
</main>
|
||
</div>
|
||
<script src="page.js"></script>
|
||
</body>
|
||
</html>
|