1.0.3 • Published 4 years ago
terminal-locus v1.0.3
Locus
Terminal shortcuts based on MercuryOS Locus.
Take a look at the MercuryOS site!
Locus uses NLP for the creation of quick actions using terminal commands.
Getting Started
- Install locus
- Take a look on some examples and the Native Modules
- Learn how to create your custom module.
Installing
npm install -g terminal-locus
or
yarn global add terminal-locus
How It Works
Syntax:
locus <verb> <nouns>
Locus will use the verb to choose which module to run. The nouns will serve to modify the program behaviour.
Examples:
locus watch Cinemassacre
The command above will call the Navigator native module that redirects watch verbs to a youtube page, querying for Cinemassacre.
locus search restaurants near me
The command above will call the Navigator native module that redirects search verbs to a google page, querying for restaurants near me.
Next Steps
- Better error handling.
- Removing a custom module.
- Make a documentation page.
- Adding NLP together with weight.
- Find a better command instead of 'locus' (too big).
- Automatically create a Workspace for custom modules.