Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kotlin CSS. Add Kotlin/Native targets #2236

Open
mgroth0 opened this issue Apr 22, 2024 · 4 comments
Open

Kotlin CSS. Add Kotlin/Native targets #2236

mgroth0 opened this issue Apr 22, 2024 · 4 comments
Assignees

Comments

@mgroth0
Copy link

mgroth0 commented Apr 22, 2024

Is your feature request related to a problem? Please describe.

I would like to use the HTML/CSS library in Kotlin/Native

Describe the solution you'd like

Add a Kotlin/Native target

Describe alternatives you've considered

Not using this library

Additional context

I am on macosArm64

I mainly use this for generating HTML reports

@turansky
Copy link
Collaborator

I mainly use this for generating HTML reports

Looks like https://github.com/Kotlin/kotlinx.html is what you need

Do you need CSS support too?

@mgroth0
Copy link
Author

mgroth0 commented Apr 24, 2024

Yes, I think I created this issue because I couldn't get a CSS dependency in my native project if I remember correctly

@turansky turansky changed the title Add Kotlin/Native targets Kotlin CSS. Add Kotlin/Native targets Apr 26, 2024
@lppedd
Copy link
Contributor

lppedd commented May 2, 2024

@mgroth0 that's an interesting use case, can I ask why you're doing it from Native?

@mgroth0
Copy link
Author

mgroth0 commented May 5, 2024

Hi @lppedd , I can no longer remember the specific task I was working on when I made this, but I can explain in general.

I have a few native projects. One, for example is a small command line tool that parses through some data my team is working on. My team all use the same type of OS so it became easier to share a small and fast .kexe with them instead of a big java program.

One technique that I am starting to use more in general is that I generate small HTML reports. It could be for anything from an error report to an analysis of some data. And I must have found myself here because I wanted to make a report like I can in JVM, but was somewhat blocked because the CSS dependency doesn't target native.

I hope that this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@Leonya @turansky @mgroth0 @lppedd and others