{"repo":"tamimattafi/kabin","free":true,"listed":false,"github":"https://github.com/tamimattafi/kabin","clone":"git clone https://github.com/tamimattafi/kabin.git","description":"Kotlin Multiplatform library for database storage inspired by Room and built on SQLDelight","language":"Kotlin","stars":55,"topics":["android","database","ios","jvm","kmm","kmp","kotlin","kotlinmultiplatform","library","native"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"Kabin : Multiplatform Database Library A Kotlin Multiplatform library for database storage, which aims to support all functionality offered by Room. Kabin uses drivers from SQLDelight , offering a stable interaction with SQL on all targets supported by the latter. [!CAUTION] This library is still under development. Avoid using it in production. Room already has Kotlin Multiplatform support and is stable. Please consider using it instead. Kabin will be maintained less often and more like a pet project. You are very welcome to create issues and Pull Requests. Contribution will accelerate development, and pave the way for a production ready solution. Showcase Using Kabin is straight forward. Annotations are identical to those in Room, which means usage is identical too. Here's how you declare a simple database: 1. Create an Entity : 2. Create a Dao : 3. Create a Database : Kabin will generate code for you and glue everything together. 4. Finally, create a platform configuration, then pass it to the newInstance method, to initialize SampleDatabase : For more advanced topics, read Room documentation and tutorials, and apply the same logic using Kabin. Installation Latest Kabin version Add common modules to your sourceSet : Add ksp compiler: Optional Configure ksp processor to generate more suitable code for you Available keys, with their default values Supported Room Features This list shows Room features, which are already supported by Kabin, or under development [!NOTE] To accel","default_branch":null,"files":null,"tree":[],"storefront":"/r/tamimattafi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tamimattafi/kabin/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."}