go-sqlite3
zenity
go-sqlite3 | zenity | |
---|---|---|
23 | 13 | |
289 | 637 | |
- | - | |
9.5 | 7.4 | |
7 days ago | 5 days ago | |
Go | Go | |
MIT License | MIT License |
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.
go-sqlite3
-
Show HN: Roast my SQLite encryption at-rest
Yep, I just made it tweakable at build, which was always the intent, although I expect the default to be popular.
https://github.com/ncruces/go-sqlite3/blob/67d859a5/vfs/adia...
That's unfortunate about the default parameters, but note that you can also replace the KDF altogether (besides just not using it).
You just need to implement this interface, with any HBSH construction and KDF:
https://github.com/ncruces/go-sqlite3/blob/67d859a5/vfs/adia...
If you keep the HBSH and change the KDF, your file format will be “compatible.”
-
Jsonfile: A Quick Hack for Tinkering
struggling figuring out how to make my cgo sqlite cross-compile to Windows
Plenty of people trying to fix that.
There's at least:
https://modernc.org/sqlite
Then there's https://github.com/zombiezen/go-sqlite that actually builds https://crawshaw.io/sqlite on top of modernc.
And there's mine that has both a low level and a database/sql driver builds and runs everywhere Go does: https://github.com/ncruces/go-sqlite3
-
SQLite-memory-vfs: Open a SQLite db from memory in Python, without hitting disk
If you're interested both SQLite's and my memdb VFSes implement safe locking.
Depending on your familiarity with Go, mine maybe easier to follow, or not.
https://github.com/ncruces/go-sqlite3/blob/f1b00a9944730eaa9...
-
Show HN: My Go SQLite driver did poorly on a benchmark, so I fixed it
One thing I tried to make sure, to avoid the pitfall modernc is having, is to make sure building "the WASM BLOB" is easily reproducible with widely available tools:
https://github.com/ncruces/go-sqlite3/blob/main/.github/work...
I do apply some light patches to SQLite, but so far they've always cleanly applied, and I can produce a new release within hours of being notified of SQLite releases.
- JSONB Has Landed in SQLite
- Show HN: Go bindings to SQLite using wazero
-
Show HN: Gogosseract, a Go Lib for CGo-Free Tesseract OCR via Wazero
Disclosure: I'm working on alternative Cgo-less bindings for SQLite, using wazero.
https://github.com/ncruces/go-sqlite3
One of the problems of the modernc approach (IMO) is that they're not just transpiring CPU/compute stuff, but entirely OS/platform stuff.
Each Go file of theirs is a xxx_os_arch.go that starts with 100s of OS-#defines-as-consts, and goes on to transpile fully #ifdefed code.
It also implements antithetical (in Go) stuff like goroutine local storage, because libc pthreads can't live without it.
And all IO is via direct syscalls that will never play nice with the Go scheduler, because, again this is OS level stuff.
WASM defines a cross platform CPU and an ABI, and using that for compute and the bottom OS layer in Go you get (IMO) a nicer end result.
Given the hard task of generating decent code from WASM at load time (wazero's compiler is pretty naive, a better one is being developed, but it will take seconds to generate good code for anything non trivial like SQLite) I wouldn't mind having a solution that translated to Go, or Go ASM, at build time.
- Show HN: Sqinn-Go is a Golang library for accessing SQLite databases in pure Go
-
Go bindings to SQLite using Wazero
The github.com/ncruces/go-sqlite3 is a link.
-
C to WASM to Go
Using the stack pointer global is an interesting hack. I'd never thought of that. Need to compare with what I'm doing for SQLite (a kind of per connection arena).
zenity
-
Open source project ideas
I created github.com/ncruces/zenity and I'd welcome ports to either D-Bus Portal or KDialog.
-
Who is mksyscall.go for?
I've used the windows version pretty extensively in github.com/ncruces/zenity to generate this.
-
GitHub code coverage badge
You can see it in… “action” in some of my repos: - github.com/ncruces/go-strftime - github.com/ncruces/go-sqlite3 - github.com/ncruces/zenity
- What makes Go unsuitable for UI development?
-
Things that annoy you in Go...
Const errors are totally doable. https://dave.cheney.net/2016/04/07/constant-errors https://github.com/ncruces/zenity/blob/master/internal/zenutil/env.go
-
Stable and native looking GUI tool for Go?
If you use a non-native GUI, you can still leverage native dialog windows via https://github.com/ncruces/zenity
-
Another strftime (and strptime!) package for Go
To add a calendar dialog to github.com/ncruces/zenity, I needed a strftime implementation in pure Go.
-
Is there a library that allows me to create desktop accept/deny prompt?
github.com/ncruces/zenity
-
Zenity on WSL without X
I've been working on a "port" of it to macOS and Windows, that doesn't require X. It also works on WSL (as well as Cygwin/MSYS2 and Git for Windows). It's on GitHub: github.com/ncruces/zenity.
-
Zenity dialogs for Golang, Windows, macOS
Started out with just the file and message dialogs, but a lot more of zenity has been wrapped/ported, current status: here.
What are some alternatives?
xcgo - Golang cross-platform builder docker image with CGo and other tooling
qt - Qt binding for Go (Golang) with support for Windows / macOS / Linux / FreeBSD / Android / iOS / Sailfish OS / Raspberry Pi / AsteroidOS / Ubuntu Touch / JavaScript / WebAssembly
sqinn - SQLite over stdin/stdout
robotgo - RobotGo, Go Native cross-platform RPA and GUI automation @vcaesar
go-sqlite3 - sqlite3 driver for go using database/sql
fyne - Cross platform GUI toolkit in Go inspired by Material Design
go-sqlite - pure-Go SQLite driver for Go (SQLite embedded)
webview - Tiny cross-platform webview library for C/C++. Uses WebKit (GTK/Cocoa) and Edge WebView2 (Windows).
acmd - Simple, useful and opinionated CLI package in Go.
go-appindicator - :traffic_light: Go bindings for libappindicator3 C library
venomoid - Defanging viper
gosx-notifier - gosx-notifier is a Go framework for sending desktop notifications to OSX 10.8 or higher