CYGNUS, the Cynical AI, combines snarky responses with uncanny aggression.

Overview

C.Y.G.N.U.S AI

CYGNUS, the Cynical AI, combines snarky responses with uncanny aggression. (because JARVIS as a little piece of shit is the best headcanon ever!) Using Speech Recognition as user input, Cygnus can perform several simple tasks with a voice feedback.

Some things Cygnus can do:

Online Operations
# get my IP
# search Wikipedia
# play Youtube Videos
# search Google Web & Google Scholar
# send Whatsapp Message (as long as logged into Whatsapp for Web)
# send Email
# get News (latest headlines)
# predict Weather & Time
# perform calculations through Wolfram Alpha
# get Trending Movies through TMDB
# get Random Space Facts from: fungenerators.com (for fun & because I love Space)
# get Random Jokes from: icanhazdadjoke.com (again, for fun)
# get Random Advice from: api.adviceslip.com (again, for fun purposes)

Offline Operations
# open Webcam Notepad, Calculator
# open Microsoft Word, Powerpoint, Spreedsheets
# open Computer Health, Settings, CMD
# open 4K Downloader, Photoshop, Skype, Unity Editor, iTunes (if you have these programs installed)
# Be a Snarky, Witty Talk-back AI Bot

System Requirements (install using pip)

CYGNUS works primarily on Python for now and requires the below mentioned imports to work:

import speech_recognition as sr
import pyttsx3
import wikipedia
import wikipediaapi
import time
import wolframalpha
import json
import requests
from newsapi import NewsApiClient
import pywhatkit as kit
from turtle import *

In-built libraries:

Below mentioned libraries are pre-installed with Python but still need to be imported:

import os
import datetime
import webbrowser
import subprocess
from decouple import config  
from datetime import datetime
from random import choice 
from email.message import EmailMessage
import smtplib

Project Specific Imports:

Below mentioned imports are project specific files that contain the online and offline functions that make CYNUS work.

# imports from fun_codes.py file in the functions folder
from functions.fun_codes import heart, finger   

# imports from the online_ops.py file in the functions folder 
from functions.online_ops import search_wikipedia, play_youtube, search_google, send_email, my_ip, weather_report, \
    get_news, wolfram_alpha, google, links, playlist, dunyazatde, scholar  

# imports from the os_ops.py file in the functions folder
from functions.os_ops import paths, open_notepad, open_webcam, open_cmd, open_calculator, \
    open_powerpoint, open_spreadsheets, open_health, open_downloader, open_photoshop, \
    open_skype, open_unity, open_itunes, open_settings

# imports from the utils.py file
from utils import opening_text, hello, nothing, who_you, sorry, be_my_friend, \
    what_is_life, like_you, hate_you, rude, am_good, how_are_you, your_age, my_name, \
    who_made_you, favorite_song, bored, favorite_actor, favorite_book, \
    favorite_author, favorite_story, favorite_movie, location, dreams, work

Commands

Below is a list of some of the commands you can try giving the AI:

"search Wikipedia" or "Wikipedia" to open Wikipedia API

"open YouTube" or "i want to watch YouTube" or "YouTube" to play YouTube Video

"open Google" to open Google in the browser

"search google" to open search keyword in Google browser

"homework help" or "homework" or "help me with school" to open Google Scholar

"weather" or "how is the weather" to open Weather predictions for your city

"time" or "what is the time" to open time prediction

"news" to open Latest Trending News stories in NewsApi

"calculate" or "math help" to open Wolfram Alpha for calculations

"log off" or "sign out" to shut down the program

Please also try talking to the AI, asking random questions beyond the normal tasks listed above.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

Copyright Exclusive to Simran Farrukh

You might also like...
This is a sport analytics project that combines the knowledge of OOP and Webscraping
This is a sport analytics project that combines the knowledge of OOP and Webscraping

This is a sport analytics project that combines the knowledge of Object Oriented Programming (OOP) and Webscraping, the weekly scraping of the English Premier league table is carried out to assess the performance of each club from the beginning of the season to the end.

Combines MLflow with a database (PostgreSQL) and a reverse proxy (NGINX) into a multi-container Docker application

Combines MLflow with a database (PostgreSQL) and a reverse proxy (NGINX) into a multi-container Docker application (with docker-compose).

Decentra Network is an open source blockchain that combines speed, security and decentralization.
Decentra Network is an open source blockchain that combines speed, security and decentralization.

Decentra Network is an open source blockchain that combines speed, security and decentralization. Decentra Network has very high speeds, scalability, asymptotic security and complete decentralization.

Auto-Lama combines object detection and image inpainting to automate object removals
Auto-Lama combines object detection and image inpainting to automate object removals

Auto-Lama Auto-Lama combines object detection and image inpainting to automate object removals. It is build on top of DE:TR from Facebook Research and

DShell, a tool that combines with discord.py and Jishaku to present to you, shell channels.
DShell, a tool that combines with discord.py and Jishaku to present to you, shell channels.

Discord shell or dshell for short is a Python package that combines with discord.py and Jishaku to transform an ordinary Discord channel into one capable of running bash commands using a Discord bot.

A Python Library to interface with Flickr REST API, OAuth & JSON Responses

Python-Flickr Python-Flickr is A Python library to interface with Flickr REST API & OAuth Features Photo Uploading Retrieve user information Common Fl

A Python Library to interface with LinkedIn API, OAuth and JSON responses

#Overview Here's another library based on the LinkedIn API, OAuth and JSON responses. Hope this documentation explains everything you need to get star

Proxy server that records responses for UI testing (and other things)

Welcome to playback-proxy πŸ‘‹ A proxy tool that records communication (requests, websockets) between client and server. This recording can later be use

Asyncio http mocking. Similar to the responses library used for 'requests'

aresponses an asyncio testing server for mocking external services Features Fast mocks using actual network connections allows mocking some types of n

StackStorm (aka Analyzing basic network responses to novel classes
Analyzing basic network responses to novel classes

novelty-detection Analyzing how AlexNet responds to novel classes with varying degrees of similarity to pretrained classes from ImageNet. If you find

πŸ’› Code and Dataset for our EMNLP 2021 paper:
πŸ’› Code and Dataset for our EMNLP 2021 paper: "Perspective-taking and Pragmatics for Generating Empathetic Responses Focused on Emotion Causes"

Perspective-taking and Pragmatics for Generating Empathetic Responses Focused on Emotion Causes Official PyTorch implementation and EmoCause evaluatio

(A)sync client for sms.ru with pydantic responses

🚧 aioSMSru Send SMS Check SMS status Get SMS cost Get balance Get limit Get free limit Get my senders Check login/password Add to stoplist Remove fro

GUI implementation of a Transformer chatbot. Suggests amicable responses to messages from friends.
GUI implementation of a Transformer chatbot. Suggests amicable responses to messages from friends.

conversation-helper GUI implementation of a Transformer chatbot. Suggests amicable responses to messages from friends. Screenshots Upcoming Release Im

Python script to check if there is any differences in responses of an application when the request comes from a search engine's crawler.
Python script to check if there is any differences in responses of an application when the request comes from a search engine's crawler.

crawlersuseragents This Python script can be used to check if there is any differences in responses of an application when the request comes from a se

A middleware to log the requests and responses using loguru.

Django Loguru The extension was based on another one and added some extra flavours. One of the biggest problems with the apps is the logging and that

This is the mail server that handles responses from the Contact Form
This is the mail server that handles responses from the Contact Form

mailserver About This is the mail server that handles responses from the Contact Form Contributors ✨ Thanks goes to these wonderful people (emoji key)

Bot to connect a real Telegram user, simulating responses with OpenAI's davinci GPT-3 model.

AI-BOT Bot to connect a real Telegram user, simulating responses with OpenAI's davinci GPT-3 model.

Gpt2-WebAPI - The objective of this API is to provide the 3 best possible responses to sentences that the user would input via http GET request as a parameter
Bot to connect a real Telegram user, simulating responses with OpenAI's davinci GPT-3 model.

AI-BOT Bot to connect a real Telegram user, simulating responses with OpenAI's davinci GPT-3 model.

Thempra 2 Dec 21, 2022
Fully Automated YouTube Channel ▢️with Added Extra Features.

Fully Automated Youtube Channel β–’β–ˆβ–€β–€β–ˆ β–ˆβ–€β–€β–ˆ β–€β–€β–ˆβ–€β–€ β–€β–€β–ˆβ–€β–€ β–ˆβ–‘β–‘β–ˆ β–ˆβ–€β–€β–„ β–ˆβ–€β–€ β–ˆβ–€β–€β–ˆ β–’β–ˆβ–€β–€β–„ β–ˆβ–‘β–‘β–ˆ β–‘β–‘β–ˆβ–‘β–‘ β–‘β–’β–ˆβ–‘β–‘ β–ˆβ–‘β–‘β–ˆ β–ˆβ–€β–€β–„ β–ˆβ–€β–€ β–ˆβ–„β–„β–€ β–’β–ˆβ–„β–„β–ˆ β–€β–€β–€β–€ β–‘β–‘β–€β–‘β–‘ β–‘β–’β–ˆβ–‘β–‘ β–‘β–€β–€β–€ β–€β–€β–€β–‘

sam-sepiol 249 Jan 2, 2023
A free and open-source chess improvement app that combines the power of Lichess and Anki.

A free and open-source chess improvement app that combines the power of Lichess and Anki. Chessli Project Activity & Issue Tracking PyPI Build & Healt

null 93 Nov 23, 2022
Flask-Rebar combines flask, marshmallow, and swagger for robust REST services.

Flask-Rebar Flask-Rebar combines flask, marshmallow, and swagger for robust REST services. Features Request and Response Validation - Flask-Rebar reli

PlanGrid 223 Dec 19, 2022
Flask-Rebar combines flask, marshmallow, and swagger for robust REST services.

Flask-Rebar Flask-Rebar combines flask, marshmallow, and swagger for robust REST services. Features Request and Response Validation - Flask-Rebar reli

PlanGrid 223 Dec 19, 2022
Implementation of TransGanFormer, an all-attention GAN that combines the finding from the recent GanFormer and TransGan paper

TransGanFormer (wip) Implementation of TransGanFormer, an all-attention GAN that combines the finding from the recent GansFormer and TransGan paper. I

Phil Wang 146 Dec 6, 2022
Combines Bayesian analyses from many datasets.

PosteriorStacker Combines Bayesian analyses from many datasets. Introduction Method Tutorial Output plot and files Introduction Fitting a model to a d

Johannes Buchner 19 Feb 13, 2022
Combines power of torch, numerical methods to conquer and solve ALL {O,P}DEs

torch_DE_solver Combines power of torch, numerical methods and math overall to conquer and solve ALL {O,P}DEs There are three examples to provide a li

Natural Systems Simulation Lab 28 Dec 12, 2022
3DMV jointly combines RGB color and geometric information to perform 3D semantic segmentation of RGB-D scans.

3DMV 3DMV jointly combines RGB color and geometric information to perform 3D semantic segmentation of RGB-D scans. This work is based on our ECCV'18 p

Владислав ΠœΠΎΠ»ΠΎΠ΄Ρ†ΠΎΠ² 0 Feb 6, 2022