Re:Ask HN: Cool side projects you have written using Golang
by ungawatkt on Thursday February 02, 2023 @08:54PM
(#34636174)
A bunch while learning that were small enough that they didn't make it to Github, but here's the interesting ones. They both also include messing around with WASM:
Re:Ask HN: Cool side projects you have written using Golang
by dimes on Thursday February 02, 2023 @09:08PM
(#34636276)
I wrote Dihedral, a compile-time dependency injection framework for Go [0]. It was inspired by the Java framework Dagger. It worked pretty well, but was a little clunky with Go's syntax. Ultimately, decided it wasn't worth it given the simplicity of manually constructing Go objects in a service setting.
Hookah is a GitHub Webhook listener/runner - we've been using it for many years now, it's less important since the rise of GitHub actions though. It allows you to run any number of scripts based on their names connection to the hook that was called to build automations using shell scripts.
sqldump is a MySQL dump parser that rather than reading the data into memory builds a map of the dump file and operates off that. Once the map is built it can operate on the data pretty quickly.
I wrote it for a project that involved pulling data out of 10 years of 100gb->2tb daily archived MySQL dumps and it was a lifesaver, it wouldn't have been possible otherwise I don't think.
Re:Ask HN: Cool side projects you have written using Golang
by avinassh on Thursday February 02, 2023 @11:49PM
(#34637261)
I have built an educational project which teaches one how to build a KV Store from scratch. Compilers have many good educational resources, but I could not find similar ones in Databases, so I created one.
I have set up this project in TDD fashion with the tests. So, you start with simple functions, pass the tests, and the difficulty level goes up. There are hints if you get stuck. You will have written a persistent key-value store when all the tests pass.
One of my earliest Go projects, a tool to upload screenshots automatically to discord continues to be popular, though I cringe at how much work the code still needs - earlier me had no idea what he was doing.
Re:Ask HN: Cool side projects you have written using Golang
by tlhunter on Saturday February 04, 2023 @12:33AM
(#34651838)
I'm working on a project called "mig", which is a SQL migration runner for MySQL and PostgreSQL. Of course, it's distributed as a single binary, and it's configurable via an rc file, env vars, or CLI flags.
It's my first real Golang project and I've really enjoyed the language and tooling so far.
https://github.com/mahesh-hegde/rrip
https://github.com/prophittcorey
- Image manipulations, https://github.com/cliftbar/PaintByNumbers, https://pixel.cliftbar.site/ (ignore the comments thing, that's another side project, it's currently broken until I'm back from travel. Also the stereogram web image handling is bugged out.)
- Hurricane model generation, https://github.com/cliftbar/godin, https://www.odinseye.cloud/
https://github.com/cloudcmds/tamarin
0: https://github.com/dimes/dihedral
- https://shielded.dev/
Emojiboats is an ad free emoji search engine / general unicode information tool
- https://emoji.boats
Hookah is a GitHub Webhook listener/runner - we've been using it for many years now, it's less important since the rise of GitHub actions though. It allows you to run any number of scripts based on their names connection to the hook that was called to build automations using shell scripts.
- https://github.com/donatj/hookah
sqldump is a MySQL dump parser that rather than reading the data into memory builds a map of the dump file and operates off that. Once the map is built it can operate on the data pretty quickly.
I wrote it for a project that involved pulling data out of 10 years of 100gb->2tb daily archived MySQL dumps and it was a lifesaver, it wouldn't have been possible otherwise I don't think.
- https://github.com/donatj/sqlread
https://plaintextco.in
This was my first time using go and I found the language very handy for this kind of projects.
I have set up this project in TDD fashion with the tests. So, you start with simple functions, pass the tests, and the difficulty level goes up. There are hints if you get stuck. You will have written a persistent key-value store when all the tests pass.
https://github.com/avinassh/go-caskdb
- https://github.com/tardisx/linkwallet
One of my earliest Go projects, a tool to upload screenshots automatically to discord continues to be popular, though I cringe at how much work the code still needs - earlier me had no idea what he was doing.
- https://github.com/tardisx/discord-auto-upload
https://github.com/nathants/libaws
It's my first real Golang project and I've really enjoyed the language and tooling so far.