commit 8ff7817b850f64ed07c9a53bad9fbd11c950a01d
Author: root <root@hub.scroll.pub>
Date: 2024-12-27 18:56:57 +0000
Subject: Initial commit
diff --git a/body.html b/body.html
new file mode 100644
index 0000000..414e552
--- /dev/null
+++ b/body.html
@@ -0,0 +1,20 @@
+<header>
+ <h1>Star Name Sorter</h1>
+ <p>Sort your favorite star names alphabetically with ease!</p>
+</header>
+
+<main>
+ <section>
+ <textarea id="starNames" placeholder="Enter star names, one per line..."></textarea>
+ <button id="sortButton">Sort Names</button>
+ </section>
+
+ <section>
+ <h2>Sorted Star Names</h2>
+ <div id="sortedNames"></div>
+ </section>
+</main>
+
+<footer>
+ <p>Enjoy exploring the stars!</p>
+</footer>
\ No newline at end of file
diff --git a/index.scroll b/index.scroll
new file mode 100644
index 0000000..9677122
--- /dev/null
+++ b/index.scroll
@@ -0,0 +1,8 @@
+buildHtml
+baseUrl https://starnamesorter.scroll.pub
+metaTags
+editButton /edit.html
+title Star Name Sorter
+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..842ac73
--- /dev/null
+++ b/prompt.json
@@ -0,0 +1,25 @@
+{
+ "id": "f61570fa-7cf6-4471-b099-b1e398cecfbf",
+ "object": "chat.completion",
+ "created": 1735325808,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\nstarnamesorter.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://starnamesorter.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Star Name Sorter\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <h1>Star Name Sorter</h1>\n <p>Sort your favorite star names alphabetically with ease!</p>\n</header>\n\n<main>\n <section>\n <textarea id=\"starNames\" placeholder=\"Enter star names, one per line...\"></textarea>\n <button id=\"sortButton\">Sort Names</button>\n </section>\n\n <section>\n <h2>Sorted Star Names</h2>\n <div id=\"sortedNames\"></div>\n </section>\n</main>\n\n<footer>\n <p>Enjoy exploring the stars!</p>\n</footer>\n---style.css---\nbody {\n font-family: 'Arial', sans-serif;\n background-color: #0a192f;\n color: #ccd6f6;\n margin: 0;\n padding: 20px;\n line-height: 1.6;\n}\n\nheader {\n text-align: center;\n margin-bottom: 40px;\n}\n\nh1 {\n color: #64ffda;\n font-size: 2.5rem;\n}\n\np {\n color: #8892b0;\n}\n\nmain {\n max-width: 800px;\n margin: 0 auto;\n}\n\ntextarea {\n width: 100%;\n height: 150px;\n padding: 10px;\n border: 2px solid #64ffda;\n border-radius: 5px;\n background-color: #112240;\n color: #ccd6f6;\n font-size: 1rem;\n margin-bottom: 20px;\n}\n\nbutton {\n display: block;\n width: 100%;\n padding: 10px;\n background-color: #64ffda;\n color: #0a192f;\n border: none;\n border-radius: 5px;\n font-size: 1rem;\n cursor: pointer;\n transition: background-color 0.3s ease;\n}\n\nbutton:hover {\n background-color: #52e3c2;\n}\n\n#sortedNames {\n background-color: #112240;\n padding: 20px;\n border-radius: 5px;\n margin-top: 20px;\n}\n\nfooter {\n text-align: center;\n margin-top: 40px;\n color: #8892b0;\n}\n\n@media (max-width: 768px) {\n h1 {\n font-size: 2rem;\n }\n\n textarea {\n height: 100px;\n }\n}\n---script.js---\ndocument.getElementById('sortButton').addEventListener('click', function() {\n const starNames = document.getElementById('starNames').value;\n const namesArray = starNames.split('\\n').map(name => name.trim()).filter(name => name.length > 0);\n const sortedNames = namesArray.sort((a, b) => a.localeCompare(b));\n document.getElementById('sortedNames').innerHTML = sortedNames.join('<br>');\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 238,
+ "completion_tokens": 687,
+ "total_tokens": 925,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 238
+ },
+ "system_fingerprint": "fp_f1afce2943"
+}
\ No newline at end of file
diff --git a/readme.scroll b/readme.scroll
new file mode 100644
index 0000000..d656421
--- /dev/null
+++ b/readme.scroll
@@ -0,0 +1,2 @@
+# starnamesorter.scroll.pub
+Website generated by DeepSeek from prompt: Star Name Sorter
\ No newline at end of file
diff --git a/script.js b/script.js
new file mode 100644
index 0000000..2360ba5
--- /dev/null
+++ b/script.js
@@ -0,0 +1,6 @@
+document.getElementById('sortButton').addEventListener('click', function() {
+ const starNames = document.getElementById('starNames').value;
+ const namesArray = starNames.split('\n').map(name => name.trim()).filter(name => name.length > 0);
+ const sortedNames = namesArray.sort((a, b) => a.localeCompare(b));
+ document.getElementById('sortedNames').innerHTML = sortedNames.join('<br>');
+});
\ No newline at end of file
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..f55c388
--- /dev/null
+++ b/style.css
@@ -0,0 +1,79 @@
+body {
+ font-family: 'Arial', sans-serif;
+ background-color: #0a192f;
+ color: #ccd6f6;
+ margin: 0;
+ padding: 20px;
+ line-height: 1.6;
+}
+
+header {
+ text-align: center;
+ margin-bottom: 40px;
+}
+
+h1 {
+ color: #64ffda;
+ font-size: 2.5rem;
+}
+
+p {
+ color: #8892b0;
+}
+
+main {
+ max-width: 800px;
+ margin: 0 auto;
+}
+
+textarea {
+ width: 100%;
+ height: 150px;
+ padding: 10px;
+ border: 2px solid #64ffda;
+ border-radius: 5px;
+ background-color: #112240;
+ color: #ccd6f6;
+ font-size: 1rem;
+ margin-bottom: 20px;
+}
+
+button {
+ display: block;
+ width: 100%;
+ padding: 10px;
+ background-color: #64ffda;
+ color: #0a192f;
+ border: none;
+ border-radius: 5px;
+ font-size: 1rem;
+ cursor: pointer;
+ transition: background-color 0.3s ease;
+}
+
+button:hover {
+ background-color: #52e3c2;
+}
+
+#sortedNames {
+ background-color: #112240;
+ padding: 20px;
+ border-radius: 5px;
+ margin-top: 20px;
+}
+
+footer {
+ text-align: center;
+ margin-top: 40px;
+ color: #8892b0;
+}
+
+@media (max-width: 768px) {
+ h1 {
+ font-size: 2rem;
+ }
+
+ textarea {
+ height: 100px;
+ }
+}
\ No newline at end of file