kmm-production-sample
Ink
Our great sponsors
kmm-production-sample | Ink | |
---|---|---|
30 | 64 | |
1,898 | 25,760 | |
1.6% | - | |
6.1 | 6.4 | |
3 months ago | 4 days ago | |
Kotlin | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
kmm-production-sample
-
Kotlin Multiplatform for Android and iOS Apps
Business logic is not only about backend. Apps usually have a lot of client-side logic that can be written once in KMM and used on both platforms. See [1] for a high level architecture diagram.
I'm an iOS dev and I've been using KMM on a couple of projects for more than a year now. It's really a powerfull technology which allows teams to move faster, but there are downsides, for example lack of native Swift interop, though there are opensource tools trying to solve this [2].
[1]: https://github.com/Kotlin/kmm-production-sample/tree/master#...
-
Can't pick a Mac for cross platform mobile development. Which one should I go with?
I'm an Android dev for 10+ years and I've decided to give a go with Kotlin Mobile Multiplatform to try iOS development as well. For that purpose I would need a Mac obviously, and Windows 11's flaws don't help either so I made my mind and I would like to pick a Mac as my next developer machine for the next 4-5 years.
- Compose Multiplatform template
-
what is the best way to use flutter to get an iOS app from my kotlin code ?
I don't use iOS, but https://kotlinlang.org/lp/mobile/ claims that using Kotlin works on iOS too. You still will need a Mac though, but that's pretty much a given if you want to develop iOS apps.
- React or flutter? What is good for future
-
Getting Started Guide for Kotlin Multiplatform Mobile (KMM) with Flexible Sync
Kotlin Multiplatform with Realm as a middle layer.
-
Migrating our Largest Mobile App to React Native
Kotlin Multiplatform. You write the UI fully native for each platform, but have all the business logic as shared code.
-
Flutter for an Electronic Health Record and medical equipment app
maybe people confused it with kotlin multiplatform mobile which indeed support ios but only the business logic. you have to write the ui in swiftui.
-
Kotlin Server Side, but without a JVM
I think the most compeling use for Kotlin Native is mobile. I wonder if it's possible to write a Kotlin multi-platform library that can then be used from the JVM, JS, iOS and Android? What would such library look like from the other languages? This is something I am trying to find out right now, and Kotlin Multiplatform seems to be the only sane choice to do this (but I am not sure yet that it's actually good/possible right now). Any more information about this would be appreciated.
-
Backend Java 19 vs Kotlin?
Kotlin isn't just JVM and Kotlin projects like this one for writing iOS+Android apps look quite promising: https://kotlinlang.org/lp/mobile/
Ink
-
I created a simple CLI tool that helps you code FAST!
I've always wanted to build a CLI tool, and when I realized that you can build one using React with Ink, I converted my Python script into a CLI tool.
-
Delete git branches in batches
⚠️ Git for Windows Terminal is currently not supported, and the tool is limited to ink. We will look for alternatives later. Please use CMD, Vscode terminal's Git... terminal
-
Setup Simple Web UI for Node.js App in Seconds
There is a good solution for some of those cases - ink. With ink, I can implement text-based UI with knowledge of React, which is neat but there are still some caveats for my usages:
-
Building Reactive CLIs with Ink - React CLI library
Looks cool, right? Building a similar UI in the terminal without any library would be quite hard, though, thanks to Ink it's almost as easy as building any frontend UI with React.
-
Terminal-like output library for js?
ink?
-
Synchronous File Reading and Writing in Node.js
I'm writing a CLI with ink. Writing async code is important as to not block the rendering and respond to user input. I have a few loading animations that update every 100ms. Synchronous operations can make the animation hang for >500ms, making the animation choppy.
-
Launch HN: Resend (YC W23) – Email API for Developers Using React
You get the comfort of using react components instead of fighting with HTML tables to make your emails look nice. I think it's awesome! It's analog to what ink[0] does with CLI outputs. Sure, you could write fancy CLI outputs in bash, but ink takes the pain out of it and makes it easy.
-
Is Node.js a good way to implement a CLI app with persistence?
Due to Node's asynchronous behavior, it makes Node great for long-running processes that make a lot of HTTP requests, database calls, and other async ops, like a web server or a REST API. However, if I am making a CLI tool for pretty much personal use only, with very minimal async operations, then blocking the event loop with a synchronous function that will resolve almost immediately will make no difference perceivable to a human brain or have any speed benefits that someone can actually observe (think `fs.readFileSync` or `require('dotenv') of 10 line config file, or a quick embedded db (sqlite) query with only ~100 records. I'm wondering what the best way to implement the database part of the app synchronous. I can read/write to JSON files but it would be tricky because the data is relational, and some complex joins and other data wrangling operations are required (complex to perform in JS but are easy to implement in a SQL statement). It's not important what the operations are, that's not the point of this post. This is mostly a personal project of interest: making this CLI tool completely avoiding any async operations/using no promises. I would like to use node tho, as I said this is just out of interest and I also want to experiment with several CLI libraries such as Ink or Cliffy.
- Ink: React for interactive command-line apps
- Make interactive command-line apps with React
What are some alternatives?
Newsletter-Kmm - Newsletter with Kotlin Multiplatform
Commander.js - node.js command-line interfaces made easy
multiplatform-settings - A Kotlin Multiplatform library for saving simple key-value data
oclif - CLI for generating, building, and releasing oclif CLIs. Built by Salesforce.
leakcanary - A memory leak detection library for Android.
blessed - A high-level terminal interface library for node.js.
TedImagePicker - TedImagePicker is simple/beautiful/smart image picker
nestjs-commander - A module for using NestJS to build up CLI applications
KaMPKit - KaMP Kit by Touchlab. A collection of code & tools designed to get your mobile team started quickly w/Kotlin Multiplatform
tui-rs - Build terminal user interfaces and dashboards using Rust
Retrofit - A type-safe HTTP client for Android and the JVM
PyLaTeX - A Python library for creating LaTeX files