From 1719c06af856c4e5001825aa98c7f4e189cfcd42 Mon Sep 17 00:00:00 2001 From: Simon Leeb <52261246+sliemeobn@users.noreply.github.com> Date: Mon, 8 Dec 2025 11:26:06 +0100 Subject: [PATCH 1/4] updated readme --- README.md | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index e3a2ae9..2134340 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,14 @@ **A modern and efficient HTML rendering library - inspired by SwiftUI, built for the web.** -[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fsliemeobn%2Felementary%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/sliemeobn/elementary) [![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fsliemeobn%2Felementary%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/sliemeobn/elementary) +[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fsliemeobn%2Felementary%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/elementary-swift/elementary) [![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fsliemeobn%2Felementary%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/elementary-swift/elementary) -[Examples](#play-with-it) | [Motivation](#motivation-and-other-packages) | [Discussion](https://github.com/sliemeobn/elementary/discussions) +[Examples](#play-with-it) | [Motivation](#motivation-and-other-packages) | [Discussion](https://github.com/elementary-swift/elementary/discussions) + +> 📦 **New home!** +> This repo moved to **`https://github.com/elementary-swift`** +> +> Please update your URLs to avoid trouble - and reach out if anything breaks. ```swift struct MainPage: HTMLDocument { @@ -25,7 +30,7 @@ struct MainPage: HTMLDocument { "Framework agnostic and unopinionated", ]) - a(.href("https://github.com/sliemeobn/elementary"), .class("fancy-style")) { + a(.href("https://github.com/elementary-swift/elementary"), .class("fancy-style")) { "Learn more" } } @@ -49,7 +54,7 @@ struct FeatureList: HTML { Add the dependency to `Package.swift` ```swift -.package(url: "https://github.com/sliemeobn/elementary.git", from: "0.3.2") +.package(url: "https://github.com/elementary-swift/elementary.git", from: "0.6.0") .product(name: "Elementary", package: "elementary") ``` @@ -67,17 +72,17 @@ Integration with [Vapor](https://github.com/vapor-community/vapor-elementary) ## Play with it -Check out the [Hummingbird + Tailwind example app](https://github.com/sliemeobn/elementary/tree/main/Examples/HummingbirdDemo). +Check out the [Hummingbird + Tailwind example app](https://github.com/elementary-swift/elementary/tree/main/Examples/HummingbirdDemo). -For a demo of [ElementaryHTMX](https://github.com/sliemeobn/elementary-htmx), see this [Hummingbird + HTMX Demo](https://github.com/sliemeobn/elementary-htmx/tree/main/Examples/HummingbirdDemo). +For a demo of [ElementaryHTMX](https://github.com/elementary-swift/elementary-htmx), see this [Hummingbird + HTMX Demo](https://github.com/elementary-swift/elementary-htmx/tree/main/Examples/HummingbirdDemo). -For a Vapor example, see the [Vapor + HTMX Demo](https://github.com/sliemeobn/elementary-htmx/tree/main/Examples/VaporDemo). +For a Vapor example, see the [Vapor + HTMX Demo](https://github.com/elementary-swift/elementary-htmx/tree/main/Examples/VaporDemo). ## Lightweight and fast Elementary renders straight to text, optimized for serving generated HTML from a [Hummingbird](https://github.com/hummingbird-project/hummingbird) or [Vapor](https://vapor.codes/) server app. -Any type conforming to `HTML` can be rendered individually, ideal for testing or for sending fragments with [htmx](https://github.com/sliemeobn/elementary-htmx). +Any type conforming to `HTML` can be rendered individually, ideal for testing or for sending fragments with [htmx](https://github.com/elementary-swift/elementary-htmx). The default rendering mechanism produces chunks of HTML for efficient response streaming, so the browser can start loading a page while the server is still producing the rest of it. Swift concurrency is used to handle back pressure, so you your memory footprint stays low even for large pages. From 312b1576f519d02983e8c98cea040094c15c898c Mon Sep 17 00:00:00 2001 From: Simon Leeb <52261246+sliemeobn@users.noreply.github.com> Date: Mon, 8 Dec 2025 11:28:48 +0100 Subject: [PATCH 2/4] note box --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 2134340..a73aedc 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ [Examples](#play-with-it) | [Motivation](#motivation-and-other-packages) | [Discussion](https://github.com/elementary-swift/elementary/discussions) +> [!NOTE] > 📦 **New home!** > This repo moved to **`https://github.com/elementary-swift`** > From 2faaecf7b4c0026ca1931a1a5ecea3776771191b Mon Sep 17 00:00:00 2001 From: Simon Leeb <52261246+sliemeobn@users.noreply.github.com> Date: Mon, 8 Dec 2025 11:30:37 +0100 Subject: [PATCH 3/4] wip --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a73aedc..7f5f234 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ [Examples](#play-with-it) | [Motivation](#motivation-and-other-packages) | [Discussion](https://github.com/elementary-swift/elementary/discussions) -> [!NOTE] +> [!IMPORTANT] > 📦 **New home!** > This repo moved to **`https://github.com/elementary-swift`** > From b7bc75c70dcecc758818d7f85ca8b8a211d6061e Mon Sep 17 00:00:00 2001 From: Simon Leeb <52261246+sliemeobn@users.noreply.github.com> Date: Mon, 8 Dec 2025 11:35:52 +0100 Subject: [PATCH 4/4] Update README.md --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7f5f234..4572112 100644 --- a/README.md +++ b/README.md @@ -4,13 +4,12 @@ [![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fsliemeobn%2Felementary%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/elementary-swift/elementary) [![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fsliemeobn%2Felementary%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/elementary-swift/elementary) -[Examples](#play-with-it) | [Motivation](#motivation-and-other-packages) | [Discussion](https://github.com/elementary-swift/elementary/discussions) - > [!IMPORTANT] -> 📦 **New home!** -> This repo moved to **`https://github.com/elementary-swift`** > -> Please update your URLs to avoid trouble - and reach out if anything breaks. +> This repo 📦 moved 📦 to its new home at **`https://github.com/elementary-swift`**. +> Please update your URLs to avoid trouble - and reach out if anything breaks! + +[Examples](#play-with-it) | [Motivation](#motivation-and-other-packages) | [Discussion](https://github.com/elementary-swift/elementary/discussions) ```swift struct MainPage: HTMLDocument {