commit 1d271c1279764e89fc29764a53fbe298c4af346d
Author: root <root@hub.scroll.pub>
Date: 2025-01-02 20:14:33 +0000
Subject: Initial commit
diff --git a/body.html b/body.html
new file mode 100644
index 0000000..32321ec
--- /dev/null
+++ b/body.html
@@ -0,0 +1,22 @@
+<header>
+ <h1>Chat with Clippy</h1>
+ <p>Your friendly virtual assistant is here to help!</p>
+</header>
+
+<main>
+ <div id="chat-container">
+ <div id="chat-box"></div>
+ <div id="input-container">
+ <input type="text" id="user-input" placeholder="Type your message here..." aria-label="Chat input">
+ <button id="send-btn">Send</button>
+ </div>
+ </div>
+
+ <div id="clippy" role="button" aria-label="Open chat">
+ <div id="clippy-icon">📎</div>
+ </div>
+</main>
+
+<footer>
+ <p>ClippyChat - Your helpful assistant</p>
+</footer>
\ No newline at end of file
diff --git a/index.scroll b/index.scroll
new file mode 100644
index 0000000..649883f
--- /dev/null
+++ b/index.scroll
@@ -0,0 +1,8 @@
+buildHtml
+baseUrl https://clippychat.scroll.pub
+metaTags
+editButton /edit.html
+title Chat with Clippy
+style.css
+body.html
+script.js
\ No newline at end of file
diff --git a/prompt.json b/prompt.json
new file mode 100644
index 0000000..3ab4bc0
--- /dev/null
+++ b/prompt.json
@@ -0,0 +1,25 @@
+{
+ "id": "f78a81b4-7892-4fc8-98c3-cf1c45cc4789",
+ "object": "chat.completion",
+ "created": 1735848856,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\nclippychat.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://clippychat.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Chat with Clippy\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <h1>Chat with Clippy</h1>\n <p>Your friendly virtual assistant is here to help!</p>\n</header>\n\n<main>\n <div id=\"chat-container\">\n <div id=\"chat-box\"></div>\n <div id=\"input-container\">\n <input type=\"text\" id=\"user-input\" placeholder=\"Type your message here...\" aria-label=\"Chat input\">\n <button id=\"send-btn\">Send</button>\n </div>\n </div>\n\n <div id=\"clippy\" role=\"button\" aria-label=\"Open chat\">\n <div id=\"clippy-icon\">📎</div>\n </div>\n</main>\n\n<footer>\n <p>ClippyChat - Your helpful assistant</p>\n</footer>\n---style.css---\n:root {\n --primary-color: #4CAF50;\n --secondary-color: #45a049;\n --background-color: #f5f5f5;\n --text-color: #333;\n --chat-bg: #fff;\n --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: 'Segoe UI', sans-serif;\n line-height: 1.6;\n color: var(--text-color);\n background-color: var(--background-color);\n min-height: 100vh;\n display: flex;\n flex-direction: column;\n}\n\nheader {\n background: var(--primary-color);\n color: white;\n padding: 2rem;\n text-align: center;\n}\n\nmain {\n flex: 1;\n padding: 2rem;\n position: relative;\n}\n\n#chat-container {\n position: fixed;\n bottom: 100px;\n right: 20px;\n width: 300px;\n background: var(--chat-bg);\n border-radius: 10px;\n box-shadow: var(--shadow);\n display: none;\n flex-direction: column;\n z-index: 1000;\n}\n\n#chat-box {\n height: 300px;\n overflow-y: auto;\n padding: 1rem;\n border-bottom: 1px solid #eee;\n}\n\n#input-container {\n display: flex;\n padding: 0.5rem;\n}\n\n#user-input {\n flex: 1;\n padding: 0.5rem;\n border: 1px solid #ddd;\n border-radius: 5px;\n margin-right: 0.5rem;\n}\n\n#send-btn {\n background: var(--primary-color);\n color: white;\n border: none;\n padding: 0.5rem 1rem;\n border-radius: 5px;\n cursor: pointer;\n}\n\n#send-btn:hover {\n background: var(--secondary-color);\n}\n\n#clippy {\n position: fixed;\n bottom: 20px;\n right: 20px;\n background: var(--primary-color);\n color: white;\n width: 60px;\n height: 60px;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n box-shadow: var(--shadow);\n z-index: 1000;\n}\n\n#clippy-icon {\n font-size: 2rem;\n}\n\nfooter {\n background: var(--primary-color);\n color: white;\n text-align: center;\n padding: 1rem;\n}\n\n@media (max-width: 768px) {\n #chat-container {\n width: 90%;\n right: 5%;\n bottom: 80px;\n }\n}\n---script.js---\ndocument.addEventListener('DOMContentLoaded', function() {\n const clippy = document.getElementById('clippy');\n const chatContainer = document.getElementById('chat-container');\n const userInput = document.getElementById('user-input');\n const sendBtn = document.getElementById('send-btn');\n const chatBox = document.getElementById('chat-box');\n\n clippy.addEventListener('click', function() {\n chatContainer.style.display = chatContainer.style.display === 'flex' ? 'none' : 'flex';\n });\n\n sendBtn.addEventListener('click', sendMessage);\n userInput.addEventListener('keypress', function(e) {\n if (e.key === 'Enter') sendMessage();\n });\n\n function sendMessage() {\n const message = userInput.value.trim();\n if (message) {\n addMessage('user', message);\n userInput.value = '';\n setTimeout(() => {\n addMessage('clippy', 'Let me think about that...');\n }, 500);\n }\n }\n\n function addMessage(sender, message) {\n const messageDiv = document.createElement('div');\n messageDiv.classList.add('message', sender);\n messageDiv.textContent = message;\n chatBox.appendChild(messageDiv);\n chatBox.scrollTop = chatBox.scrollHeight;\n }\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 251,
+ "completion_tokens": 1139,
+ "total_tokens": 1390,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 251
+ },
+ "system_fingerprint": "fp_f1afce2943"
+}
\ No newline at end of file
diff --git a/readme.scroll b/readme.scroll
new file mode 100644
index 0000000..8e45ab2
--- /dev/null
+++ b/readme.scroll
@@ -0,0 +1,2 @@
+# clippychat.scroll.pub
+Website generated by DeepSeek from prompt: a website iwht a clippy like popup that i can chat to
\ No newline at end of file
diff --git a/script.js b/script.js
new file mode 100644
index 0000000..6689c01
--- /dev/null
+++ b/script.js
@@ -0,0 +1,35 @@
+document.addEventListener('DOMContentLoaded', function() {
+ const clippy = document.getElementById('clippy');
+ const chatContainer = document.getElementById('chat-container');
+ const userInput = document.getElementById('user-input');
+ const sendBtn = document.getElementById('send-btn');
+ const chatBox = document.getElementById('chat-box');
+
+ clippy.addEventListener('click', function() {
+ chatContainer.style.display = chatContainer.style.display === 'flex' ? 'none' : 'flex';
+ });
+
+ sendBtn.addEventListener('click', sendMessage);
+ userInput.addEventListener('keypress', function(e) {
+ if (e.key === 'Enter') sendMessage();
+ });
+
+ function sendMessage() {
+ const message = userInput.value.trim();
+ if (message) {
+ addMessage('user', message);
+ userInput.value = '';
+ setTimeout(() => {
+ addMessage('clippy', 'Let me think about that...');
+ }, 500);
+ }
+ }
+
+ function addMessage(sender, message) {
+ const messageDiv = document.createElement('div');
+ messageDiv.classList.add('message', sender);
+ messageDiv.textContent = message;
+ chatBox.appendChild(messageDiv);
+ chatBox.scrollTop = chatBox.scrollHeight;
+ }
+});
\ No newline at end of file
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..c04f522
--- /dev/null
+++ b/style.css
@@ -0,0 +1,119 @@
+:root {
+ --primary-color: #4CAF50;
+ --secondary-color: #45a049;
+ --background-color: #f5f5f5;
+ --text-color: #333;
+ --chat-bg: #fff;
+ --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
+}
+
+* {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+}
+
+body {
+ font-family: 'Segoe UI', sans-serif;
+ line-height: 1.6;
+ color: var(--text-color);
+ background-color: var(--background-color);
+ min-height: 100vh;
+ display: flex;
+ flex-direction: column;
+}
+
+header {
+ background: var(--primary-color);
+ color: white;
+ padding: 2rem;
+ text-align: center;
+}
+
+main {
+ flex: 1;
+ padding: 2rem;
+ position: relative;
+}
+
+#chat-container {
+ position: fixed;
+ bottom: 100px;
+ right: 20px;
+ width: 300px;
+ background: var(--chat-bg);
+ border-radius: 10px;
+ box-shadow: var(--shadow);
+ display: none;
+ flex-direction: column;
+ z-index: 1000;
+}
+
+#chat-box {
+ height: 300px;
+ overflow-y: auto;
+ padding: 1rem;
+ border-bottom: 1px solid #eee;
+}
+
+#input-container {
+ display: flex;
+ padding: 0.5rem;
+}
+
+#user-input {
+ flex: 1;
+ padding: 0.5rem;
+ border: 1px solid #ddd;
+ border-radius: 5px;
+ margin-right: 0.5rem;
+}
+
+#send-btn {
+ background: var(--primary-color);
+ color: white;
+ border: none;
+ padding: 0.5rem 1rem;
+ border-radius: 5px;
+ cursor: pointer;
+}
+
+#send-btn:hover {
+ background: var(--secondary-color);
+}
+
+#clippy {
+ position: fixed;
+ bottom: 20px;
+ right: 20px;
+ background: var(--primary-color);
+ color: white;
+ width: 60px;
+ height: 60px;
+ border-radius: 50%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ cursor: pointer;
+ box-shadow: var(--shadow);
+ z-index: 1000;
+}
+
+#clippy-icon {
+ font-size: 2rem;
+}
+
+footer {
+ background: var(--primary-color);
+ color: white;
+ text-align: center;
+ padding: 1rem;
+}
+
+@media (max-width: 768px) {
+ #chat-container {
+ width: 90%;
+ right: 5%;
+ bottom: 80px;
+ }
+}
\ No newline at end of file