<astyle=margin-left:1px;margin-right:1px;display:inline-blockhref=https://minio.arsenm.dev/minio/kbdemu><imgstyle=height:18px;width:100pxsrc="https://img.shields.io/static/v1.svg?label=download&message=binary&color=blue"></a></p><h2id=using-precompiled-binary>Using precompiled binary<ahref=#using-precompiled-binaryclass=anchoraria-hidden=true>#</a></h2><p>KbdEmu uses continuous integration to compile. You can find the binary by
clicking the CI badge above, selecting “Ubuntu2004” for the linux build or
“macOS” for the macOS build, and then going to the artifacts tab.</p><h2id=building-from-source>Building from source<ahref=#building-from-sourceclass=anchoraria-hidden=true>#</a></h2><h3id=downloading>Downloading<ahref=#downloadingclass=anchoraria-hidden=true>#</a></h3><p>KbdEmu is hosted in two places, Gitea and Gitlab. Either one can be used as
it is mirrored from Gitea to Gitlab</p><p><aclass=btnstyle=color:#fff;background-color:greenhref=https://gitea.arsenm.dev/Arsen6331/kbdemu><spanclass=iconifydata-icon=cib:gitea></span> KbdEmu</a>
<aclass=btnstyle=color:#fff;background-color:OrangeRedhref=https://www.gitlab.com/moussaelianarsen/kbdemu><spanclass=iconifydata-icon=fa-brands:gitlab></span> KbdEmu</a></p><p>To download kbdemu, you can either use the download button on one of the above, or
you can use the git command</p><p>To clone kbdemu using the command, run one of the following commands:</p><divclass=highlight><preclass=chroma><codeclass=language-bashdata-lang=bash>git clone https://gitea.arsenm.dev/Arsen6331/kbdemu
</code></pre></div><p>Now, you will want to <code>cd</code> into the root of this repo before completing the rest
of these instructions</p><h3id=building>Building<ahref=#buildingclass=anchoraria-hidden=true>#</a></h3><p>Since KbdEmu is written in go, you will need go installed in order to compile it.
Most linux distros call the package providing it either <code>go</code> or <code>golang</code>.</p><p>Once go is installed, you can check that it runs by running</p><divclass=highlight><preclass=chroma><codeclass=language-bashdata-lang=bash>go version
</code></pre></div><p>To compile KbdEmu, run the following commands:</p><divclass=highlight><preclass=chroma><codeclass=language-bashdata-lang=bash>go get github.com/go-vgo/robotgo
go get github.com/BurntSushi/toml
go get github.com/rs/zerolog/log
<spanclass=nb>source</span> .envrc
go build
</code></pre></div><h3id=installing>Installing<ahref=#installingclass=anchoraria-hidden=true>#</a></h3><p>To install kbdemu, run the following command:</p><divclass=highlight><preclass=chroma><codeclass=language-bashdata-lang=bash>sudo install -Dm755 kbdemu /usr/bin
</code></pre></div><p>Once this command completes, to test whether kbdemu was installed properly, run
this command:</p><divclass=highlight><preclass=chroma><codeclass=language-bashdata-lang=bash>kbdemu
</code></pre></div><p>You should get an error warning you that kbdemu cannot find a TOML file. If you do,
kbdemu is properly installed.</p></main></div></div></div><scriptsrc=/main.f6b484f556ad1f3bcf6061082139a2f21fa759f13930c39a25fe4a9f78f35e64122c2d86dffd56e67b292dabbda4095d8077194f196e0e348441c106a9f3d40e.jsintegrity="sha512-9rSE9VatHzvPYGEIITmi8h+nWfE5MMOaJf5Kn3jzXmQSLC2G3/1W5nspLau9pAldgHcZTxluDjSEQcEGqfPUDg=="crossorigin=anonymousdefer></script><scriptsrc=/index.min.519647b94aaacaa6fa73ffc9e4bda4ccc0d6ab69b03000caea7466a9dc6806cf38f9d8c6926c09e49970a5fe43183e0d589a028bbf3b8ef0ef5c98fc6fb78206.jsintegrity="sha512-UZZHuUqqyqb6c//J5L2kzMDWq2mwMADK6nRmqdxoBs84+djGkmwJ5Jlwpf5DGD4NWJoCi787jvDvXJj8b7eCBg=="crossorigin=anonymousdefer></script></body></html>