Code Monkey home page Code Monkey logo

pentydesktopassistant's Introduction

Penty Desktop Assistant

GitHub version GitHub version

Penty is a proof-of-concept Desktop Assistant designed in Python Eel. Features for the POC include an email client, link shortener, browser, and a WolframAlpha bot. Since it runs on Eel, it supports a GUI window that runs on Chromium.

pent start screen

Prerequisites

Modules

The easiest way to get up and running with PIP. Requirements are in requirements.txt

Others

Since the POC uses a few OS specific modules, only Windows 7 - 11 is fully supported.

The WolframAlpha API key can be accessed from (https://products.wolframalpha.com/simple-api/documentation/)

Searchbar commands

Apart from answering simple questions, the search bar can also be used to perform quick actions when certain commands are typed in. The commands are not case sensitive.

pent displays a joke

  • {Search term}
    • You can search for almost anything and Penty will spew out a brief description of it. Stuff like when was x born, the national anthem of the Soviet Union, Who is Guido Van Rossum, all work perfectly.
  • IP
    • Displays device IP
  • MAC
    • Displays device MAC
  • Shorten {link address}
    • Returns a shortened link through tinyurl.com
  • Shutdown/ shtdwn
    • Shuts down the device
  • Restart/ restrt
    • Restarts the device
  • Eval {math problem}
    • Returns solutions to complex algebraic equations
  • Download speed/ download
    • Displays the download speed
  • Upload speed/ upload
    • Displays the upload speed
  • About
    • Displays information on the POC
  • System
    • Displays system specs & details

Icon use

Usage (top-left, top-right, bottom-left, bottom-right)

  • Browser
    • Opens a broswer with provided query.
  • Email client
    • Runs a basic gmail client.
  • System
    • Displays device specs & details.
  • Mail password manager

Packaging Pent

Packaging Pent into a distributable is straightforward, and uses PyInstaller. Start by deleting mailcreds.txt. Once deleted, navigate to the source directory through the terminal and run -

python -m eel app.py web --onefile

Most PyInstaller flags except --noconsole are supported. A hacky-workaround replacement is coded into App.py.

pentydesktopassistant's People

Contributors

adeldima avatar jeelrajodiya avatar jeswinsunsi avatar savioxavier avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

pentydesktopassistant's Issues

Migrate to Python logging library

This is basically a suggestion for a development-only feature

I think a logging feature (using Python's inbuilt logging library) might be super useful, for development purposes of course.

Something like:

[11:02:05] Penty App is up and running
[11:02:10] "eval" command executed (query="1+1/2"). Sending data to WolframAlpha...
[11:02:20] "upload" command executed. Determining upload speed using speedtest.net...

Of course, this is just an example of the above feature. Might come handy for future debugging and modification purposes.

You're welcome to decide if you'd like to add logging to your app. If you're willing to add this feature, I'd like to be assigned, if possible.

Windows10 only

Hello,
Great work but it would be nice to add somewhere in your README file that your app is dedicated to Windows10 OS only... Could not work on Mac or Linux as is. No problem, but better to state it ;-)

App has no feature to go back to main page

I just looked at the app and found that there is no link (or perhaps, a button) that allows you to go back where you came from. You're stuck in the send mail webpage with no option to go back to title screen but to hit Alt+Left (in Windows)

You could add a button that always stays at the top-left with the following code:

HTML:

<button id="go-back" onclick="history.back()">
    <img src="img_back.png" alt="Go back">
</button>

CSS:

#go-back {
    /* Adjust values as required */
    position: fixed;
    top: 2%;
    left: 3%;
    /* Add your own code for styling below*/
}

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.