an offline-capable xkcd webcomic reader written in Go (wip)
Go to file
surtur be97641245
All checks were successful
continuous-integration/drone/push Build is passing
flake: exclude all non-go files
2022-07-08 18:19:46 +02:00
cmd go(version): switch from log to fmt for printing 2022-06-09 23:47:05 +02:00
patches/diamondburned/go flake,go: add,use overlay.nix w/ patched Go 2022-05-20 19:52:31 +02:00
xkcdreader app: use 'latestComic' to set comic fields in UI 2022-05-31 21:21:06 +02:00
.drone.starlark flake,ci: reenable GOPROXY var default 2022-07-08 17:13:13 +02:00
.envrc fix modelines [skip ci] 2022-05-24 14:13:03 +02:00
.example.vimrc rename: .vimrc-example -> .example.vimrc 2022-05-28 19:44:00 +02:00
.gitattributes .gitattributes: register *.starlark with linguist 2022-06-05 01:29:54 +02:00
.gitignore ignore {.drone.{star,yml},*.out} files [skip ci] 2022-05-13 22:36:41 +02:00
.golangci.yml golangci-lint: rm prealloc,{rowserr,sqlclose}check 2022-06-14 14:37:35 +02:00
.pre-commit-config.yaml pre-commit: run tidy earlier [skip ci] 2022-06-14 13:43:31 +02:00
LICENSE initial commit 2022-03-12 10:29:25 +01:00
README.md readme: add {godocsreference,goreportcard} badges 2022-05-13 23:06:21 +02:00
check-fmt add check-fmt convenience script 2022-05-03 18:22:48 +02:00
default.nix flake: add flake-compat+default.nix+shell.nix 2022-04-26 15:08:36 +02:00
flake.lock flake(goModule): filter out non-pertinent files... 2022-06-13 17:39:46 +02:00
flake.nix flake: exclude all non-go files 2022-07-08 18:19:46 +02:00
go.mod go: add xkcd package 2022-05-29 21:05:28 +02:00
go.sum go: add xkcd package 2022-05-29 21:05:28 +02:00
main.go fix: implement forbidigo's suggestion fmt.Println 2022-05-27 22:28:43 +02:00
main_test.go app(main_test): log success 2022-05-27 22:06:30 +02:00
overlay.nix flake,go: add,use overlay.nix w/ patched Go 2022-05-20 19:52:31 +02:00
shell.nix flake: add flake-compat+default.nix+shell.nix 2022-04-26 15:08:36 +02:00

go-xkcdreader

an offline-capable xkcd webcomic reader written in Go

built with nix Cachix pre-commit Build Status Go Report Card Go Documentation

disclaimer

WIP 🚧

ad nix flake ❄

this project is provided as a nix flake for both convenience and reproducibility.
and also because I wanted to play with nix and its flakes just a wee bit.

note on the nix-related steps: make sure you have nix installed and optionally the flake functionality enabled, the Go toolchain and a minimal set of Go development goodies will get pulled in automatically. you might want to speed up the builds by making use of project's build cache: cachix use go-xkcdreader.

that means you can get started:

developing using nix (flakes enabled)

run nix develop in the project folder first, then go {run,build,fmt,...} about your day.

developing using nix (without flakes)

for compatibility with non-flake-enabled systems, this project uses github:edolstra/flake-compat.

run nix-shell in the project folder first, then go {run,build,fmt,...} about your day.

developing without nix

note: you only need to have the Go toolchain and Fyne dependencies installed for this.

if you don't want to use the flake provided or don't have nix installed, you can use the standard go tool: run go {run,build,fmt,...} in the project folder.

COPYING

Licensed under GPL-3.0-or-later (see LICENSE for details).