Changes to chirp2.scroll.pub

root
root
14 days ago
Initial commit
body.html
Changed around line 1
+
+
+

Chirp

+
+
+
+
+
+
+
+
+
+
+
+ User Avatar
+
+

JohnDoe

+

@johndoe

+
+
+
+

Just had the best coffee ever! ☕ #CoffeeLover #MorningRoutine

+
+
+
+
+
+
+
+
+
+
+ User Avatar
+
+

JaneSmith

+

@janesmith

+
+
+
+

Exploring the city today! 🌆 #Travel #Adventure

+
+
+
+
+
+
+
+
+
+
+
+

Trending Now

+
    +
    +
    +
    +
    +
    +
    +
    +
    +

    Chirp - Connect with the world, one chirp at a time.

    +
    +
    index.scroll
    Changed around line 1
    + buildHtml
    + baseUrl https://chirp.scroll.pub
    + metaTags
    + editButton /edit.html
    + title Chirp - Your Microblogging Haven
    + style.css
    + body.html
    + script.js
    prompt.json
    Changed around line 1
    + {
    + "id": "ad95b690-40d1-42eb-bd82-9d1f9944c4d9",
    + "object": "chat.completion",
    + "created": 1736320775,
    + "model": "deepseek-chat",
    + "choices": [
    + {
    + "index": 0,
    + "message": {
    + "role": "assistant",
    + "content": "---domain---\nchirp.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://chirp.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Chirp - Your Microblogging Haven\nstyle.css\nbody.html\nscript.js\n---body.html---\n
    \n
    \n

    Chirp

    \n \n \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n \"User\n
    \n

    JohnDoe

    \n

    @johndoe

    \n
    \n
    \n
    \n

    Just had the best coffee ever! ☕ #CoffeeLover #MorningRoutine

    \n
    \n
    \n \n \n \n
    \n
    \n\n
    \n
    \n \"User\n
    \n

    JaneSmith

    \n

    @janesmith

    \n
    \n
    \n
    \n

    Exploring the city today! 🌆 #Travel #Adventure

    \n
    \n
    \n \n \n \n
    \n
    \n
    \n\n \n
    \n
    \n\n
    \n
    \n

    Chirp - Connect with the world, one chirp at a time.

    \n
    \n
    \n---style.css---\n:root {\n --primary-color: #1da1f2;\n --secondary-color: #14171a;\n --background-color: #f5f8fa;\n --text-color: #14171a;\n --border-color: #e1e8ed;\n}\n\nbody {\n font-family: Arial, sans-serif;\n margin: 0;\n padding: 0;\n background-color: var(--background-color);\n color: var(--text-color);\n}\n\n.container {\n max-width: 1200px;\n margin: 0 auto;\n padding: 0 20px;\n}\n\n.header {\n background-color: var(--primary-color);\n color: white;\n padding: 20px 0;\n}\n\n.header .logo {\n font-size: 24px;\n font-weight: bold;\n}\n\n.header .nav {\n display: flex;\n gap: 20px;\n}\n\n.header .nav-link {\n color: white;\n text-decoration: none;\n}\n\n.header .btn-post {\n background-color: white;\n color: var(--primary-color);\n border: none;\n padding: 10px 20px;\n border-radius: 20px;\n cursor: pointer;\n}\n\n.main {\n display: flex;\n gap: 20px;\n padding: 20px 0;\n}\n\n.feed {\n flex: 3;\n}\n\n.sidebar {\n flex: 1;\n}\n\n.chirp {\n background-color: white;\n border: 1px solid var(--border-color);\n border-radius: 10px;\n padding: 20px;\n margin-bottom: 20px;\n}\n\n.chirp-header {\n display: flex;\n align-items: center;\n margin-bottom: 15px;\n}\n\n.avatar {\n width: 50px;\n height: 50px;\n border-radius: 50%;\n margin-right: 10px;\n}\n\n.user-info {\n display: flex;\n flex-direction: column;\n}\n\n.username {\n font-size: 18px;\n font-weight: bold;\n}\n\n.handle {\n font-size: 14px;\n color: #657786;\n}\n\n.chirp-content {\n font-size: 16px;\n margin-bottom: 15px;\n}\n\n.chirp-footer {\n display: flex;\n gap: 15px;\n}\n\n.btn-like, .btn-reply, .btn-share {\n background: none;\n border: none;\n cursor: pointer;\n font-size: 16px;\n}\n\n.trending {\n background-color: white;\n border: 1px solid var(--border-color);\n border-radius: 10px;\n padding: 20px;\n}\n\n.trending h3 {\n margin-bottom: 15px;\n}\n\n.hashtag {\n color: var(--primary-color);\n text-decoration: none;\n}\n\n.footer {\n text-align: center;\n padding: 20px 0;\n background-color: var(--secondary-color);\n color: white;\n}\n\n@media (max-width: 768px) {\n .main {\n flex-direction: column;\n }\n\n .header .nav {\n flex-direction: column;\n gap: 10px;\n }\n\n .header .btn-post {\n width: 100%;\n }\n}\n---script.js---\ndocument.addEventListener('DOMContentLoaded', function() {\n const chirpFooterButtons = document.querySelectorAll('.chirp-footer button');\n\n chirpFooterButtons.forEach(button => {\n button.addEventListener('click', function() {\n alert(`You clicked on ${this.textContent.trim()}`);\n });\n });\n\n const btnPost = document.querySelector('.btn-post');\n btnPost.addEventListener('click', function() {\n alert('Post a new Chirp!');\n });\n});\n---end---"
    + },
    + "logprobs": null,
    + "finish_reason": "stop"
    + }
    + ],
    + "usage": {
    + "prompt_tokens": 287,
    + "completion_tokens": 1541,
    + "total_tokens": 1828,
    + "prompt_cache_hit_tokens": 0,
    + "prompt_cache_miss_tokens": 287
    + },
    + "system_fingerprint": "fp_3a5770e1b4"
    + }
    readme.scroll
    Changed around line 1
    + # chirp2.scroll.pub
    +
    + website generated by DeepSeek from prompt: To make a Twitter-like website, it needs to be interactive, with a high UI experience, creative, feature-rich, displaying user avatars and hashtags, user-posted content in an infomercial style, and the whole thing is a sight to behold.
    script.js
    Changed around line 1
    + document.addEventListener('DOMContentLoaded', function() {
    + const chirpFooterButtons = document.querySelectorAll('.chirp-footer button');
    +
    + chirpFooterButtons.forEach(button => {
    + button.addEventListener('click', function() {
    + alert(`You clicked on ${this.textContent.trim()}`);
    + });
    + });
    +
    + const btnPost = document.querySelector('.btn-post');
    + btnPost.addEventListener('click', function() {
    + alert('Post a new Chirp!');
    + });
    + });
    style.css
    Changed around line 1
    + :root {
    + --primary-color: #1da1f2;
    + --secondary-color: #14171a;
    + --background-color: #f5f8fa;
    + --text-color: #14171a;
    + --border-color: #e1e8ed;
    + }
    +
    + body {
    + font-family: Arial, sans-serif;
    + margin: 0;
    + padding: 0;
    + background-color: var(--background-color);
    + color: var(--text-color);
    + }
    +
    + .container {
    + max-width: 1200px;
    + margin: 0 auto;
    + padding: 0 20px;
    + }
    +
    + .header {
    + background-color: var(--primary-color);
    + color: white;
    + padding: 20px 0;
    + }
    +
    + .header .logo {
    + font-size: 24px;
    + font-weight: bold;
    + }
    +
    + .header .nav {
    + display: flex;
    + gap: 20px;
    + }
    +
    + .header .nav-link {
    + color: white;
    + text-decoration: none;
    + }
    +
    + .header .btn-post {
    + background-color: white;
    + color: var(--primary-color);
    + border: none;
    + padding: 10px 20px;
    + border-radius: 20px;
    + cursor: pointer;
    + }
    +
    + .main {
    + display: flex;
    + gap: 20px;
    + padding: 20px 0;
    + }
    +
    + .feed {
    + flex: 3;
    + }
    +
    + .sidebar {
    + flex: 1;
    + }
    +
    + .chirp {
    + background-color: white;
    + border: 1px solid var(--border-color);
    + border-radius: 10px;
    + padding: 20px;
    + margin-bottom: 20px;
    + }
    +
    + .chirp-header {
    + display: flex;
    + align-items: center;
    + margin-bottom: 15px;
    + }
    +
    + .avatar {
    + width: 50px;
    + height: 50px;
    + border-radius: 50%;
    + margin-right: 10px;
    + }
    +
    + .user-info {
    + display: flex;
    + flex-direction: column;
    + }
    +
    + .username {
    + font-size: 18px;
    + font-weight: bold;
    + }
    +
    + .handle {
    + font-size: 14px;
    + color: #657786;
    + }
    +
    + .chirp-content {
    + font-size: 16px;
    + margin-bottom: 15px;
    + }
    +
    + .chirp-footer {
    + display: flex;
    + gap: 15px;
    + }
    +
    + .btn-like, .btn-reply, .btn-share {
    + background: none;
    + border: none;
    + cursor: pointer;
    + font-size: 16px;
    + }
    +
    + .trending {
    + background-color: white;
    + border: 1px solid var(--border-color);
    + border-radius: 10px;
    + padding: 20px;
    + }
    +
    + .trending h3 {
    + margin-bottom: 15px;
    + }
    +
    + .hashtag {
    + color: var(--primary-color);
    + text-decoration: none;
    + }
    +
    + .footer {
    + text-align: center;
    + padding: 20px 0;
    + background-color: var(--secondary-color);
    + color: white;
    + }
    +
    + @media (max-width: 768px) {
    + .main {
    + flex-direction: column;
    + }
    +
    + .header .nav {
    + flex-direction: column;
    + gap: 10px;
    + }
    +
    + .header .btn-post {
    + width: 100%;
    + }
    + }