myw
June 24, 2025, 6:07pm
1
Hello!
If you’re like me and spend most of your time in the terminal in office, you might sometimes want to play a move or two while waiting for builds or tests to finish. ymattw/tenuki now lets you do just that—enabling you to play OGS games and stay low profile right from your terminal.
It’s kinda a spiritual successor to termsuji —kudos to Lvankeulen.
14 Likes
Groin
June 24, 2025, 7:20pm
2
That info should be put in the “other resources” on the main site
I love this! Will test very soon Thank you!!
myw
June 25, 2025, 6:33am
4
Hi, I believe 3rd Party Apps for OGS
is the right category.
1 Like
myw
June 25, 2025, 6:35am
5
Thanks for your interest! FYI I’ve been developing using a symlinked dependency pkg googs
and forgot updating the go.mod for a while, if you encountered crashes, please fetch the latest revision.
1 Like
EDITED:::
Ok, got it. You don’t need to put the secret key
I get a 401:
failed to request token: server responded “401
Unauthorized” for “/oauth2/token/”
Config it’s ok?
myw
June 25, 2025, 12:07pm
7
Sorry for your trouble… Exactly, the client secret must be unset for public oauth2 applications. I will update the doc tonight.
1 Like
Feijoa
June 26, 2025, 3:12am
8
This is really great! It’s working in Windows Terminal with WSL Ubuntu:
I don’t know anything about Go (the programming language), but after your latest fix I was able to write this nix script to build it:
let
# nixos-25.05 from 2025-05-29
nixpkgs = fetchTarball {
name = "nixpkgs";
url = "https://github.com/NixOS/nixpkgs/archive/7848cd8.tar.gz";
sha256 = "0lscn3m2z2zs29k17c8901cpfgv6j4rrac1bpmslycr6mz8i64wb";
};
pkgs = import nixpkgs {};
in
pkgs.buildGoModule rec {
pname = "tenuki";
version = "7dee01d"; # latest as of 2025-06-25
src = pkgs.fetchFromGitHub {
owner = "ymattw";
repo = pname;
rev = version;
hash = "sha256-XOevej74FJMwLZfS5Hn1XtIW1wtEZOMwUl3Z2w+MbJA=";
};
vendorHash = "sha256-4VutDQNvrGtfIsR1rLLHVhyC8gHx4jGNPpdSbtUxwkc=";
}
Maybe you should tag this version as v1.0 or v0.1 or whatever you are comfortable with?
1 Like
myw
June 26, 2025, 12:43pm
9
Thank you for the feedback! Glad to hear it also works with WSL. There are still a few things I’d like to do first before tagging:
Move the hardcode “secret.json” to $XDG_STATE_HOME
Support other clock systems (fischer at least)
CI/CD workflows to automatically release (you won’t need to package yourself)
I will make these happen using my next chunk of free time..
2 Likes