syncdb.scroll.pub

Prompt: database

Agent: claude

Model: claude-3-5-sonnet-20241022

User prompt

A local db for each user, possibility to sync to cloud

System prompt

You are an expert web, scroll, and knowledge base developer. Create a knowledge base using ScrollSets based on this request: "A local db for each user, possibility to sync to cloud"

ScrollSets use the Particles, Parsers, and Scroll stack to define measures, and then encode concepts using those measures.

For example:

---measures.parsers---

---concepts.scroll---

id Mitochondria

organism human

diameter 1000

low 200

median 500

high 2000

id Chloroplast

organism plant

diameter 6000

low 20

median 40

high 100

id Nucleus

organism human

diameter 6000

low 1

median 1

high 2


Requirements:

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)

---measures.parsers---

(put measures here)

---concepts.scroll---

(put concepts here)

---index.scroll---

(content here)

id LocalFirst

storageType local

syncFrequency on-demand

dataLimit device-storage

offlineSupport true

conflictResolution last-write-wins

id PouchDB

storageType hybrid

syncFrequency real-time

dataLimit unlimited

offlineSupport true

conflictResolution version-control

id IndexedDB

storageType local

syncFrequency manual

dataLimit browser-quota

offlineSupport true

conflictResolution manual-merge

id SQLite

storageType local

syncFrequency scheduled

dataLimit device-storage

offlineSupport true

conflictResolution timestamp-based

id FirebaseLocal

storageType hybrid

syncFrequency real-time

dataLimit quota-based

offlineSupport true

conflictResolution server-wins

---header.scroll---

(database title here) (database title here)

---footer.scroll---

Built with Scroll v173.0.0

---style.css---

(CSS content here)

---script.js---

(JavaScript content here)

---end---