Changes to bettersearch.scroll.pub

ScrollHub
ScrollHub
23 days ago
Initial commit
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://bettersearch.scroll.pub
+ metaTags
+ editButton /edit.html
+ title BetterSearch - A Smarter Search Engine
+ style.css
+ header
+ class hero
+ nav
+ div BetterSearch
+ class logo
+ div
+ class nav-links
+ a About
+ href #about
+ a Privacy
+ href #privacy
+ a Settings
+ href settings.html
+ div
+ class hero-content
+ h1 Search Smarter, Not Harder
+ p The search engine that understands what you really mean
+ div
+ class search-container
+ input
+ type search
+ id search-input
+ placeholder "Ask anything..."
+ aria-label "Search query"
+ button
+ id search-button
+ Search
+ main
+ section
+ id about
+ class features
+ h2 Why BetterSearch?
+ div
+ class feature-grid
+ div
+ class feature-card
+ div 🔍
+ class feature-icon
+ h3 Semantic Search
+ p We understand context, not just keywords.
+ div
+ class feature-card
+ div 🛡️
+ class feature-icon
+ h3 Privacy Focused
+ p Your data stays yours. No tracking.
+ div
+ class feature-card
+ div 🎯
+ class feature-icon
+ h3 Precise Results
+ p Get exactly what you need, faster.
+ div
+ class feature-card
+ div 🤖
+ class feature-icon
+ h3 AI Enhanced
+ p Smart summaries and direct answers.
+ section
+ id privacy
+ class privacy
+ h2 Your Privacy Matters
+ p We don't track, profile, or sell your data. Search privately without compromise.
+ div
+ class privacy-badges
+ div
+ class badge
+ No Tracking
+ div
+ class badge
+ No Ads
+ div
+ class badge
+ No Cookies
+ footer
+ div
+ class footer-content
+ div
+ class footer-links
+ a Contact
+ href contact.html
+ a Feedback
+ href feedback.html
+ a Help
+ href help.html
+ p A better way to search the web.
+ script.js
prompt.json
Changed around line 1
+ {
+ "id": "0c28aa1d-6502-4ea5-bdbd-fb4e41a7f311",
+ "object": "chat.completion",
+ "created": 1747083437,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "Here's my suggestion for a better search engine website built with Scroll:\n\n---domain---\nbettersearch.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://bettersearch.scroll.pub\nmetaTags\neditButton /edit.html\ntitle BetterSearch - A Smarter Search Engine\nstyle.css\nheader\n class hero\n nav\n div BetterSearch\n class logo\n div\n class nav-links\n a About\n href #about\n a Privacy\n href #privacy\n a Settings\n href settings.html\n div\n class hero-content\n h1 Search Smarter, Not Harder\n p The search engine that understands what you really mean\n div\n class search-container\n input\n type search\n id search-input\n placeholder \"Ask anything...\"\n aria-label \"Search query\"\n button\n id search-button\n Search\nmain\n section\n id about\n class features\n h2 Why BetterSearch?\n div\n class feature-grid\n div\n class feature-card\n div 🔍\n class feature-icon\n h3 Semantic Search\n p We understand context, not just keywords.\n div\n class feature-card\n div 🛡️\n class feature-icon\n h3 Privacy Focused\n p Your data stays yours. No tracking.\n div\n class feature-card\n div 🎯\n class feature-icon\n h3 Precise Results\n p Get exactly what you need, faster.\n div\n class feature-card\n div 🤖\n class feature-icon\n h3 AI Enhanced\n p Smart summaries and direct answers.\n section\n id privacy\n class privacy\n h2 Your Privacy Matters\n p We don't track, profile, or sell your data. Search privately without compromise.\n div\n class privacy-badges\n div\n class badge\n No Tracking\n div\n class badge\n No Ads\n div\n class badge\n No Cookies\nfooter\n div\n class footer-content\n div\n class footer-links\n a Contact\n href contact.html\n a Feedback\n href feedback.html\n a Help\n href help.html\n p A better way to search the web.\nscript.js\n---style.css---\n:root {\n --primary: #4285f4;\n --secondary: #34a853;\n --accent: #ea4335;\n --light: #f8f9fa;\n --dark: #202124;\n --gray: #5f6368;\n --shadow: 0 4px 6px rgba(0,0,0,0.1);\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;\n}\n\nbody {\n background-color: var(--light);\n color: var(--dark);\n line-height: 1.6;\n}\n\nheader.hero {\n background: linear-gradient(135deg, var(--primary), var(--secondary));\n color: white;\n padding: 2rem 1rem;\n text-align: center;\n}\n\nnav {\n display: flex;\n justify-content: space-between;\n align-items: center;\n max-width: 1200px;\n margin: 0 auto 2rem;\n}\n\n.logo {\n font-size: 1.8rem;\n font-weight: 700;\n}\n\n.nav-links {\n display: flex;\n gap: 1.5rem;\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.hero-content {\n max-width: 800px;\n margin: 0 auto;\n}\n\n.hero-content h1 {\n font-size: 3rem;\n margin-bottom: 1rem;\n}\n\n.hero-content p {\n font-size: 1.2rem;\n margin-bottom: 2rem;\n opacity: 0.9;\n}\n\n.search-container {\n display: flex;\n max-width: 600px;\n margin: 0 auto;\n box-shadow: var(--shadow);\n border-radius: 50px;\n overflow: hidden;\n}\n\n#search-input {\n flex: 1;\n padding: 1rem 1.5rem;\n border: none;\n font-size: 1.1rem;\n outline: none;\n}\n\n#search-button {\n background-color: var(--accent);\n color: white;\n border: none;\n padding: 0 2rem;\n font-weight: 600;\n cursor: pointer;\n transition: background-color 0.2s;\n}\n\n#search-button:hover {\n background-color: #d33426;\n}\n\nmain {\n max-width: 1200px;\n margin: 4rem auto;\n padding: 0 1rem;\n}\n\n.features {\n margin-bottom: 4rem;\n}\n\n.features h2 {\n text-align: center;\n margin-bottom: 3rem;\n font-size: 2rem;\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}\n\n.feature-card {\n background: white;\n padding: 2rem;\n border-radius: 8px;\n box-shadow: var(--shadow);\n text-align: center;\n transition: transform 0.3s;\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: 1rem;\n color: var(--primary);\n}\n\n.privacy {\n text-align: center;\n padding: 3rem 1rem;\n background: white;\n border-radius: 8px;\n box-shadow: var(--shadow);\n margin-bottom: 4rem;\n}\n\n.privacy h2 {\n margin-bottom: 1.5rem;\n}\n\n.privacy p {\n max-width: 700px;\n margin: 0 auto 2rem;\n}\n\n.privacy-badges {\n display: flex;\n justify-content: center;\n gap: 1rem;\n flex-wrap: wrap;\n}\n\n.badge {\n background: var(--light);\n padding: 0.5rem 1rem;\n border-radius: 50px;\n font-weight: 600;\n color: var(--gray);\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}\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\n@media (max-width: 768px) {\n .hero-content h1 {\n font-size: 2.2rem;\n }\n \n .nav-links {\n gap: 1rem;\n }\n \n .feature-grid {\n grid-template-columns: 1fr;\n }\n \n .search-container {\n flex-direction: column;\n border-radius: 8px;\n }\n \n #search-button {\n padding: 1rem;\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 search input on page load\n searchInput.focus();\n \n // Handle search submission\n function performSearch() {\n const query = searchInput.value.trim();\n if (query) {\n // In a real implementation, this would submit to a search backend\n alert(`Searching for: ${query}\\n\\nThis is a demo. In a real implementation, this would show search results.`);\n }\n }\n \n // Click handler for search button\n searchButton.addEventListener('click', performSearch);\n \n // Enter key handler for search input\n searchInput.addEventListener('keypress', function(e) {\n if (e.key === 'Enter') {\n performSearch();\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 if (targetId !== '#') {\n document.querySelector(targetId).scrollIntoView({\n behavior: 'smooth'\n });\n }\n });\n });\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 727,
+ "completion_tokens": 1952,
+ "total_tokens": 2679,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ },
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 727
+ },
+ "system_fingerprint": "fp_8802369eaa_prod0425fp8"
+ }
readme.scroll
Changed around line 1
+ # bettersearch.scroll.pub
+
+ Prompt: website
+ Agent: deepseek
+ Model: deepseek-chat
+
+ ## User prompt
+ i want a website that a better search engine than google
+
+ ## System prompt
+ You are an expert web developer. Create a website based on this request: "i want a website that a better search engine than google"
+
+ 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 search input on page load
+ searchInput.focus();
+
+ // Handle search submission
+ function performSearch() {
+ const query = searchInput.value.trim();
+ if (query) {
+ // In a real implementation, this would submit to a search backend
+ alert(`Searching for: ${query}\n\nThis is a demo. In a real implementation, this would show search results.`);
+ }
+ }
+
+ // Click handler for search button
+ searchButton.addEventListener('click', performSearch);
+
+ // Enter key handler for search input
+ searchInput.addEventListener('keypress', function(e) {
+ if (e.key === 'Enter') {
+ performSearch();
+ }
+ });
+
+ // Smooth scrolling for anchor links
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
+ anchor.addEventListener('click', function(e) {
+ e.preventDefault();
+ const targetId = this.getAttribute('href');
+ if (targetId !== '#') {
+ document.querySelector(targetId).scrollIntoView({
+ behavior: 'smooth'
+ });
+ }
+ });
+ });
+ });
style.css
Changed around line 1
+ :root {
+ --primary: #4285f4;
+ --secondary: #34a853;
+ --accent: #ea4335;
+ --light: #f8f9fa;
+ --dark: #202124;
+ --gray: #5f6368;
+ --shadow: 0 4px 6px rgba(0,0,0,0.1);
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
+ }
+
+ body {
+ background-color: var(--light);
+ color: var(--dark);
+ line-height: 1.6;
+ }
+
+ header.hero {
+ background: linear-gradient(135deg, var(--primary), var(--secondary));
+ color: white;
+ padding: 2rem 1rem;
+ text-align: center;
+ }
+
+ nav {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ max-width: 1200px;
+ margin: 0 auto 2rem;
+ }
+
+ .logo {
+ font-size: 1.8rem;
+ font-weight: 700;
+ }
+
+ .nav-links {
+ display: flex;
+ gap: 1.5rem;
+ }
+
+ .nav-links a {
+ color: white;
+ text-decoration: none;
+ font-weight: 500;
+ transition: opacity 0.2s;
+ }
+
+ .nav-links a:hover {
+ opacity: 0.8;
+ }
+
+ .hero-content {
+ max-width: 800px;
+ margin: 0 auto;
+ }
+
+ .hero-content h1 {
+ font-size: 3rem;
+ margin-bottom: 1rem;
+ }
+
+ .hero-content p {
+ font-size: 1.2rem;
+ margin-bottom: 2rem;
+ opacity: 0.9;
+ }
+
+ .search-container {
+ display: flex;
+ max-width: 600px;
+ margin: 0 auto;
+ box-shadow: var(--shadow);
+ border-radius: 50px;
+ overflow: hidden;
+ }
+
+ #search-input {
+ flex: 1;
+ padding: 1rem 1.5rem;
+ border: none;
+ font-size: 1.1rem;
+ outline: none;
+ }
+
+ #search-button {
+ background-color: var(--accent);
+ color: white;
+ border: none;
+ padding: 0 2rem;
+ font-weight: 600;
+ cursor: pointer;
+ transition: background-color 0.2s;
+ }
+
+ #search-button:hover {
+ background-color: #d33426;
+ }
+
+ main {
+ max-width: 1200px;
+ margin: 4rem auto;
+ padding: 0 1rem;
+ }
+
+ .features {
+ margin-bottom: 4rem;
+ }
+
+ .features h2 {
+ text-align: center;
+ margin-bottom: 3rem;
+ font-size: 2rem;
+ color: var(--dark);
+ }
+
+ .feature-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 2rem;
+ }
+
+ .feature-card {
+ background: white;
+ padding: 2rem;
+ border-radius: 8px;
+ box-shadow: var(--shadow);
+ text-align: center;
+ transition: transform 0.3s;
+ }
+
+ .feature-card:hover {
+ transform: translateY(-5px);
+ }
+
+ .feature-icon {
+ font-size: 2.5rem;
+ margin-bottom: 1rem;
+ }
+
+ .feature-card h3 {
+ margin-bottom: 1rem;
+ color: var(--primary);
+ }
+
+ .privacy {
+ text-align: center;
+ padding: 3rem 1rem;
+ background: white;
+ border-radius: 8px;
+ box-shadow: var(--shadow);
+ margin-bottom: 4rem;
+ }
+
+ .privacy h2 {
+ margin-bottom: 1.5rem;
+ }
+
+ .privacy p {
+ max-width: 700px;
+ margin: 0 auto 2rem;
+ }
+
+ .privacy-badges {
+ display: flex;
+ justify-content: center;
+ gap: 1rem;
+ flex-wrap: wrap;
+ }
+
+ .badge {
+ background: var(--light);
+ padding: 0.5rem 1rem;
+ border-radius: 50px;
+ font-weight: 600;
+ color: var(--gray);
+ }
+
+ 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;
+ }
+
+ .footer-links {
+ display: flex;
+ gap: 2rem;
+ margin-bottom: 2rem;
+ }
+
+ .footer-links a {
+ color: white;
+ text-decoration: none;
+ }
+
+ .footer-links a:hover {
+ text-decoration: underline;
+ }
+
+ @media (max-width: 768px) {
+ .hero-content h1 {
+ font-size: 2.2rem;
+ }
+
+ .nav-links {
+ gap: 1rem;
+ }
+
+ .feature-grid {
+ grid-template-columns: 1fr;
+ }
+
+ .search-container {
+ flex-direction: column;
+ border-radius: 8px;
+ }
+
+ #search-button {
+ padding: 1rem;
+ }
+ }