commit d29f3f8d7a33c929e5a128558e7b9599c20c4c05
Author: root <root@hub.scroll.pub>
Date: 2024-12-28 05:11:20 +0000
Subject: Initial commit
diff --git a/body.html b/body.html
new file mode 100644
index 0000000..c34e48d
--- /dev/null
+++ b/body.html
@@ -0,0 +1,16 @@
+<header>
+ <h1>SciTechJunkie's Tweets</h1>
+ <p>Stay updated with the latest in science and technology.</p>
+</header>
+<main>
+ <div id="tweet-widget">
+ <a class="twitter-timeline" href="https://twitter.com/SciTechJunkie" data-tweet-limit="10" data-theme="dark" data-chrome="noheader nofooter noborders transparent">Tweets by SciTechJunkie</a>
+ </div>
+</main>
+<footer>
+ <p>Explore the world of science and technology with SciTechJunkie.</p>
+</footer>
+<audio id="music-player" autoplay loop>
+ <source src="who-are-you.mp3" type="audio/mpeg">
+ Your browser does not support the audio element.
+</audio>
\ No newline at end of file
diff --git a/index.scroll b/index.scroll
new file mode 100644
index 0000000..a68e8bc
--- /dev/null
+++ b/index.scroll
@@ -0,0 +1,8 @@
+buildHtml
+baseUrl https://scitweets.scroll.pub
+metaTags
+editButton /edit.html
+title SciTechJunkie's Tweets
+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..66fe3a0
--- /dev/null
+++ b/prompt.json
@@ -0,0 +1,25 @@
+{
+ "id": "286790ae-a3a9-4f3e-9959-ff5c0ac24348",
+ "object": "chat.completion",
+ "created": 1735362670,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\nscitweets.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://scitweets.scroll.pub\nmetaTags\neditButton /edit.html\ntitle SciTechJunkie's Tweets\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <h1>SciTechJunkie's Tweets</h1>\n <p>Stay updated with the latest in science and technology.</p>\n</header>\n<main>\n <div id=\"tweet-widget\">\n <a class=\"twitter-timeline\" href=\"https://twitter.com/SciTechJunkie\" data-tweet-limit=\"10\" data-theme=\"dark\" data-chrome=\"noheader nofooter noborders transparent\">Tweets by SciTechJunkie</a>\n </div>\n</main>\n<footer>\n <p>Explore the world of science and technology with SciTechJunkie.</p>\n</footer>\n<audio id=\"music-player\" autoplay loop>\n <source src=\"who-are-you.mp3\" type=\"audio/mpeg\">\n Your browser does not support the audio element.\n</audio>\n---style.css---\nbody {\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n margin: 0;\n padding: 0;\n background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);\n color: #fff;\n line-height: 1.6;\n}\n\nheader {\n text-align: center;\n padding: 2rem;\n background: rgba(0, 0, 0, 0.7);\n margin-bottom: 2rem;\n}\n\nheader h1 {\n font-size: 2.5rem;\n margin: 0;\n}\n\nheader p {\n font-size: 1.2rem;\n margin: 0.5rem 0 0;\n}\n\nmain {\n padding: 1rem;\n max-width: 800px;\n margin: 0 auto;\n}\n\n#tweet-widget {\n background: rgba(255, 255, 255, 0.1);\n border-radius: 10px;\n padding: 1rem;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n}\n\nfooter {\n text-align: center;\n padding: 1rem;\n background: rgba(0, 0, 0, 0.7);\n margin-top: 2rem;\n}\n\nfooter p {\n margin: 0;\n}\n\naudio {\n display: none;\n}\n\n@media (max-width: 768px) {\n header h1 {\n font-size: 2rem;\n }\n\n header p {\n font-size: 1rem;\n }\n\n main {\n padding: 0.5rem;\n }\n}\n---script.js---\nwindow.onload = function() {\n // Load Twitter widget\n !function(d, s, id) {\n var js, fjs = d.getElementsByTagName(s)[0], p = /^http:/.test(d.location) ? 'http' : 'https';\n if (!d.getElementById(id)) {\n js = d.createElement(s);\n js.id = id;\n js.src = p + \"://platform.twitter.com/widgets.js\";\n fjs.parentNode.insertBefore(js, fjs);\n }\n }(document, \"script\", \"twitter-wjs\");\n\n // Start music player\n document.getElementById('music-player').play();\n};\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 272,
+ "completion_tokens": 774,
+ "total_tokens": 1046,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 272
+ },
+ "system_fingerprint": "fp_f1afce2943"
+}
\ No newline at end of file
diff --git a/readme.scroll b/readme.scroll
new file mode 100644
index 0000000..f2d87a0
--- /dev/null
+++ b/readme.scroll
@@ -0,0 +1,2 @@
+# scitweets.scroll.pub
+Website generated by DeepSeek from prompt: A single page that contains an embedded widget of all @SciTechJunkie's tweets on X.com. Have an invisible music player automatically playing "who are you" by mehro.
\ No newline at end of file
diff --git a/script.js b/script.js
new file mode 100644
index 0000000..f1b14a1
--- /dev/null
+++ b/script.js
@@ -0,0 +1,15 @@
+window.onload = function() {
+ // Load Twitter widget
+ !function(d, s, id) {
+ var js, fjs = d.getElementsByTagName(s)[0], p = /^http:/.test(d.location) ? 'http' : 'https';
+ if (!d.getElementById(id)) {
+ js = d.createElement(s);
+ js.id = id;
+ js.src = p + "://platform.twitter.com/widgets.js";
+ fjs.parentNode.insertBefore(js, fjs);
+ }
+ }(document, "script", "twitter-wjs");
+
+ // Start music player
+ document.getElementById('music-player').play();
+};
\ No newline at end of file
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..1199f23
--- /dev/null
+++ b/style.css
@@ -0,0 +1,67 @@
+body {
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
+ margin: 0;
+ padding: 0;
+ background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
+ color: #fff;
+ line-height: 1.6;
+}
+
+header {
+ text-align: center;
+ padding: 2rem;
+ background: rgba(0, 0, 0, 0.7);
+ margin-bottom: 2rem;
+}
+
+header h1 {
+ font-size: 2.5rem;
+ margin: 0;
+}
+
+header p {
+ font-size: 1.2rem;
+ margin: 0.5rem 0 0;
+}
+
+main {
+ padding: 1rem;
+ max-width: 800px;
+ margin: 0 auto;
+}
+
+#tweet-widget {
+ background: rgba(255, 255, 255, 0.1);
+ border-radius: 10px;
+ padding: 1rem;
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
+}
+
+footer {
+ text-align: center;
+ padding: 1rem;
+ background: rgba(0, 0, 0, 0.7);
+ margin-top: 2rem;
+}
+
+footer p {
+ margin: 0;
+}
+
+audio {
+ display: none;
+}
+
+@media (max-width: 768px) {
+ header h1 {
+ font-size: 2rem;
+ }
+
+ header p {
+ font-size: 1rem;
+ }
+
+ main {
+ padding: 0.5rem;
+ }
+}
\ No newline at end of file