Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
io.kvision:kvision-print
Advanced tools
Object oriented web framework for Kotlin/JS.
KVision allows you to build modern web applications with the Kotlin language, without any use of HTML, CSS or JavaScript. It gives you a rich hierarchy of ready to use GUI components, which can be used as builder blocks for the application UI.
KVision fully supports both reactive and imperative programming models. It gives you everything you may need for the state management of your apps.
KVision contains innovative connectivity interface for Ktor, Jooby, Spring Boot, Javalin, Vert.x and Micronaut frameworks on the server side, which allows to build fullstack applications with shared code for data model and business logic.
KVision is being actively developed. Please create an issue for any bugs or feature requests.
class App : Application() {
val state = ObservableValue("Hello world")
override fun start() {
root("root") {
vPanel {
h1(state) {
+it
}
button("Add an exclamation mark").onClick {
state.value += "!"
}
}
}
}
}
100% type safe and fully compiled dev environment.
Type safe DSL builders.
Based on Bootstrap styles, typography and components.
Utilizes Snabbdom fast virtual DOM implementation.
Integrates with a lot of libraries and components:
Includes sophisticated layout containers, including CSS flexbox, CSS grid and Bootstrap responsive 12 columns grid.
Includes convenient forms implementation, with support for many different input components and easy to use validation.
Support for observer pattern, data binding, event Flows and StateFlow for observables.
Supports React components with KVision DSL and built-in state management.
Full support for Onsen UI mobile web components with type-safe Kotlin API and DSL builders.
Internationalization support based on gettext translations and gettext.js library.
Easy to use Drag & Drop support.
Support for jQuery animations and effects.
Type-safe REST connectivity.
Dark mode support.
Innovative integration interface for Ktor, Jooby, Spring Boot, Javalin, Vert.x and Micronaut frameworks on the server side, including support for type-safe websockets connections.
Support for building hybrid mobile applications with Apache Cordova.
Support for building cross-platform, desktop applications with Electron.
KVision applications are built with Gradle with support for Webpack's Hot Module Replacement (HMR) and Kotlin JavaScript DCE (dead code elimination). Kotlin compiler plugin for Gradle is available to automatically generate boilerplate code for server-side interfaces.
Karma testing framework support.
IDE support (IntelliJ IDEA). The KVision Project Wizard is being developed as a separate project (thanks to @JakubNeukirch).
Ready to explore, rich set of KVision examples is available in the separate project.
See also the complete frontend implementation of RealWorld example application and a fullstack version built with Spring Webflux and R2DBC.
The comprehensive KVision guide is published on GitBook.
The API documentation, generated with new Dokka, is available at https://rjaros.github.io/kvision/index.html.
You can also look at KVision blog posts at dev.to and you can talk with KVision users and developers on Kotlin Slack #kvision channel and on the Discord server.
Download KVision examples from GitHub:
git clone https://github.com/rjaros/kvision-examples.git
Enter one of the examples directory:
cd kvision-examples/showcase (on Linux)
cd kvision-examples\showcase (on Windows)
Run Gradle incremental build with:
./gradlew -t run (on Linux)
gradlew.bat -t run (on Windows)
Open http://localhost:3000/ in your browser.
Play with the code and see your changes immediately in the browser.
To build complete application optimized for production run:
./gradlew zip (on Linux)
gradlew.bat zip (on Windows)
Application package will be saved as build/libs/showcase-1.0.0-SNAPSHOT.zip.
If you like this project, please give it a star on GitHub. Thank you!
FAQs
Object oriented web framework for Kotlin/JS
We found that io.kvision:kvision-print demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.