gohome

command module
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 20 Imported by: 0

README

GoHome

Util to show current worktime and possible leave times with Matrix integration.

example view of current worktime

Getting started

To download and install the utility execute the following commands:

go install github.com/sbreitf1/gohome@v1.5.0

Now start it with gohome from command line.

You will probably be asked to enter a Matrix host. Paste the same host you visit in your browser (including protocol and path) here. Finally, you need to enter your Matrix credentials.

Login example

These values are stored in ~/.config/gohome (XDG compatible) and are used in all following runs. You can enter an empty password here to only store host and username. You will be prompted for your password on every run.

Old configs in ~/.gohome will be automatically migrated.

User Config

You can edit your user settings in ~/.config/gohome/userconfig.json. Following values are available:

Key Description
TargetTime A target time as provided by parameter -t in format 08:00.

Use parameter --save-config to persist command line parameters in user config.

Thanks

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL