Skip to content

markroxor/mrmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

69 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Mr. Mark (ALPHA)

A personal customisable assistant integrated with Google assistant for controlling your machines remotely via voice commands, making it compatible with Google Home devices.

alt text

Current functionalities include -

  • Invoking any keystroke including hotkeys.
  • Launching/closing any app.
  • Complete media support.
  • Vocal typing.
  • Remote sleep.

It can do anything you can do using your keystrokes.

Usage -

It is recommended to use a virtual environment before installing dependecies to avoid any conflicts.

Install dependencies -
sudo apt install jq supervisor

if you are using python3 install xlib via
pip install python3-xlib

  1. Sign up as a alpha tester - using this link.
    While in the client/ directory execute.
  2. Install client side dependencies using - pip install requirements.txt
  3. Run the app using -
    supervisord This will return a authentication token - auth_tok.
  4. Open Google Assistant and invoke Mr. Mark as talk to Mr. Mark.
  5. Say - Authenticate me to Mr. Mark and share this authentication token.

Directory structure.

. β”œβ”€β”€ app.py - Heroku app for db handling and scaling GET POST request.
β”œβ”€β”€ client - client side code.
β”‚Β Β  β”œβ”€β”€ app.py - The local server where
β”‚Β Β  β”œβ”€β”€ configure.py - Create machine authentication, saves it in ~/.mrmark_config.json and send a copy to the cloud server.
β”‚Β Β  β”œβ”€β”€ Dockerfile - Configuration for creating docker images. (EXPERIMENTAL)
β”‚Β Β  β”œβ”€β”€ key_mapping.json - Key mapping as per user's preference. User can edit it according to their local configuration.
β”‚Β Β  β”œβ”€β”€ port_forwarding.sh - Script for exposing the localhost to the internet.
β”‚Β Β  β”œβ”€β”€ requirements.txt - Client side dependencies.
β”‚Β Β  └── supervisord.conf - The configuration for servers with supervisord.

β”œβ”€β”€ Procfile - Heroku configuration.
β”œβ”€β”€ readme.md - Usage instructions.
└── requirements.txt - Server side dependencies.

About

A personal assistant to manage your terminal based machines.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors