commit 0cab7b1969ef33e481ff9dacbbd5e8e62cf42744
Author: root <root@hub.scroll.pub>
Date: 2025-01-02 08:28:48 +0000
Subject: Initial commit
diff --git a/body.html b/body.html
new file mode 100644
index 0000000..64c5429
--- /dev/null
+++ b/body.html
@@ -0,0 +1,32 @@
+<header>
+ <nav>
+ <a href="/">Home</a>
+ <a href="/about">About</a>
+ <a href="/archive">Archive</a>
+ </nav>
+ <h1>Tech Thoughts</h1>
+ <p>Exploring the intersection of technology and humanity</p>
+</header>
+
+<main>
+ <article>
+ <h2><a href="/post1">The Future of AI in Everyday Life</a></h2>
+ <p class="meta">Published on March 15, 2023</p>
+ <p>Artificial Intelligence is no longer just a buzzword; it's becoming an integral part of our daily lives. From smart assistants to predictive algorithms, AI is reshaping how we interact with technology...</p>
+ </article>
+
+ <article>
+ <h2><a href="/post2">The Ethics of Data Collection</a></h2>
+ <p class="meta">Published on February 28, 2023</p>
+ <p>In the age of big data, we must consider the ethical implications of data collection. How much information is too much, and who should have access to it?...</p>
+ </article>
+</main>
+
+<footer>
+ <p>Connect with me:</p>
+ <ul>
+ <li><a href="/twitter">Twitter</a></li>
+ <li><a href="/linkedin">LinkedIn</a></li>
+ <li><a href="/github">GitHub</a></li>
+ </ul>
+</footer>
\ No newline at end of file
diff --git a/index.scroll b/index.scroll
new file mode 100644
index 0000000..0e51f2b
--- /dev/null
+++ b/index.scroll
@@ -0,0 +1,8 @@
+buildHtml
+baseUrl https://techthoughts.scroll.pub
+metaTags
+editButton /edit.html
+title Tech Thoughts
+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..1eecf7b
--- /dev/null
+++ b/prompt.json
@@ -0,0 +1,25 @@
+{
+ "id": "65f83f34-e3a5-408f-bc51-03886fd56e3a",
+ "object": "chat.completion",
+ "created": 1735806509,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\ntechthoughts.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://techthoughts.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Tech Thoughts\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <nav>\n <a href=\"/\">Home</a>\n <a href=\"/about\">About</a>\n <a href=\"/archive\">Archive</a>\n </nav>\n <h1>Tech Thoughts</h1>\n <p>Exploring the intersection of technology and humanity</p>\n</header>\n\n<main>\n <article>\n <h2><a href=\"/post1\">The Future of AI in Everyday Life</a></h2>\n <p class=\"meta\">Published on March 15, 2023</p>\n <p>Artificial Intelligence is no longer just a buzzword; it's becoming an integral part of our daily lives. From smart assistants to predictive algorithms, AI is reshaping how we interact with technology...</p>\n </article>\n\n <article>\n <h2><a href=\"/post2\">The Ethics of Data Collection</a></h2>\n <p class=\"meta\">Published on February 28, 2023</p>\n <p>In the age of big data, we must consider the ethical implications of data collection. How much information is too much, and who should have access to it?...</p>\n </article>\n</main>\n\n<footer>\n <p>Connect with me:</p>\n <ul>\n <li><a href=\"/twitter\">Twitter</a></li>\n <li><a href=\"/linkedin\">LinkedIn</a></li>\n <li><a href=\"/github\">GitHub</a></li>\n </ul>\n</footer>\n---style.css---\n:root {\n --primary-color: #1a73e8;\n --secondary-color: #202124;\n --background-color: #ffffff;\n --text-color: #202124;\n --link-color: #1a73e8;\n --link-hover-color: #1557b0;\n --border-color: #e0e0e0;\n --font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif;\n}\n\nbody {\n font-family: var(--font-family);\n line-height: 1.6;\n color: var(--text-color);\n background-color: var(--background-color);\n margin: 0;\n padding: 0;\n}\n\nheader {\n background-color: var(--secondary-color);\n color: var(--background-color);\n padding: 2rem 1rem;\n text-align: center;\n}\n\nheader h1 {\n margin: 0;\n font-size: 2.5rem;\n}\n\nheader p {\n margin: 0.5rem 0 0;\n font-size: 1.1rem;\n}\n\nnav {\n margin-bottom: 1.5rem;\n}\n\nnav a {\n color: var(--background-color);\n text-decoration: none;\n margin: 0 1rem;\n font-weight: 500;\n}\n\nnav a:hover {\n text-decoration: underline;\n}\n\nmain {\n max-width: 800px;\n margin: 2rem auto;\n padding: 0 1rem;\n}\n\narticle {\n margin-bottom: 2rem;\n padding-bottom: 1rem;\n border-bottom: 1px solid var(--border-color);\n}\n\narticle h2 {\n margin: 0 0 0.5rem;\n font-size: 1.8rem;\n}\n\narticle h2 a {\n color: var(--text-color);\n text-decoration: none;\n}\n\narticle h2 a:hover {\n color: var(--link-hover-color);\n}\n\narticle .meta {\n color: #5f6368;\n font-size: 0.9rem;\n margin: 0 0 1rem;\n}\n\nfooter {\n text-align: center;\n padding: 2rem 1rem;\n border-top: 1px solid var(--border-color);\n margin-top: 2rem;\n}\n\nfooter ul {\n list-style: none;\n padding: 0;\n margin: 1rem 0 0;\n}\n\nfooter li {\n display: inline-block;\n margin: 0 1rem;\n}\n\nfooter a {\n color: var(--link-color);\n text-decoration: none;\n}\n\nfooter a:hover {\n text-decoration: underline;\n}\n\n@media (max-width: 600px) {\n header h1 {\n font-size: 2rem;\n }\n\n header p {\n font-size: 1rem;\n }\n\n nav a {\n display: block;\n margin: 0.5rem 0;\n }\n\n article h2 {\n font-size: 1.5rem;\n }\n}\n---script.js---\n// Smooth scroll to anchor links\ndocument.querySelectorAll('a[href^=\"#\"]').forEach(anchor => {\n anchor.addEventListener('click', function (e) {\n e.preventDefault();\n document.querySelector(this.getAttribute('href')).scrollIntoView({\n behavior: 'smooth'\n });\n });\n});\n\n// Add class to header on scroll\nwindow.addEventListener('scroll', function() {\n const header = document.querySelector('header');\n if (window.scrollY > 50) {\n header.classList.add('scrolled');\n } else {\n header.classList.remove('scrolled');\n }\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 258,
+ "completion_tokens": 1180,
+ "total_tokens": 1438,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 258
+ },
+ "system_fingerprint": "fp_f1afce2943"
+}
\ No newline at end of file
diff --git a/readme.scroll b/readme.scroll
new file mode 100644
index 0000000..c3ca982
--- /dev/null
+++ b/readme.scroll
@@ -0,0 +1,2 @@
+# techthoughts.scroll.pub
+Website generated by DeepSeek from prompt: I want to build a tech blog where I can share my thoughts on technology. You can inspire yourself from lethain.com
\ No newline at end of file
diff --git a/script.js b/script.js
new file mode 100644
index 0000000..835d3f6
--- /dev/null
+++ b/script.js
@@ -0,0 +1,19 @@
+// Smooth scroll to anchor links
+document.querySelectorAll('a[href^="#"]').forEach(anchor => {
+ anchor.addEventListener('click', function (e) {
+ e.preventDefault();
+ document.querySelector(this.getAttribute('href')).scrollIntoView({
+ behavior: 'smooth'
+ });
+ });
+});
+
+// Add class to header on scroll
+window.addEventListener('scroll', function() {
+ const header = document.querySelector('header');
+ if (window.scrollY > 50) {
+ header.classList.add('scrolled');
+ } else {
+ header.classList.remove('scrolled');
+ }
+});
\ No newline at end of file
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..acdda51
--- /dev/null
+++ b/style.css
@@ -0,0 +1,129 @@
+:root {
+ --primary-color: #1a73e8;
+ --secondary-color: #202124;
+ --background-color: #ffffff;
+ --text-color: #202124;
+ --link-color: #1a73e8;
+ --link-hover-color: #1557b0;
+ --border-color: #e0e0e0;
+ --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
+}
+
+body {
+ font-family: var(--font-family);
+ line-height: 1.6;
+ color: var(--text-color);
+ background-color: var(--background-color);
+ margin: 0;
+ padding: 0;
+}
+
+header {
+ background-color: var(--secondary-color);
+ color: var(--background-color);
+ padding: 2rem 1rem;
+ text-align: center;
+}
+
+header h1 {
+ margin: 0;
+ font-size: 2.5rem;
+}
+
+header p {
+ margin: 0.5rem 0 0;
+ font-size: 1.1rem;
+}
+
+nav {
+ margin-bottom: 1.5rem;
+}
+
+nav a {
+ color: var(--background-color);
+ text-decoration: none;
+ margin: 0 1rem;
+ font-weight: 500;
+}
+
+nav a:hover {
+ text-decoration: underline;
+}
+
+main {
+ max-width: 800px;
+ margin: 2rem auto;
+ padding: 0 1rem;
+}
+
+article {
+ margin-bottom: 2rem;
+ padding-bottom: 1rem;
+ border-bottom: 1px solid var(--border-color);
+}
+
+article h2 {
+ margin: 0 0 0.5rem;
+ font-size: 1.8rem;
+}
+
+article h2 a {
+ color: var(--text-color);
+ text-decoration: none;
+}
+
+article h2 a:hover {
+ color: var(--link-hover-color);
+}
+
+article .meta {
+ color: #5f6368;
+ font-size: 0.9rem;
+ margin: 0 0 1rem;
+}
+
+footer {
+ text-align: center;
+ padding: 2rem 1rem;
+ border-top: 1px solid var(--border-color);
+ margin-top: 2rem;
+}
+
+footer ul {
+ list-style: none;
+ padding: 0;
+ margin: 1rem 0 0;
+}
+
+footer li {
+ display: inline-block;
+ margin: 0 1rem;
+}
+
+footer a {
+ color: var(--link-color);
+ text-decoration: none;
+}
+
+footer a:hover {
+ text-decoration: underline;
+}
+
+@media (max-width: 600px) {
+ header h1 {
+ font-size: 2rem;
+ }
+
+ header p {
+ font-size: 1rem;
+ }
+
+ nav a {
+ display: block;
+ margin: 0.5rem 0;
+ }
+
+ article h2 {
+ font-size: 1.5rem;
+ }
+}
\ No newline at end of file