Yoda, a personal assistant for the Gnu / Linux command line

yoda

In the next article we are going to take a look at the personal assistant Yoda. I found this one looking for cool stuff on GitHub. As I say, Yoda is a personal command line assistant which can help us to perform trivial tasks on Gnu / Linux. It is a free, open source application written in Python.

It must be said that it is advisable to test Yoda in a virtual environment. Not just Yoda, but any Python application so they don't interfere with globally installed packages. Yoda requires Python 2 and PIP. If PIP is not installed on your Ubuntu, you can check an article that we have published in this blog It's been a while to get hold of it.

Install Yoda, the command line personal assistant

Once we have PIP installed on our system, we will use git clone to get hold of the program. We will only have to open a terminal (Ctrl + Alt + T) and write:

git clone https://github.com/yoda-pa/yoda

The above command will create a directory called "yoda" in our current working directory and clone all the content into it. We will access the yoda directory:

cd yoda/

Next we will execute the following command to install Yoda app:

pip install .

Act quickly. consider the period (.) at the end of the previous command.

Configure Yoda

First, we will launch the configuration for save our information on the local system. To do so, run:

yoda setup new

The previous order will force us to answer the following questions:

Yoda create settings

Our password will be saved in the encrypted configuration file, so there is no need to worry. By default, our information will be stored in the directory ~ / .yoda.

For check current configuration, run:

yoda setup check

For delete an existing configuration, we will only have to write in the terminal (Ctrl + Alt + T):

yoda setup delete

Use of Yoda

Who wants can know everything that this wizard can do for the user at their GitHub page. The following is a list of some of the things we can do with Yoda.

Chat with Yoda

We will be able interact in a basic way with the program using the chat command as shown below:

Yoda who are you

yoda chat who are you?

Test your internet speed

We will be able to ask Yoda about the speed we have of the Internet. To do so, run:

Yoda speedtest

yoda speedtest

Shorten and expand URL

Yoda also helps shorten any url writing something like:

Yoda URL shortening

yoda url shorten https://ubunlog.com

For expand a shortened url we will write:

Yoda URL expand

yoda url expand https://goo.gl/Pn1EeU

Read the news from Hacker News

I usually take a look at the Hacker News website. Anyone who wants to can read the news on this page using Yoda as shown below:

Yoda HackerNews

yoda hackernews

Yoda will show one piece of news at a time. To read the next news, just type "y" and press Enter.

Manage personal journals

yoda diary

  1. We can also keep a personal journal to record important events. For create a new diary we will use the command:
yoda diary nn
  1. To create a new note, you will have to execute the previous command. If we want see all notes we will write:
yoda diary notes
  1. We will not only be able to write notes. Yoda can also help us create tasks. For create a new task, we will execute:
yoda diary nt
  1. For view the task list, we will write in the terminal:
yoda diary tasks
  1. If we have a task as incomplete, we will execute the following command to write the serial number of the task to complete it:
yoda diary ct
  1. We will be able analyze tasks for the current month at any time using the command:
yoda diary analyze

Take notes on our contacts

First of all, we must launch the configuration for store the details of our contacts. To do so, run:

yoda love setup

Here we will write the details of our contact:

yoda love setup

To see them person details, run:

yoda love status

For add birthday of the contact writes:

yoda love birth

yoda love addbirth

Track money expenses

We will not need a separate tool to control our financial expenses. We can do this with Yoda. First, we will launch the configuration to control money expenses using the command:

yoda money setup

Here we will write our currency code and the initial amount:

Yoda money setup

Learn English vocabulary

This is good for knowing words in English, although the definitions will also be given to us in English. Yoda is going to help us learn random words in english and to follow our learning progress.

To learn a new word, we will write:

Yoda vocabulary word

yoda vocabulary word

This will show us a random word. Press Enter to show the meaning of the word. Yoda will ask us if we already know the meaning of the word.

Help

Plus, Yoda can help you do other things, like finding the definition of a word and creating flashcards to easily learn anything. For get more details and a list of available options, see the help section by typing:

Yoda Help

yoda --help

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Leonardo Figueiredo Camara said

    Fabio Neves

  2.   David Aviles Espinola said

    Pucha and I just have a problem with a team with UBUNTU

  3.   Roman guazo said

    Good entry, I had been looking for something similar for some time but

    What happens if I install it in my ubuntu and not in virtual environment? affect something?

    The only thing I want to do with YODA is keep a JOURNAL since I don't like RedNoetebook, and therefore the entries are somewhat long. Can I do that with YODA?

    If I don't like it, how can I uninstall it?

  4.   Damian Amoedo said

    I think you can find a solution to your doubts on the project's GitHub page https://github.com/yoda-pa/yoda. hello2.