{"repo":"armanbilge/porcupine","free":true,"listed":false,"github":"https://github.com/armanbilge/porcupine","clone":"git clone https://github.com/armanbilge/porcupine.git","description":"Skunk-inspired library for SQLite on JVM, Node.js, and Native","language":"Scala","stars":30,"topics":["cats-effect","scala","scala-native","scalajs","sqlite"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"porcupine [Skunk]-inspired library for [SQLite] on JVM, Node.js, and Native! [Skunk]: https://github.com/tpolecat/skunk [SQLite]: https://www.sqlite.org Installation JVM Delegates to the [JDBC Driver]. [JDBC Driver]: https://github.com/xerial/sqlite-jdbc Node.js Requires the [better-sqlite3] npm package. [better-sqlite3]: https://www.npmjs.com/package/better-sqlite3 Native You must provide a native build of SQLite3. Here are three interesting ways to do this. 1. Compiling SQLite as part of your project. You can use [scala-native-sqlite-amalgamation]: or download the SQLite [amalgation] as a single sqlite3.c file and place it in your resources/scala-native directory. 2. Dynamically linking to an existing installation of sqlite3. 3. Statically linking a pre-compiled SQLite into your binary. [sn-vcpkg] is a great way to do this. An ad-hoc configuration might look like this: [scala-native-sqlite-amalgamation]: https://github.com/lolgab/scala-native-sqlite-amalgamation [sn-vcpkg]: https://github.com/indoorvivants/sn-vcpkg [amalgation]: https://www.sqlite.org/amalgamation.html","default_branch":null,"files":null,"tree":[],"storefront":"/r/armanbilge","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/armanbilge/porcupine/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}