an offline-capable xkcd webcomic reader written in Go (wip)
Go to file
surtur 938f8189cb
go,flake: add a fyne window,nixGL overlay,deps,fmt
* reformat the flake
* create a fyne application, specify deps as both buildGoModule
  buildInputs and packages in devShells
* add nixGL overlay to devShells so that openGL-based apps (such as fyne
  apps) run fine for non-NixOS users
* add build/link flags
2022-05-03 20:22:43 +02:00
.envrc set up direnv 2022-04-26 16:29:31 +02:00
.gitignore set up direnv 2022-04-26 16:29:31 +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 go,flake: add a fyne window,nixGL overlay,deps,fmt 2022-05-03 20:22:43 +02:00
flake.nix go,flake: add a fyne window,nixGL overlay,deps,fmt 2022-05-03 20:22:43 +02:00
go.mod go,flake: add a fyne window,nixGL overlay,deps,fmt 2022-05-03 20:22:43 +02:00
go.sum go,flake: add a fyne window,nixGL overlay,deps,fmt 2022-05-03 20:22:43 +02:00
LICENSE initial commit 2022-03-12 10:29:25 +01:00
main.go go,flake: add a fyne window,nixGL overlay,deps,fmt 2022-05-03 20:22:43 +02:00
README.md readme: add cachix label and instructions 2022-05-03 19:18:22 +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

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).