GithubHelp home page GithubHelp logo

friday's Introduction

Friday

An assistant that does things elegantly.

The assistant is being redesigned from ground up.

The program is not working right now.


Overview

You send voice commands using Google Assistant, the commands are then relayed to the python scripts using IFTTT. An IFTTT applet is used to send Google Assistant voice command over telegram. The scripts keep looking for incoming commands and finally run whatever command that was recieved.

Installation

Create a Virutal Env

foo@bar:~$ virutalenv -p python3 venv
foo@bar:~$ source venv/bin/activate

Install requirements

foo@bar:~$ pip install -r requirements.txt

IFTTT Setup (with telegram)

Open this applet with a Google Account. Authorize google assistant and telegram. Go ahead to edit the IFTTT applet and remove the text "to Telegram" to ""Friday".

Telegram API Keys

Open this link and login with your telegram account. Put the image here Click the link where it says "Create a new application". Fill the form and submit it to get the API ID and API HASH for your telegram app. Copy the API ID and API HASH from the telegram's website to commander.py file .

Usage

python3 daemon.py First time when running the application the, it would ask for your telegram phone number and telegram code. Enter those and continue.

Project structure

The project is designed to be plug and play with any service. All the modules that are designed to be a service are placed in the services folder.
You are welcome to add any service as long as it follows the API.

Here is a quick run-down of the function of each script.

Docstrings are yet to written for some file.
  • daemon - runs commander and passes the command to service handler
  • commander - gets the command from wherever, whether it is flask server or telegram message or even command line. API : get_command

friday's People

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.