Changes to searchscroll.pub.scroll.pub

ScrollHub
ScrollHub
8 days ago
Initial commit
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://searchscroll.pub
+ metaTags
+ editButton /edit.html
+ title SearchScroll - Beautiful Search
+ style.css
+
+ header
+ class hero
+ nav
+ div SearchScroll
+ class logo
+ div
+ class nav-links
+ a Images
+ href #images
+ a Videos
+ href #videos
+ a Maps
+ href #maps
+ a News
+ href #news
+ div
+ class hero-content
+ div
+ class search-container
+ div
+ class search-box
+ input
+ type text
+ placeholder Search the web beautifully
+ id search-input
+ button
+ class search-button
+ id search-button
+ svg
+ viewBox 0 0 24 24
+ path d M15.5 14h-.79l-.28-.27a6.5 6.5 0 0 0 1.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 0 0-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 0 0 5.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49L15.5 14zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z
+ p
+ class search-tips
+ Try searching for
+ a beautiful websites
+ href #beautiful-websites
+ ,
+ a modern design
+ href #modern-design
+ , or
+ a search engine
+ href #search-engine
+ main
+ section
+ id features
+ class features
+ h2 Why SearchScroll?
+ div
+ class feature-grid
+ div
+ class feature-card
+ div 🔍
+ class feature-icon
+ h3 Clean Results
+ p No ads, no clutter - just beautiful search results.
+ div
+ class feature-card
+ div 🎨
+ class feature-icon
+ h3 Custom Themes
+ p Personalize your search experience.
+ div
+ class feature-card
+ div ⚡
+ class feature-icon
+ h3 Blazing Fast
+ p Get answers in milliseconds.
+ div
+ class feature-card
+ div 🔒
+ class feature-icon
+ h3 Privacy Focused
+ p We don't track your searches.
+ footer
+ div
+ class footer-content
+ div
+ class footer-links
+ a About
+ href /about
+ a Privacy
+ href /privacy
+ a Terms
+ href /terms
+ a Feedback
+ href /feedback
+ p The beautiful way to search the web.
+
+ script.js
prompt.json
Changed around line 1
+ {
+ "id": "8adeac3a-e864-4f8b-8159-6478a864b5fd",
+ "object": "chat.completion",
+ "created": 1749330396,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "I'll create a Bing-inspired search engine homepage using Scroll. Let's go with \"searchscroll.pub\" as the domain name - short, memorable, and descriptive.\n\n---domain---\nsearchscroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://searchscroll.pub\nmetaTags\neditButton /edit.html\ntitle SearchScroll - Beautiful Search\nstyle.css\n\nheader\n class hero\n nav\n div SearchScroll\n class logo\n div\n class nav-links\n a Images\n href #images\n a Videos\n href #videos\n a Maps\n href #maps\n a News\n href #news\n div\n class hero-content\n div\n class search-container\n div\n class search-box\n input\n type text\n placeholder Search the web beautifully\n id search-input\n button\n class search-button\n id search-button\n svg\n viewBox 0 0 24 24\n path d M15.5 14h-.79l-.28-.27a6.5 6.5 0 0 0 1.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 0 0-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 0 0 5.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49L15.5 14zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z\n p\n class search-tips\n Try searching for \n a beautiful websites\n href #beautiful-websites\n , \n a modern design\n href #modern-design\n , or \n a search engine\n href #search-engine\nmain\n section\n id features\n class features\n h2 Why SearchScroll?\n div\n class feature-grid\n div\n class feature-card\n div 🔍\n class feature-icon\n h3 Clean Results\n p No ads, no clutter - just beautiful search results.\n div\n class feature-card\n div 🎨\n class feature-icon\n h3 Custom Themes\n p Personalize your search experience.\n div\n class feature-card\n div ⚡\n class feature-icon\n h3 Blazing Fast\n p Get answers in milliseconds.\n div\n class feature-card\n div 🔒\n class feature-icon\n h3 Privacy Focused\n p We don't track your searches.\nfooter\n div\n class footer-content\n div\n class footer-links\n a About\n href /about\n a Privacy\n href /privacy\n a Terms\n href /terms\n a Feedback\n href /feedback\n p The beautiful way to search the web.\n\nscript.js\n---style.css---\n:root {\n --primary-color: #0066cc;\n --secondary-color: #f2f2f2;\n --text-color: #333;\n --light-text: #666;\n --border-radius: 24px;\n --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);\n --transition: all 0.3s ease;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: 'Segoe UI', Arial, sans-serif;\n line-height: 1.6;\n color: var(--text-color);\n background-color: #fff;\n min-height: 100vh;\n display: flex;\n flex-direction: column;\n}\n\nheader.hero {\n padding: 1rem 2rem;\n display: flex;\n flex-direction: column;\n align-items: center;\n text-align: center;\n margin-bottom: 2rem;\n}\n\nnav {\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 2rem;\n}\n\n.logo {\n font-size: 1.5rem;\n font-weight: bold;\n color: var(--primary-color);\n}\n\n.nav-links {\n display: flex;\n gap: 1.5rem;\n}\n\n.nav-links a {\n text-decoration: none;\n color: var(--text-color);\n transition: var(--transition);\n}\n\n.nav-links a:hover {\n color: var(--primary-color);\n}\n\n.hero-content {\n max-width: 600px;\n width: 100%;\n}\n\n.search-container {\n position: relative;\n width: 100%;\n margin: 2rem 0;\n}\n\n.search-box {\n display: flex;\n border: 1px solid #dfe1e5;\n border-radius: var(--border-radius);\n padding: 0.5rem 1rem;\n transition: var(--transition);\n}\n\n.search-box:hover, .search-box:focus-within {\n box-shadow: var(--box-shadow);\n border-color: rgba(0, 102, 204, 0.2);\n}\n\n.search-box input {\n flex: 1;\n border: none;\n outline: none;\n font-size: 1rem;\n padding: 0.5rem;\n background: transparent;\n}\n\n.search-button {\n background: none;\n border: none;\n cursor: pointer;\n padding: 0.5rem;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.search-button svg {\n width: 20px;\n height: 20px;\n fill: var(--primary-color);\n}\n\n.search-tips {\n color: var(--light-text);\n font-size: 0.9rem;\n}\n\n.search-tips a {\n color: var(--primary-color);\n text-decoration: none;\n}\n\n.search-tips a:hover {\n text-decoration: underline;\n}\n\n.features {\n padding: 3rem 2rem;\n background-color: var(--secondary-color);\n}\n\n.features h2 {\n text-align: center;\n margin-bottom: 2rem;\n font-size: 1.8rem;\n}\n\n.feature-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n max-width: 1200px;\n margin: 0 auto;\n}\n\n.feature-card {\n background: white;\n padding: 2rem;\n border-radius: var(--border-radius);\n box-shadow: var(--box-shadow);\n text-align: center;\n transition: var(--transition);\n}\n\n.feature-card:hover {\n transform: translateY(-5px);\n}\n\n.feature-icon {\n font-size: 2.5rem;\n margin-bottom: 1rem;\n}\n\n.feature-card h3 {\n margin-bottom: 0.5rem;\n color: var(--primary-color);\n}\n\n.feature-card p {\n color: var(--light-text);\n font-size: 0.9rem;\n}\n\nfooter {\n margin-top: auto;\n padding: 2rem;\n background-color: var(--secondary-color);\n text-align: center;\n}\n\n.footer-content {\n max-width: 1200px;\n margin: 0 auto;\n}\n\n.footer-links {\n display: flex;\n justify-content: center;\n gap: 1.5rem;\n margin-bottom: 1rem;\n}\n\n.footer-links a {\n color: var(--text-color);\n text-decoration: none;\n transition: var(--transition);\n}\n\n.footer-links a:hover {\n color: var(--primary-color);\n}\n\n@media (max-width: 768px) {\n nav {\n flex-direction: column;\n gap: 1rem;\n }\n \n .nav-links {\n flex-wrap: wrap;\n justify-content: center;\n }\n \n .search-box {\n padding: 0.5rem;\n }\n \n .feature-grid {\n grid-template-columns: 1fr;\n }\n \n .footer-links {\n flex-direction: column;\n gap: 0.5rem;\n }\n}\n---script.js---\ndocument.addEventListener('DOMContentLoaded', function() {\n const searchInput = document.getElementById('search-input');\n const searchButton = document.getElementById('search-button');\n \n // Focus the search input on page load\n searchInput.focus();\n \n // Handle search submission\n function handleSearch() {\n const query = searchInput.value.trim();\n if (query) {\n alert(`Searching for: ${query}`);\n // In a real implementation, this would redirect to search results\n // window.location.href = `/search?q=${encodeURIComponent(query)}`;\n }\n }\n \n searchButton.addEventListener('click', handleSearch);\n \n searchInput.addEventListener('keypress', function(e) {\n if (e.key === 'Enter') {\n handleSearch();\n }\n });\n \n // Add animation to search box on focus\n searchInput.addEventListener('focus', function() {\n document.querySelector('.search-box').style.boxShadow = '0 2px 15px rgba(0, 102, 204, 0.2)';\n });\n \n searchInput.addEventListener('blur', function() {\n document.querySelector('.search-box').style.boxShadow = '0 2px 10px rgba(0, 0, 0, 0.1)';\n });\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 718,
+ "completion_tokens": 2162,
+ "total_tokens": 2880,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ },
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 718
+ },
+ "system_fingerprint": "fp_8802369eaa_prod0425fp8"
+ }
readme.scroll
Changed around line 1
+ # searchscroll.pub.scroll.pub
+
+ Prompt: website
+ Agent: deepseek
+ Model: deepseek-chat
+
+ ## User prompt
+ bing.com
+
+ ## System prompt
+ You are an expert web developer. Create a website based on this request: "bing.com"
+
+ 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() {
+ const searchInput = document.getElementById('search-input');
+ const searchButton = document.getElementById('search-button');
+
+ // Focus the search input on page load
+ searchInput.focus();
+
+ // Handle search submission
+ function handleSearch() {
+ const query = searchInput.value.trim();
+ if (query) {
+ alert(`Searching for: ${query}`);
+ // In a real implementation, this would redirect to search results
+ // window.location.href = `/search?q=${encodeURIComponent(query)}`;
+ }
+ }
+
+ searchButton.addEventListener('click', handleSearch);
+
+ searchInput.addEventListener('keypress', function(e) {
+ if (e.key === 'Enter') {
+ handleSearch();
+ }
+ });
+
+ // Add animation to search box on focus
+ searchInput.addEventListener('focus', function() {
+ document.querySelector('.search-box').style.boxShadow = '0 2px 15px rgba(0, 102, 204, 0.2)';
+ });
+
+ searchInput.addEventListener('blur', function() {
+ document.querySelector('.search-box').style.boxShadow = '0 2px 10px rgba(0, 0, 0, 0.1)';
+ });
+ });
style.css
Changed around line 1
+ :root {
+ --primary-color: #0066cc;
+ --secondary-color: #f2f2f2;
+ --text-color: #333;
+ --light-text: #666;
+ --border-radius: 24px;
+ --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
+ --transition: all 0.3s ease;
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: 'Segoe UI', Arial, sans-serif;
+ line-height: 1.6;
+ color: var(--text-color);
+ background-color: #fff;
+ min-height: 100vh;
+ display: flex;
+ flex-direction: column;
+ }
+
+ header.hero {
+ padding: 1rem 2rem;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ text-align: center;
+ margin-bottom: 2rem;
+ }
+
+ nav {
+ width: 100%;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ margin-bottom: 2rem;
+ }
+
+ .logo {
+ font-size: 1.5rem;
+ font-weight: bold;
+ color: var(--primary-color);
+ }
+
+ .nav-links {
+ display: flex;
+ gap: 1.5rem;
+ }
+
+ .nav-links a {
+ text-decoration: none;
+ color: var(--text-color);
+ transition: var(--transition);
+ }
+
+ .nav-links a:hover {
+ color: var(--primary-color);
+ }
+
+ .hero-content {
+ max-width: 600px;
+ width: 100%;
+ }
+
+ .search-container {
+ position: relative;
+ width: 100%;
+ margin: 2rem 0;
+ }
+
+ .search-box {
+ display: flex;
+ border: 1px solid #dfe1e5;
+ border-radius: var(--border-radius);
+ padding: 0.5rem 1rem;
+ transition: var(--transition);
+ }
+
+ .search-box:hover, .search-box:focus-within {
+ box-shadow: var(--box-shadow);
+ border-color: rgba(0, 102, 204, 0.2);
+ }
+
+ .search-box input {
+ flex: 1;
+ border: none;
+ outline: none;
+ font-size: 1rem;
+ padding: 0.5rem;
+ background: transparent;
+ }
+
+ .search-button {
+ background: none;
+ border: none;
+ cursor: pointer;
+ padding: 0.5rem;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ }
+
+ .search-button svg {
+ width: 20px;
+ height: 20px;
+ fill: var(--primary-color);
+ }
+
+ .search-tips {
+ color: var(--light-text);
+ font-size: 0.9rem;
+ }
+
+ .search-tips a {
+ color: var(--primary-color);
+ text-decoration: none;
+ }
+
+ .search-tips a:hover {
+ text-decoration: underline;
+ }
+
+ .features {
+ padding: 3rem 2rem;
+ background-color: var(--secondary-color);
+ }
+
+ .features h2 {
+ text-align: center;
+ margin-bottom: 2rem;
+ font-size: 1.8rem;
+ }
+
+ .feature-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 2rem;
+ max-width: 1200px;
+ margin: 0 auto;
+ }
+
+ .feature-card {
+ background: white;
+ padding: 2rem;
+ border-radius: var(--border-radius);
+ box-shadow: var(--box-shadow);
+ text-align: center;
+ transition: var(--transition);
+ }
+
+ .feature-card:hover {
+ transform: translateY(-5px);
+ }
+
+ .feature-icon {
+ font-size: 2.5rem;
+ margin-bottom: 1rem;
+ }
+
+ .feature-card h3 {
+ margin-bottom: 0.5rem;
+ color: var(--primary-color);
+ }
+
+ .feature-card p {
+ color: var(--light-text);
+ font-size: 0.9rem;
+ }
+
+ footer {
+ margin-top: auto;
+ padding: 2rem;
+ background-color: var(--secondary-color);
+ text-align: center;
+ }
+
+ .footer-content {
+ max-width: 1200px;
+ margin: 0 auto;
+ }
+
+ .footer-links {
+ display: flex;
+ justify-content: center;
+ gap: 1.5rem;
+ margin-bottom: 1rem;
+ }
+
+ .footer-links a {
+ color: var(--text-color);
+ text-decoration: none;
+ transition: var(--transition);
+ }
+
+ .footer-links a:hover {
+ color: var(--primary-color);
+ }
+
+ @media (max-width: 768px) {
+ nav {
+ flex-direction: column;
+ gap: 1rem;
+ }
+
+ .nav-links {
+ flex-wrap: wrap;
+ justify-content: center;
+ }
+
+ .search-box {
+ padding: 0.5rem;
+ }
+
+ .feature-grid {
+ grid-template-columns: 1fr;
+ }
+
+ .footer-links {
+ flex-direction: column;
+ gap: 0.5rem;
+ }
+ }