Skip to content
/ yoda Public
forked from yoda-pa/yoda

Wise and powerful personal assistant, inside your terminal

License

Notifications You must be signed in to change notification settings

ybfe1853/yoda

 
 

Repository files navigation

yoda

Wise and powerful personal assistant, inside your terminal


Build status SonarCloud Quality Status License Project status

Install, how to

Requirements

Run, how to

Clone this repository and create a virtual environment using Python 2 in the cloned directory (virtualenv -p /usr/bin/python2 venv). Steps after that:

Instead of pip install --editable . you can use pip install . if you don't intend to make any changes in the code.

Use this package, how to

chat

This package contains a chatbot too! The chat command can be used to chat with it

You can test the chat functionality on api.ai agent website here

dev

This command group contains some sub-commands that may be helpful for developers and tech-geeks.

  • speedtest

  • url

  • hackernews

diary

This command can be used to maintain a personal diary, roughly based on the concept of Bullet Journal.

love

This command can be used to maintain a profile of someone you love.

money

For tracking money, this is.

Idea list

For creating list of ideas, type

# To add idea
$ yoda ideas add --task <task_name> --inside <project_name>

# To show list of ideas
$ yoda ideas show

# To remove a task from idea
$ yoda ideas remove --task <task_name> --inside <project_name>

# To remove an idea completely
$ yoda ideas remove --project <project_name>

learn

This command group contains commands that, helpful in learning new things, will be. Yeesssssss.

  • vocabulary: For enhancing your vocabulary and tracking your progress.

  • flashcards: for learning anything! (inspiration)

    # create new set (remember to keep the name to one word)
    $  yoda flashcards sets new english
    
    # modify set
    $  yoda flashcards sets modify english
    
    # list all sets
    $  yoda flashcards sets list
    
    # select a study set
    $  yoda flashcards select english
    
    # create new card in selected set (card name length can be more than 1 word)
    $  yoda flashcards cards new Oxford comma
    
    # Know which set is selected and its information
    $  yoda flashcards status
    
    # study the selected study set. This will show you all the cards in a study set
    # one by one.
    $  yoda flashcards study
    
  • define: to get different meanings of a word. This definition search will be automatically saved, so that while you are working on your vocabulary, you can come through the new word as well.

Aliasing

This command group contains commands to alias cumbersome commands.

# before: shortening a url
$ yoda url shorten google.com

# alias shorten to be s
$ yoda alias new "shorten" "s"

# can now use s in place of shorten
$ yoda url s google.com

# or alias the whole command as us
$ yoda alias new "url shorten" "us"
$ yoda us google.com

# show your current aliases
$ yoda alias show

# delete aliases
$ yoda alias delete "us"
$ yoda alias delete "s"

feedback

To create an issue in the github repository simple thing that shows a link. Yeesssssss.

Packages and services used

  • Click: for building command line application
  • pychalk: Colors in terminal
  • apiai: api-ai for natural language understanding
  • pyyaml: for parsing yaml files
  • emoji: emojis!
  • lepl: for formatted parsing
  • pycrypto: To encrypt / decrypt your password
  • pyspeedtest: To test network bandwidth
  • forex-python: Foreign exchange rates and currency conversion
  • dulwich: for git
  • PyGithub: for using Github API v3
  • Gravit: for creating the logo
  • Yoda's illustration SVG was taken from here

Contribute, you must

Please refer to the contributing guidelines for contributing to this project.

In the news

About

Wise and powerful personal assistant, inside your terminal

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%