Coder Social home page Coder Social logo

privacyrespected / alpha Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 39.21 MB

An ongoing virtual assistance

License: Apache License 2.0

Python 24.91% CSS 18.04% HTML 29.94% JavaScript 1.27% Jupyter Notebook 25.85%
python assistant html-css-javascript eel-python assistant-personnel assistant-app assistants

alpha's Introduction

Alpha

Alpha is the ongoing expanding virtual assistance. Version 2 is an upgraded version NOTE: DEVELOPMENT WILL HALT UNTIL FURTHER NOTICE AFTER THE RELEASE OF V3.0

Current Version status:

  1. Version: 2.1

  2. Version status: 2.0 is stable. 2.1 under Beta testing

  3. Development status: Actively

  4. Bug fixes: Addressed

  5. Requiring help in packing this project into an exe (scroll down for dev notes)

Notes

All opinion are based on the internet. Do not feel offended if opinions generated by Alpha is inappropiate or not to your liking. Alpha_main.py is still under development. It is uploaded for no reason

Known problems

Chromium may be required if you run it on VM

Sypnosis

Alpha has been made in attempt to expand as a smart virtual assistant, yet being dumb at the same time to provide quick responses to your questions during your daily lives.

Installation

For coders:

  1. Install python 3.6 (64bit)
  2. Run this line in your terminal python -m setup.py install
  3. Run usersettings.py
  4. Good to go!

Current Functions

  1. Advanced search function
  2. Google web scraping
  3. Urban dictionary web scraping
  4. Stack Overflow web scraping
  5. Alarm
  6. Check system information
  7. Tell time, date, weather
  8. Rickroll you
  9. And more

Privacy and piracy

  1. WE do not hide backend as seen in our source code.
  2. Currently, we have noticed that an inferior socialist supporter, namely, [Meow Zhe Dong] is attempting to commit piracy for burgers. Beware of him.

TODO

Feel free to add more functions by issues and have fun!!

Difficulties faced

The speech recognition function is yet to be improved both in the response speed and accuracy. Currently, it is using Google SpeechRecognition services. As such, one limiting factor is the internet speed. Alternatives include finding an Offline Speech Recognition model as it is impossible to train a speech recognition dataset all by myself, as such, accuracy cannot be controlled too.

EXE version

To be uploaded

NOTE

Alpha V1-V1.3 will not be released due to instability

Developer Notes

Packaging into EXE

You can easily do that with the help of pyinstaller with the following commands in terminal. Installing dependencies

pip install pyinstaller
pip install pyinstaller[encryption]

Then run the following command for alpha_main

python -m eel alpha_main.py web --onefile --noconsole --key=abcdefghijklmnop

Note that alpha_main.py can be replaced by other python programs such as usersettings. "web" is the variable for the folder for all your web UIs (HTML related codes). The onefile attribute puts all files into one single file for asthetics. noconsole attribute is used to hide the terminal but please remove it if you would like to debug the program easily. Finally, key attribute is used for the encoding, it is optional but added for security.

alpha's People

Contributors

privacyrespected avatar tutor-temple avatar

Stargazers

 avatar

Watchers

 avatar

alpha's Issues

missing chrome or chromium

when i run usersettings i get this error message:

Traceback (most recent call last):
  File "usersettings.py", line 78, in <module>
  File "eel\__init__.py", line 142, in start
  File "eel\__init__.py", line 170, in show
  File "eel\browsers.py", line 65, in open
OSError: Can't find Google Chrome/Chromium installation

something similar happens when i run the python script instead:

Traceback (most recent call last):
  File "usersettings.py", line 53, in <module>
    eel.start("homesetting.html",cmdline_args=['--start-fullscreen'], port=1111)
  File "/home/netyx/.local/lib/python3.8/site-packages/eel/__init__.py", line 158, in start
    show(*start_urls)
  File "/home/netyx/.local/lib/python3.8/site-packages/eel/__init__.py", line 186, in show
    brw.open(start_urls, _start_args)
  File "/home/netyx/.local/lib/python3.8/site-packages/eel/browsers.py", line 65, in open
    raise EnvironmentError("Can't find %s installation" % browser_module.name)
OSError: Can't find Google Chrome/Chromium installation

I have chromium installed.

Edit: I can now run the python script after installing chrome but the exe still doesn't work. It would be nice if there is a way to run this without needing chrome

missing module speech_recognition

when i run the alpha_main.py it gives me this error message:

Traceback (most recent call last):
  File "alpha_main.py", line 22, in <module>
    import speech_recognition as sr
ModuleNotFoundError: No module named 'speech_recognition'

but when i try to pip it, this happens:

ERROR: Could not find a version that satisfies the requirement speech_recognition (from versions: none)
ERROR: No matching distribution found for speech_recognition

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.