Skip to content

Latest commit

 

History

History
65 lines (41 loc) · 3.74 KB

README.md

File metadata and controls

65 lines (41 loc) · 3.74 KB

coenttb-html

coenttb-html extends coenttb/swift-html with additional functionality and integrations for HTML, Markdown, Email, and printing HTML to PDF.

Development Status

This package is currently in active development and is subject to frequent changes. Features and APIs may change without prior notice until a stable release is available.

FAQ

How do I use the HTML & CSS DSL?

See the swift-html github repository for more details on how to use the swift-html DSL.

Can I use this with existing Swift web frameworks like Vapor?

Yes, you can! Conform your HTMLDocument to AsyncResponseEncodable to serve it through Vapor. See coenttb-com-server for an example implementation.

Related Projects

Installation

You can add coenttb-html to an Xcode project by including it as a package dependency:

Repository URL: https://github.com/coenttb/coenttb-html

For a Swift Package Manager project, add the dependency in your Package.swift file:

dependencies: [
  .package(url: "https://github.com/coenttb/coenttb-html", branch: "main")
]

Feedback is much appreciated!

If you’re working on your own Swift project, feel free to learn, fork, and contribute.

Got thoughts? Found something you love? Something you hate? Let me know! Your feedback helps make this project better for everyone. Open an issue or start a discussion—I’m all ears.

Subscribe to my newsletter

Follow me on X

Link on Linkedin

License

This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0).
You are free to use, modify, and distribute this project under the terms of the AGPL-3.0.
For full details, please refer to the LICENSE file.

Commercial Licensing

A Commercial License is available for organizations or individuals who wish to use this project without adhering to the terms of the AGPL-3.0 (e.g., to use it in proprietary software or SaaS products).

For inquiries about commercial licensing, please contact [email protected].