stephencelis/sqlite.swift

A type-safe, Swift-language layer over SQLite3.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 38 minutes ago
Added to GitGenius on September 6th, 2026
Created on October 4th, 2014
Open Issues & Pull Requests: 143 (+0)
GitHub issues: Enabled
Number of forks: 1,611
Total Stargazers: 10,189 (+0)
Total Subscribers: 214 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 11.5 days
Mean response time: 150.2 days
90th percentile: 351.3 days
Tracked items: 46

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 5% of issues opened in the past year have been closed. Three people close 50% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 31
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 1,062 days
Stale 30+ days: 31
Stale 90+ days: 30

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • enhancement (3)
  • bug (2)
  • documentation (1)
  • information needed (1)
  • question (1)
  • spm (1)
  • sqlcipher (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

SQLite.swift is a type-safe, Swift-language layer over SQLite3.

The tool addresses the challenge of working with SQLite from Swift by providing compile-time confidence in both SQL statement syntax and intent. Rather than exposing the raw C API, it wraps SQLite3 with a pure-Swift interface that includes a type-safe, optional-aware SQL expression builder and a flexible, chainable, lazy-executing query layer. Data access is automatically typed, and the tool handles query and parameter binding through a lightweight interface designed for developer convenience.

SQLite.swift suits Swift projects on Apple platforms and Linux that need embedded database functionality without the complexity of raw C bindings. It works well for applications requiring full-text search, schema migrations, or WAL mode configuration. The tool is particularly valuable when you want compile-time guarantees about your database queries rather than discovering SQL errors at runtime. It also provides SQLCipher support through Swift Package Manager for projects needing encrypted databases.

The project maintains active engagement with its user community through Stack Overflow and a Gitter chat room. Development includes comprehensive documentation and an interactive Xcode playground for exploration. The codebase is extensively tested and supports multiple installation methods including Swift Package Manager, Carthage, CocoaPods, and manual Xcode integration. The tool works on Linux with some limitations noted in its documentation.