ws4sqlite
Sqinn-Go
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ws4sqlite
-
ws4sqlite v0.12.1 released - connect to sqlite via HTTP/"REST"
If you are interested, feel free to browse the git repo, read the documentation (with a tutorial) or connect to the discord channel.
-
Ask HN: Have you used SQLite as a primary database?
I am using sqlite where a simple persistence layer is needed, both as the sole in the project or along with a full-fledged database. There are many such projects, once you realize that a database is just an abstraction; for example, for caching in a larger project, or to store results for a subsection of the project. But of course also for smaller, standalone projects.
Also, take a look at ws4sqlite (https://germ.gitbook.io/ws4sqlite/) for a middle ground between SQLite (embedded) and rqlite/dqlite: it's "normal" sqlite addressable via web services. May be useful in some scenarios.
-
Hacker News top posts: Mar 11, 2022
Ws4sqlite: Query SQLite via HTTP\ (30 comments)
- Ws4sqlite: Query SQLite via HTTP
-
A remote JSON interface for SQLite, in Go
ws4sqlite is a web service layer on one (or more) SQLite databases. It’s written in Go, over mattn's go-sqlite3, and allows to use HTTP POST requests to submit SQL statements to a database, in a transaction. It can “serve” multiple databases at once, supports authentication, “stored queries”, in-memory databases, maintenance (vacuum/backups), batching and several other security features and configurations.
Sqinn-Go
-
Show HN: My Go SQLite driver did poorly on a benchmark, so I fixed it
Note that Squinn is not "native go" or "go only", but the owner insists on misleading people:
https://github.com/cvilsmeier/sqinn-go/issues/8
- Show HN: Sqinn-Go is a Golang library for accessing SQLite databases in pure Go
- SQLite in Go, with and Without Cgo
-
SQLite in Go, with and without cgo
If you want to avoid cgo, consider sqinn as well: benchmarks.
-
A remote JSON interface for SQLite, in Go
Of course, it may seem... odd to add a remote interface to an embedded database, but I think that it fits some niches well, especially when decoupling persistence and logic is needed, without renouncing to the expressivity of SQL. It was inspired by PostgREST, but it’s much more “low level” – and it should be even simpler to adapt to some cases. Also, it serves the same purpose of sqinn but with a more general interface.
-
Go performance from version 1.2 to 1.18
Why don't you try a pure-Go implementation? Should have enough features implemented for basic use
https://github.com/cvilsmeier/sqinn-go
What are some alternatives?
tuql - Automatically create a GraphQL server from a SQLite database or a SQL file
go-sqlite3 - sqlite3 driver for go using database/sql
dashera - DasherA is a Data General DASHER D200/D210 terminal emulator
sqlx - general purpose extensions to golang's database/sql
sqlite-s3-query - Python functions to query SQLite files stored on S3
vertica-sql-go - Official native Go client for the Vertica Analytics Database.
barrier - Open-source KVM software
go-mssqldb - Microsoft SQL server driver written in go language
sqlite3vfshttp - Go sqlite3 http vfs: query sqlite databases over http with range headers
godror - GO DRiver for ORacle DB
go-sql-driver/mysql - Go MySQL Driver is a MySQL driver for Go's (golang) database/sql package