Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Hi, I was in a hackathon last week and I built a cli app for vocabulary study. This is the first time I build a cli app and the first time using sqlite. Would like to seek for feedback / advice for improvement. Thank you! Repo: https://github.com/johnnychang25678/my-words-app
I challenge you to improve your app by integrating https://github.com/charmbracelet/bubbletea. I recently built an API wrapper with cobra and thought it looked really nice until I found bubbletea. They work well together and perhaps non-technical users will be more inclined to use it if its more visually appealing. Your errors implementation for instance is perfect for bubbletea's message and commands concepts.
You can also have both by making use of the //go:build cgo and //go:build !cgo flags. PocketBase uses similar approach and it works fine for them: - https://github.com/pocketbase/pocketbase/blob/master/core/db_cgo.go - https://github.com/pocketbase/pocketbase/blob/master/core/db_nocgo.go