![]() | ![]() |
|---|---|
| otaclock | otaclock-mgx-emulator |
This is not the original Konami Otaclock (2006), it's a re-imagined widget.
This otaclock implementation features:
It is written in Go and renders with Ebitengine.
libgl1-mesa-devlibxrandr-devlibxcursor-devlibxinerama-devlibxi-devlibxxf86vm-devlibasound2-dev
(see task install-linux-deps).CGO_ENABLED=0 from any platform.(Optional) environment variables:
ANTHROPIC_API_KEYOPENAI_API_KEYOTA_LLM_PROVIDER (claude | openai)OTA_24H_CLOCK (1 / true)ANTHROPIC_MODELOPENAI_MODELControls:
exit (or press
Esc when the chat is closed) to dismiss.+ / - to scale the widget; drag the edges to resize.# running with go
go run mian.go
task build-windows # dist/otaclock2-windows-amd64.exe (cross-compiles anywhere)
task build-linux # dist/otaclock2-linux-amd64 (CGO; build on Linux)
task build-macos # dist/otaclock2-darwin-<arch> (CGO; can only build on a Mac)
task build-all # local binary + Windows cross-compile
A GUI app in a container needs the host's X11 socket/display shared with the container. Pass an audio device (e.g. /dev/snd) if sound is needed.
$ docker pull aamillan/otaclock:master
$ xhost +
access control disabled, clients can connect from any host
$ docker run --rm -it \
--name otaclock2 \
-e DISPLAY="$DISPLAY" \
-v /tmp/.X11-unix:/tmp/.X11-unix:rw \
--device /dev/snd \
aamillan/otaclock:master
Content type
Image
Digest
sha256:e8fe7c515…
Size
111.9 MB
Last updated
5 months ago
docker pull aamillan/otaclock