From 394eb37aafd3f3970e8c546782ed45e33e240e87 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 9 Feb 2026 18:15:42 +0000 Subject: [PATCH 1/5] Initial plan From 7be2c884de10feeea0ab4aabaa97f64df0c4a2c2 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 9 Feb 2026 18:24:01 +0000 Subject: [PATCH 2/5] Create comprehensive and attractive wiki pages Co-authored-by: digreatbrian <119015367+digreatbrian@users.noreply.github.com> --- wiki/Components.md | 494 +++++++++++++++++++++++++++++ wiki/Configuration.md | 613 ++++++++++++++++++++++++++++++++++++ wiki/Contributing.md | 565 +++++++++++++++++++++++++++++++++ wiki/Deployment.md | 526 +++++++++++++++++++++++++++++++ wiki/Django-Integration.md | 630 +++++++++++++++++++++++++++++++++++++ wiki/FAQ.md | 463 +++++++++++++++++++++++++++ wiki/Features.md | 340 ++++++++++++++++++++ wiki/Getting-Started.md | 286 +++++++++++++++++ wiki/Home.md | 117 +++++++ wiki/README.md | 128 ++++++++ 10 files changed, 4162 insertions(+) create mode 100644 wiki/Components.md create mode 100644 wiki/Configuration.md create mode 100644 wiki/Contributing.md create mode 100644 wiki/Deployment.md create mode 100644 wiki/Django-Integration.md create mode 100644 wiki/FAQ.md create mode 100644 wiki/Features.md create mode 100644 wiki/Getting-Started.md create mode 100644 wiki/Home.md create mode 100644 wiki/README.md diff --git a/wiki/Components.md b/wiki/Components.md new file mode 100644 index 0000000..ef12c44 --- /dev/null +++ b/wiki/Components.md @@ -0,0 +1,494 @@ +# π¨ Components Guide + +Learn about Duck's powerful Lively Components system for building reactive user interfaces. + +--- + +## π What are Lively Components? + +Lively Components are Duck's answer to modern UI frameworks like React or Vue. They provide: + +- **Virtual DOM** - Efficient UI updates with minimal re-renders +- **State Management** - Built-in reactive state handling +- **Python-Based** - Write UI logic in Python, not JavaScript +- **Server-Side** - Components render on the server +- **WebSocket Updates** - Real-time UI synchronization + +--- + +## π Quick Example + +Here's a simple counter component: + +```python +from duck.components import Component + +class Counter(Component): + """A simple counter component.""" + + def __init__(self): + super().__init__() + self.count = 0 + + def increment(self): + """Increment the counter.""" + self.count += 1 + self.update() # Trigger re-render + + def decrement(self): + """Decrement the counter.""" + self.count -= 1 + self.update() + + def render(self): + """Render the component UI.""" + return f''' +
Title (never changes)
+Count: {self.count}
+