Odin is a tool for launching web searches in a browser from a terminal.
By default Odin uses the configuration in odin.yaml.
To add new templates and aliases, create your own config file in ~/.config/odin.yaml
.
If you do not wish to inherit from the root configuration, set root: true
in your new config file.
The configuration file is YAML. A simple configuration file might be:
```yaml
root: false
rodarmor.com
. templates mustargs
. we use the join
filter to join them into a space-odin open rodarmor.com kaomoji
willhttps://rodarmor.com/kaomoji
templates: rodarmor.com: https://rodarmor.com/{{args | join}}
#
rc
as an alternaterodarmor.com
, so odin open rc blaster
andodin open rodarmor.com blaster
will do the same thingaliases: rc: rodarmor.com ```
Odin supports the following subcommands:
odin open TEMPLATE ARGS
: Point browser to URL from rendering TEMPLATE
with ARGS
odin print TEMPLATE ARGS
: Render URL TEMPLATE
with ARGS
and print to standard outputodin dump
: Print the current config file to standard outodin help
: Get helpYour feature requests, pull request, suggestions, and additions to the default config are most appreciated!