Configuration for trovu.net
| shortcuts/g | ||
| README.md | ||
trovu-user
Template for creating and managing our own, personal shortcuts.
To get started, fork this repository.
Adding shortcuts
To add a new shortcut, follow the example in the g directory:
- create a new directory using the keyword for its name,
- for instance create
e/to have a new shortcut withe.
- for instance create
- create a file inside the directory with the argument number,
- for instance create
1.txtfor a shortcut with 1 argument
- for instance create
- inside the created file, place the template url,
- like in the given example.
Using the shortcuts
To use them, add the URL to your user repo to Trovu's URL.
For instance, if
- your Github user name is
john-doe - and you wish your Trovu user namespace to be
john
then call Trovu with:
https://trovu.github.io/trovu-web/?#
#namespaces=o,john
&namespace[john]=https://raw.githubusercontent.com/john-doe/trovu-user/master/shortcuts/{keyword}/{argumentCount}.txt