I found out that Google Translate provides a hidden but freely available Text-To-Speech API and used it to improve the read aloud feature in GoBlog. Just let this post be read aloud right here to see how it looks now. 😉
Tags: GoBlog
SQLite without Cgo
On Saturday morning I experimented a bit. Whenever I used SQLite in a Go application, I used the popular package mattn/go-sqlite3. Not a bad choice, after all it implements the database/sql interface. One drawback, however, is the need for a C compiler, since Cgo is used to run the original SQLite code in the background.
Private diary with GoBlog and Tailscale
Yesterday I wrote about Tailscale. Really cool service! And I’m a little bit obsessed with it, too. Now that I have connected my devices to a network, I had the idea to make my GoBlog diary available only via Tailscale instead of a public domain.
Performance obsession
I’m a bit obsessed when it comes to the performance of my blog (and GoBlog). But I think I have already achieved a very good result.
GoBlog now has its own blog where I will tell about updates.
This time I acquired the domain after I started the project for a while. 😂
“Building A Self-Hosted Journal”
In addition to Colin Walker and myself, Kev Quirk now seems to be using blogging software for journaling as well. Wordpress, self-hosted on his NAS.
go-shutdowner: Simple graceful shutdowns in Go
As I already mentioned, I’m trying to modularize parts of GoBlog to make the code more organized and to be able to test it better (thanks to the tests, I always notice small bugs that I can then correct).
Tests for GoBlog
Recently I’ve been investing more time in refactoring and creating unit and integration tests for GoBlog. After all, I don’t want to just make sure my blog is working properly through trial and error, I want to be able to prove that with automated tests.
Today’s Homebrew Website Club inspired me to implement two new GoBlog features:
- Support for OpenSearch: I can now use my blogs and diary as a search engine in Firefox.
- An easter egg. Do you remember Konami Code? 😉
I refactored GoBlog to avoid global variables wherever possible (with the goal to make it easier to create unit tests) and I hope I didn’t introduce any new bugs. 🤞