{"repo":"Lighter-swift/Lighter","free":true,"listed":false,"github":"https://github.com/Lighter-swift/Lighter","clone":"git clone https://github.com/Lighter-swift/Lighter.git","description":"Swift APIs for SQLite: Type-safe down to the schema. Very, very, fast. Dependency free.","language":"Swift","stars":518,"topics":["code-generation","database","spm-plugin","sqlite","swift"],"license":"MIT","category":"databases-storage","readme_excerpt":"Lighter Lighter is a set of technologies applying code generation to access SQLite3 databases from Swift, e.g. in iOS applications or on the server. Like SwiftGen but for SQLite3. Type-safe down to the SQL schema. State of the art: Developer writes Swift structures that match a SQLite table. Enlighter reverses this, the generated Swift code reflects what the SQLite table is actually defined as. No place for mistakes. Remove a “somewhere” in the “it’s always any-o-clock somewhere in the stack”. Very, very , fast . Lighter builds upon the database schema and hence directly knows what it looks like at compile time. For common operations no mapping is necessary at all, the generated code runs as fast (usually faster) than hand written code. It directly binds Swift structures to the SQLite API. Dependency free. Lighter itself is a small and convenient API to access SQLite databases. Enlighter, the code generator, can however produce code that just uses the SQLite API and doesn’t require any dependencies, i.e. tech debt. Don’t ship 3rd party libraries, directly generate the necessary code into your app. Lighter is useful for two main scenarios: Shipping SQLite databases within your app (e.g. containing a product database). SQLite databases are very resource efficient way to ship and access small and big amounts of data. As an alternative to bundling JSON resources files that are large and have to be parsed fully into memory on each start. With a SQLite database only the required da","default_branch":null,"files":null,"tree":[],"storefront":"/r/Lighter-swift","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Lighter-swift/Lighter/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."}