Changes to makescroll.pub.scroll.pub

root
root
4 days ago
Initial commit
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://makescroll.pub
+ metaTags
+ editButton /edit.html
+ title Create Beautiful Apps with Scroll
+ style.css
+
+ header
+ class hero
+ nav
+ div Scroll
+ class logo
+ div
+ class nav-links
+ a Features
+ href #features
+ a Examples
+ href #examples
+ a Docs
+ href https://scroll.pub/docs
+ a Try Now
+ class cta-button
+ href edit.html
+ div
+ class hero-content
+ h1 Create Apps Beautifully
+ p Build stunning web applications with Scroll's elegant syntax and powerful features
+ a Get Started
+ class primary-button
+ href edit.html
+ main
+ section
+ id features
+ class features
+ h2 Why Scroll for Apps?
+ div
+ class feature-grid
+ div
+ class feature-card
+ div ✨
+ class feature-icon
+ h3 Clean Syntax
+ p Write apps with minimal, readable code that compiles to HTML/CSS/JS
+ div
+ class feature-card
+ div ⚡
+ class feature-icon
+ h3 Blazing Fast
+ p No frameworks, no bloat - just pure optimized output
+ div
+ class feature-card
+ div 🎨
+ class feature-icon
+ h3 Styling Made Simple
+ p Advanced CSS capabilities with elegant syntax
+ div
+ class feature-card
+ div 🔄
+ class feature-icon
+ h3 Live Updates
+ p See changes instantly with built-in hot reloading
+ section
+ id examples
+ class code-demo
+ h2 Example App
+ div
+ class code-container
+ pre
+ class code-example
+ |app
+ header
+ h1 My App
+ main
+ button Click Me
+ id demo-button
+ footer
+ p Made with Scroll
+ div
+ class code-output
+ div
+ class running-app
+ header
+ h1 My App
+ main
+ button Click Me
+ id demo-button
+ footer
+ p Made with Scroll
+ footer
+ div
+ class footer-content
+ div
+ class footer-links
+ a Documentation
+ href https://scroll.pub/docs
+ a Examples
+ href https://scroll.pub/examples
+ a GitHub
+ href https://github.com/breck7/scroll
+ p Scroll is an open source project built by developers worldwide.
+
+ script.js
prompt.json
Changed around line 1
+ {
+ "id": "c6eb996d-0209-4736-843d-67702eef89b0",
+ "object": "chat.completion",
+ "created": 1744788585,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "Here's my suggestion for a clean, professional \"create app\" website:\n\n---domain---\nmakescroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://makescroll.pub\nmetaTags\neditButton /edit.html\ntitle Create Beautiful Apps with Scroll\nstyle.css\n\nheader\n class hero\n nav\n div Scroll\n class logo\n div\n class nav-links\n a Features\n href #features\n a Examples\n href #examples\n a Docs\n href https://scroll.pub/docs\n a Try Now\n class cta-button\n href edit.html\n div\n class hero-content\n h1 Create Apps Beautifully\n p Build stunning web applications with Scroll's elegant syntax and powerful features\n a Get Started\n class primary-button\n href edit.html\nmain\n section\n id features\n class features\n h2 Why Scroll for Apps?\n div\n class feature-grid\n div\n class feature-card\n div ✨\n class feature-icon\n h3 Clean Syntax\n p Write apps with minimal, readable code that compiles to HTML/CSS/JS\n div\n class feature-card\n div ⚡\n class feature-icon\n h3 Blazing Fast\n p No frameworks, no bloat - just pure optimized output\n div\n class feature-card\n div 🎨\n class feature-icon\n h3 Styling Made Simple\n p Advanced CSS capabilities with elegant syntax\n div\n class feature-card\n div 🔄\n class feature-icon\n h3 Live Updates\n p See changes instantly with built-in hot reloading\n section\n id examples\n class code-demo\n h2 Example App\n div\n class code-container\n pre\n class code-example\n |app\n header\n h1 My App\n main\n button Click Me\n id demo-button\n footer\n p Made with Scroll\n div\n class code-output\n div\n class running-app\n header\n h1 My App\n main\n button Click Me\n id demo-button\n footer\n p Made with Scroll\nfooter\n div\n class footer-content\n div\n class footer-links\n a Documentation\n href https://scroll.pub/docs\n a Examples\n href https://scroll.pub/examples\n a GitHub\n href https://github.com/breck7/scroll\n p Scroll is an open source project built by developers worldwide.\n\nscript.js\n---style.css---\n:root {\n --primary: #4f46e5;\n --primary-light: #6366f1;\n --dark: #1e293b;\n --light: #f8fafc;\n --gray: #94a3b8;\n --success: #10b981;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;\n line-height: 1.6;\n color: var(--dark);\n background-color: var(--light);\n}\n\nheader.hero {\n background: linear-gradient(135deg, var(--primary), var(--primary-light));\n color: white;\n padding: 2rem 1rem;\n position: relative;\n overflow: hidden;\n}\n\nheader.hero::before {\n content: '';\n position: absolute;\n top: -50%;\n left: -50%;\n width: 200%;\n height: 200%;\n background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);\n transform: rotate(30deg);\n}\n\nnav {\n display: flex;\n justify-content: space-between;\n align-items: center;\n max-width: 1200px;\n margin: 0 auto;\n padding: 0 1rem;\n}\n\n.logo {\n font-size: 1.5rem;\n font-weight: 700;\n}\n\n.nav-links {\n display: flex;\n gap: 1.5rem;\n align-items: center;\n}\n\n.nav-links a {\n color: white;\n text-decoration: none;\n font-weight: 500;\n transition: opacity 0.2s;\n}\n\n.nav-links a:hover {\n opacity: 0.8;\n}\n\n.cta-button {\n background: white;\n color: var(--primary);\n padding: 0.5rem 1rem;\n border-radius: 0.5rem;\n font-weight: 600;\n}\n\n.hero-content {\n max-width: 1200px;\n margin: 4rem auto;\n padding: 0 1rem;\n text-align: center;\n position: relative;\n}\n\n.hero-content h1 {\n font-size: 3rem;\n margin-bottom: 1rem;\n line-height: 1.2;\n}\n\n.hero-content p {\n font-size: 1.25rem;\n max-width: 700px;\n margin: 0 auto 2rem;\n opacity: 0.9;\n}\n\n.primary-button {\n background: white;\n color: var(--primary);\n padding: 0.75rem 1.5rem;\n border-radius: 0.5rem;\n font-size: 1.1rem;\n font-weight: 600;\n text-decoration: none;\n display: inline-block;\n transition: transform 0.2s, box-shadow 0.2s;\n}\n\n.primary-button:hover {\n transform: translateY(-2px);\n box-shadow: 0 4px 12px rgba(0,0,0,0.1);\n}\n\nmain {\n max-width: 1200px;\n margin: 0 auto;\n padding: 4rem 1rem;\n}\n\nsection {\n margin-bottom: 4rem;\n}\n\nh2 {\n font-size: 2rem;\n margin-bottom: 2rem;\n text-align: center;\n color: var(--dark);\n}\n\n.feature-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n margin-top: 2rem;\n}\n\n.feature-card {\n background: white;\n border-radius: 1rem;\n padding: 2rem;\n box-shadow: 0 4px 6px rgba(0,0,0,0.05);\n transition: transform 0.2s, box-shadow 0.2s;\n}\n\n.feature-card:hover {\n transform: translateY(-5px);\n box-shadow: 0 10px 15px rgba(0,0,0,0.1);\n}\n\n.feature-icon {\n font-size: 2.5rem;\n margin-bottom: 1rem;\n}\n\n.feature-card h3 {\n font-size: 1.25rem;\n margin-bottom: 0.5rem;\n}\n\n.feature-card p {\n color: var(--gray);\n}\n\n.code-demo {\n background: white;\n border-radius: 1rem;\n padding: 2rem;\n box-shadow: 0 4px 6px rgba(0,0,0,0.05);\n}\n\n.code-container {\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: 2rem;\n margin: 2rem 0;\n}\n\n@media (max-width: 768px) {\n .code-container {\n grid-template-columns: 1fr;\n }\n}\n\n.code-example {\n background: #f1f5f9;\n padding: 1.5rem;\n border-radius: 0.5rem;\n overflow-x: auto;\n font-family: 'Courier New', Courier, monospace;\n white-space: pre;\n}\n\n.running-app {\n border: 1px solid #e2e8f0;\n border-radius: 0.5rem;\n padding: 1.5rem;\n min-height: 200px;\n display: flex;\n flex-direction: column;\n}\n\n.running-app header {\n margin-bottom: 1rem;\n}\n\n.running-app button {\n background: var(--primary);\n color: white;\n border: none;\n padding: 0.5rem 1rem;\n border-radius: 0.25rem;\n cursor: pointer;\n align-self: flex-start;\n}\n\n.running-app footer {\n margin-top: auto;\n color: var(--gray);\n font-size: 0.875rem;\n}\n\nfooter {\n background: var(--dark);\n color: white;\n padding: 3rem 1rem;\n}\n\n.footer-content {\n max-width: 1200px;\n margin: 0 auto;\n display: flex;\n flex-direction: column;\n align-items: center;\n text-align: center;\n}\n\n.footer-links {\n display: flex;\n gap: 2rem;\n margin-bottom: 2rem;\n}\n\n.footer-links a {\n color: white;\n text-decoration: none;\n}\n\n.footer-links a:hover {\n text-decoration: underline;\n}\n\nfooter p {\n opacity: 0.8;\n max-width: 600px;\n}\n---script.js---\ndocument.addEventListener('DOMContentLoaded', function() {\n // Demo button functionality\n const demoButton = document.querySelector('#demo-button');\n if (demoButton) {\n demoButton.addEventListener('click', function() {\n this.textContent = 'Clicked!';\n this.style.backgroundColor = '#10b981';\n setTimeout(() => {\n this.textContent = 'Click Me';\n this.style.backgroundColor = '#4f46e5';\n }, 1000);\n });\n }\n\n // Smooth scrolling for anchor links\n document.querySelectorAll('a[href^=\"#\"]').forEach(anchor => {\n anchor.addEventListener('click', function(e) {\n e.preventDefault();\n const targetId = this.getAttribute('href');\n const targetElement = document.querySelector(targetId);\n if (targetElement) {\n targetElement.scrollIntoView({\n behavior: 'smooth'\n });\n }\n });\n });\n\n // Animation for feature cards on scroll\n const featureCards = document.querySelectorAll('.feature-card');\n const observer = new IntersectionObserver((entries) => {\n entries.forEach(entry => {\n if (entry.isIntersecting) {\n entry.target.style.opacity = 1;\n entry.target.style.transform = 'translateY(0)';\n }\n });\n }, { threshold: 0.1 });\n\n featureCards.forEach(card => {\n card.style.opacity = 0;\n card.style.transform = 'translateY(20px)';\n card.style.transition = 'opacity 0.5s ease, transform 0.5s ease';\n observer.observe(card);\n });\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 718,
+ "completion_tokens": 2383,
+ "total_tokens": 3101,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ },
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 718
+ },
+ "system_fingerprint": "fp_3d5141a69a_prod0225"
+ }
readme.scroll
Changed around line 1
+ # makescroll.pub.scroll.pub
+
+ Prompt: website
+ Agent: deepseek
+ Model: deepseek-chat
+
+ ## User prompt
+ create app
+
+ ## System prompt
+ You are an expert web developer. Create a website based on this request: "create app"
+
+ Requirements:
+ - Use only Scroll, CSS, and JavaScript (NO frameworks, NO external dependencies)
+ - Create clean, semantic HTML5
+ - Make it mobile-responsive
+ - Follow modern best practices and accessibility guidelines
+ - Keep it simple but professional
+ - Use only relative links and no external resources
+ - Do not put a copyright symbol or all rights reserved in the footer.
+ - Make it beautiful. Dazzling. Advanced used of CSS.
+
+ As a refresher, for doing the html body, Scroll is a whitespace based language that uses a single indented space to mark a line (aka particle) as a subparticle of a parent line.
+
+ For example:
+
+ header
+ class hero
+ nav
+ div Scroll
+ class logo
+ div
+ class nav-links
+ a Features
+ href #features
+ a Examples
+ href #examples
+ a Edit
+ href edit.html
+ a GitHub
+ class cta-button
+ href https://github.com/breck7/scroll
+ div
+ class hero-content
+ h1 Write Better with Scroll
+ p The extendible markup language that makes source beautiful and compiles to anything
+ a Get Started
+ class primary-button
+ href https://hub.scroll.pub/
+ main
+ section
+ id features
+ class features
+ h2 Why Scroll?
+ div
+ class feature-grid
+ div
+ class feature-card
+ div ⚡
+ class feature-icon
+ h3 Simple Syntax
+ p Like Markdown, but more powerful. No parentheses needed.
+ div
+ class feature-card
+ div 🧩
+ class feature-icon
+ h3 Extendible
+ p Build your own custom parsers.
+ div
+ class feature-card
+ div 🎨
+ class feature-icon
+ h3 Beautiful Output
+ p Create stunning documents with minimal effort.
+ div
+ class feature-card
+ div 🚀
+ class feature-icon
+ h3 Fast & Light
+ p Built on the efficient PPS Stack.
+ section
+ id examples
+ class code-demo
+ h2 See It In Action
+ div
+ class code-container
+ pre
+ class code-example
+ div
+ class code-output
+ footer
+ div
+ class footer-content
+ div
+ class footer-links
+ a Documentation
+ href https://scroll.pub/tutorial.html
+ a Community
+ href https://www.reddit.com/r/WorldWideScroll/
+ a Blog
+ href https://scroll.pub/blog
+ p Started by Breck Yunits. Evolved by a community.
+ https://twitter.com/breckyunits Breck Yunits
+ https://github.com/breck7/scroll/graphs/contributors community
+
+
+ First suggest a short, memorable domain name ending in scroll.pub that represents this website. Then provide the website files. Use this exact format:
+
+ ---domain---
+ (domainscroll.pub here)
+ ---index.scroll---
+ buildHtml
+ baseUrl https://(domainscroll.pub here)
+ metaTags
+ editButton /edit.html
+ title (Title here)
+ style.css
+
+ (body content here. no blank lines please.)
+
+ script.js
+ ---style.css---
+ (CSS content here)
+ ---script.js---
+ (JavaScript content here)
+ ---end---
script.js
Changed around line 1
+ document.addEventListener('DOMContentLoaded', function() {
+ // Demo button functionality
+ const demoButton = document.querySelector('#demo-button');
+ if (demoButton) {
+ demoButton.addEventListener('click', function() {
+ this.textContent = 'Clicked!';
+ this.style.backgroundColor = '#10b981';
+ setTimeout(() => {
+ this.textContent = 'Click Me';
+ this.style.backgroundColor = '#4f46e5';
+ }, 1000);
+ });
+ }
+
+ // Smooth scrolling for anchor links
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
+ anchor.addEventListener('click', function(e) {
+ e.preventDefault();
+ const targetId = this.getAttribute('href');
+ const targetElement = document.querySelector(targetId);
+ if (targetElement) {
+ targetElement.scrollIntoView({
+ behavior: 'smooth'
+ });
+ }
+ });
+ });
+
+ // Animation for feature cards on scroll
+ const featureCards = document.querySelectorAll('.feature-card');
+ const observer = new IntersectionObserver((entries) => {
+ entries.forEach(entry => {
+ if (entry.isIntersecting) {
+ entry.target.style.opacity = 1;
+ entry.target.style.transform = 'translateY(0)';
+ }
+ });
+ }, { threshold: 0.1 });
+
+ featureCards.forEach(card => {
+ card.style.opacity = 0;
+ card.style.transform = 'translateY(20px)';
+ card.style.transition = 'opacity 0.5s ease, transform 0.5s ease';
+ observer.observe(card);
+ });
+ });
style.css
Changed around line 1
+ :root {
+ --primary: #4f46e5;
+ --primary-light: #6366f1;
+ --dark: #1e293b;
+ --light: #f8fafc;
+ --gray: #94a3b8;
+ --success: #10b981;
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
+ line-height: 1.6;
+ color: var(--dark);
+ background-color: var(--light);
+ }
+
+ header.hero {
+ background: linear-gradient(135deg, var(--primary), var(--primary-light));
+ color: white;
+ padding: 2rem 1rem;
+ position: relative;
+ overflow: hidden;
+ }
+
+ header.hero::before {
+ content: '';
+ position: absolute;
+ top: -50%;
+ left: -50%;
+ width: 200%;
+ height: 200%;
+ background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
+ transform: rotate(30deg);
+ }
+
+ nav {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ max-width: 1200px;
+ margin: 0 auto;
+ padding: 0 1rem;
+ }
+
+ .logo {
+ font-size: 1.5rem;
+ font-weight: 700;
+ }
+
+ .nav-links {
+ display: flex;
+ gap: 1.5rem;
+ align-items: center;
+ }
+
+ .nav-links a {
+ color: white;
+ text-decoration: none;
+ font-weight: 500;
+ transition: opacity 0.2s;
+ }
+
+ .nav-links a:hover {
+ opacity: 0.8;
+ }
+
+ .cta-button {
+ background: white;
+ color: var(--primary);
+ padding: 0.5rem 1rem;
+ border-radius: 0.5rem;
+ font-weight: 600;
+ }
+
+ .hero-content {
+ max-width: 1200px;
+ margin: 4rem auto;
+ padding: 0 1rem;
+ text-align: center;
+ position: relative;
+ }
+
+ .hero-content h1 {
+ font-size: 3rem;
+ margin-bottom: 1rem;
+ line-height: 1.2;
+ }
+
+ .hero-content p {
+ font-size: 1.25rem;
+ max-width: 700px;
+ margin: 0 auto 2rem;
+ opacity: 0.9;
+ }
+
+ .primary-button {
+ background: white;
+ color: var(--primary);
+ padding: 0.75rem 1.5rem;
+ border-radius: 0.5rem;
+ font-size: 1.1rem;
+ font-weight: 600;
+ text-decoration: none;
+ display: inline-block;
+ transition: transform 0.2s, box-shadow 0.2s;
+ }
+
+ .primary-button:hover {
+ transform: translateY(-2px);
+ box-shadow: 0 4px 12px rgba(0,0,0,0.1);
+ }
+
+ main {
+ max-width: 1200px;
+ margin: 0 auto;
+ padding: 4rem 1rem;
+ }
+
+ section {
+ margin-bottom: 4rem;
+ }
+
+ h2 {
+ font-size: 2rem;
+ margin-bottom: 2rem;
+ text-align: center;
+ color: var(--dark);
+ }
+
+ .feature-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 2rem;
+ margin-top: 2rem;
+ }
+
+ .feature-card {
+ background: white;
+ border-radius: 1rem;
+ padding: 2rem;
+ box-shadow: 0 4px 6px rgba(0,0,0,0.05);
+ transition: transform 0.2s, box-shadow 0.2s;
+ }
+
+ .feature-card:hover {
+ transform: translateY(-5px);
+ box-shadow: 0 10px 15px rgba(0,0,0,0.1);
+ }
+
+ .feature-icon {
+ font-size: 2.5rem;
+ margin-bottom: 1rem;
+ }
+
+ .feature-card h3 {
+ font-size: 1.25rem;
+ margin-bottom: 0.5rem;
+ }
+
+ .feature-card p {
+ color: var(--gray);
+ }
+
+ .code-demo {
+ background: white;
+ border-radius: 1rem;
+ padding: 2rem;
+ box-shadow: 0 4px 6px rgba(0,0,0,0.05);
+ }
+
+ .code-container {
+ display: grid;
+ grid-template-columns: 1fr 1fr;
+ gap: 2rem;
+ margin: 2rem 0;
+ }
+
+ @media (max-width: 768px) {
+ .code-container {
+ grid-template-columns: 1fr;
+ }
+ }
+
+ .code-example {
+ background: #f1f5f9;
+ padding: 1.5rem;
+ border-radius: 0.5rem;
+ overflow-x: auto;
+ font-family: 'Courier New', Courier, monospace;
+ white-space: pre;
+ }
+
+ .running-app {
+ border: 1px solid #e2e8f0;
+ border-radius: 0.5rem;
+ padding: 1.5rem;
+ min-height: 200px;
+ display: flex;
+ flex-direction: column;
+ }
+
+ .running-app header {
+ margin-bottom: 1rem;
+ }
+
+ .running-app button {
+ background: var(--primary);
+ color: white;
+ border: none;
+ padding: 0.5rem 1rem;
+ border-radius: 0.25rem;
+ cursor: pointer;
+ align-self: flex-start;
+ }
+
+ .running-app footer {
+ margin-top: auto;
+ color: var(--gray);
+ font-size: 0.875rem;
+ }
+
+ footer {
+ background: var(--dark);
+ color: white;
+ padding: 3rem 1rem;
+ }
+
+ .footer-content {
+ max-width: 1200px;
+ margin: 0 auto;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ text-align: center;
+ }
+
+ .footer-links {
+ display: flex;
+ gap: 2rem;
+ margin-bottom: 2rem;
+ }
+
+ .footer-links a {
+ color: white;
+ text-decoration: none;
+ }
+
+ .footer-links a:hover {
+ text-decoration: underline;
+ }
+
+ footer p {
+ opacity: 0.8;
+ max-width: 600px;
+ }