GithubHelp home page GithubHelp logo

cxwudi / kotlin-jvm-idiomatic-exec Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 91 KB

A small library for creating external process in Kotlin/JVM in an idiomatic way :)

License: Do What The F*ck You Want To Public License

Kotlin 100.00%
exec jvm kotlin

kotlin-jvm-idiomatic-exec's Introduction

Hi there ๐Ÿ‘‹

This is CXwudi. A Mikufan with some serious coding skills.

Projects

I maintained several personal projects:

  • VocaDB Video Downloader: A set of CLI apps for archiving Vocaloid PVs from various sources, based on VocaDB API and youtube-dl.
  • YouCal: A CLI app for exporting YouTrack issues with dates into one iCalendar file, importable by both Gmail and Outlook.
  • Song Finder VocaDB: A semi-automated GUI app for batch song searches on VocaDB. It's a toy project for experimenting Compose Multiplatform.
  • hoshizora.sql (Originating from VocaDB's archived repo): A dockerized CLI program for loading a VocaDB dump into MariaDB, ideal for frequent and large offline queries, avoiding flooding the official VocaDB API.

I've maintained several libraries, available through JitPack:

  • Kotlin/JVM Inline Logging: A custom SLF4J wrapper for Kotlin, optimized at the bytecode using Kotlin's inline class.
    • To use: implementation("com.github.CXwudi:kotlin-jvm-inline-logging:<version>")
  • Kotlin/JVM Idiomatic Exec: An idiomatic Kotlin DSL for Java's Process API.
    • To use: implementation("com.github.CXwudi:kotlin-jvm-idiomatic-exec:<version>")
  • VocaDB OpenAPI Client Java: A Java Client for the VocaDB API, automatically generated and refined.
    • To use: implementation("com.github.VocaDB:vocadb-openapi-client-java:<version>")

Also some other highlights:

kotlin-jvm-idiomatic-exec's People

Contributors

cxwudi avatar

Watchers

 avatar

kotlin-jvm-idiomatic-exec's Issues

Jvm bug?

we are unsure if this is a bug in JVM, because I wouldn't get this log from Java 11 when running test
also, this seems to not consistently appear

Exception in thread "null-null-stdout" java.io.IOException: Stream closed
	at java.base/java.io.BufferedInputStream.getInIfOpen(BufferedInputStream.java:157)
	at java.base/java.io.BufferedInputStream.read1(BufferedInputStream.java:282)
	at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:343)
	at java.base/sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:270)
	at java.base/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:313)
	at java.base/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:188)
	at java.base/java.io.InputStreamReader.read(InputStreamReader.java:177)
	at java.base/java.io.BufferedReader.fill(BufferedReader.java:162)
	at java.base/java.io.BufferedReader.readLine(BufferedReader.java:329)
	at java.base/java.io.BufferedReader.readLine(BufferedReader.java:396)
	at kotlin.io.LinesSequence$iterator$1.hasNext(ReadWrite.kt:80)
	at kotlin.io.TextStreamsKt.forEachLine(ReadWrite.kt:155)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.