Giter Site home page Giter Site logo

rahulkumaran / utlyz-cli Goto Github PK

View Code? Open in Web Editor NEW
32.0 2.0 22.0 6.79 MB

Let's you to access your FB account from the command line and returns various things number of unread notifications, messages or friend requests you have.

License: Apache License 2.0

Python 96.31% Shell 3.69%
facebook-client cricbuzz cricket-score cli cli-app click python facebook webscraping beautifulsoup4

utlyz-cli's Introduction

Utlyz

Utlyz is an application that works on the command line and makes life easier for you. If you want to check the score of all ongoing matches in cricket or want to check if you got any new friend requests or notifications on FB, Utlyz is the right application for you! Follow the steps on INSTALL.md to install this and run it on your laptop or dekstp.

image

Currently, Utlyz supports 8 things:

  1. Facebook Access
  2. Checking cricket scores and schedules (from Cricbuzz)
  3. Getting lyrics of songs
  4. Searching on google and wikipedia
  5. Checking news bulletins (from reuters)
  6. Checking football scores (from Goal.com)
  7. Allows you to have access to random XKCD images in a separate XKCD directory.
  8. Doing basic calculations.

  • FacebookCLI

    image

    Let's you to access your FB account from the command line and returns various things number of unread notifications, messages or friend requests you have.

  • Cricket Updates

    image

    Let's you to check score updates and cricket schedules of the current month from your command line itself.

  • Lyrics

    image

    Let's you get the lyrics of whatever song you want. All you need to do is, enter the name of the song after typing in the comannd, and ๐Ÿ’ฅBOOM!๐Ÿ’ฅ You have your song's lyrics in front of you on the command line.

  • Searching

    Let's you to access google and wikipedia from the command line itself! All you need to do is type the --google or --wiki options to do a google search or a wiki search. After typing the commands, you'll be prompted to enter the topic you want to search about. If you do a Google search, it'll display the most popular links related to that particular topic. Just clicking on the link will redirect you to the browser.

    Note : In case of a wiki search, the entire wikipedia data is displayed on the command line apart from tables and images.

  • News

    image

    Let's you get the access to the latest news bulletins from reuters directly on your command line.

  • Football

    image

    Let's you get scores of the ongoing matches and matches that just got over on that particular day.

  • XKCD

    image

    Downloads random XKCD images for you to read in the directory XKCD inside the Utlities folder in your local repository(Laptop or Desktop).

  • Calculator

    image

    Let's you add, subtract, multiply, divide or find the modulus of two numbers.


The functionalities it currently supports are:

1) Facebook updates
--fr			Gives the number of new friend requests you have
--msg			Gives the number of unread messages you have
--notifs		Gives the number of unseen notifications you have
--bdays			Gives the list of all those people who have their birthday on that particular day

2) Cricket updates
--score			Gives the scores of all ongoing and recently finished matches
--schedule		Gives the schedule of all international matches throughout the ongoing month

3) Lyrics
--lyr			Gives the lyrics of the song you enter after executing the command

4) Searching
--google		Gives the links of the most popular sites visited w.r.t a particular topic
--wiki			Gives the whole wikipedia information regarding a topic on the Command Line itself

5) News
--trending		Gives you trending news topics

6) Football
--scores		Gives you the scores of the matches

7) XKCD
--image			Allows you to download XKCD images

8) Calculator
--add			Allows you to add two numbers
--sub			Allows you to subtract two numbers
--mul			Allows you to multiply two numbers
--div			Allows you to divide two numbers
--mod			Allows you to find modulus of two numbers

It's a project in it's budding stage currently and you're most welcome to create issues and PR's. Your comments would be valuable! Please fork and clone the repository and run it in your virtual environment.

Note : Utylz works best with Ubuntu

utlyz-cli's People

Contributors

anandwana0011 avatar jigar3 avatar justnealpatel avatar kvmsc avatar namantw avatar rahulkumaran avatar rohithgilla12 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

Watchers

 avatar  avatar

utlyz-cli's Issues

Add a Command Line Calculator function

add a file calc.py to the Utilities folder where the function must perform atleast the 5 basic arithmetic operations. Make sure it works while on virtual environment.
for eg: If you say calc --add "2 + 5" or just calc --add, the function must perform the add operation.
The way you choose to implement it is left to you

Beautify README.md

Currently, README.md has all the info. Your job is just to make it look more attractive.

test for windows

The project hasn't been tested on windows so far. Please do try it out on Windows and let me know if you face any problems.

add a command line feature to access github

Add a command line application that helps us to access github from the command line!
It should allow you to login, check your repositiories, give your list of contributions over the past 1 month and also if possible allow you to go to other people's github id's and check their repositories!

update INSTALL.md under docs folder

Currently, this CLI app supports around 7-8 features but the INSTALL.md has info regarding 5 only.
Please add the missing features in that file and also make any other changes that are necessary!

Add a GUI for this particular project.

If anyone is interested in adding a GUI for this project, then do let me know.
It needs to basically be an online portal for anyone who wants to access multiple things at once.

Basically having FB, Wiki, Google Search, News and so on under one roof and website :)

Suggest new functionalities that can be implemented

Please comment here to suggest new functionalities that you think should be implemented and give a one line reason as to why we should?

If it's convinving and the idea is actually good, then you'll get points and it'll be opened up as an issue

Refine the code in news.py

In the file news.py, there are 2 bugs.
(1) There's this "Continue Reading" which gets printed. Remove that part but everything else should remain the same.
(2) Print "->" only when there is some news bulletin which gets printed. Currently, if you observe, it actually gets printed on lines where there's no news bulletin.

Rectify these 2 bugs

Update the README.md and INSTALL.md

As there has been changes made in the structure of the application, these files need to get updated

Would you like to take this issue?
Yes

create a proper industry standary file structure for this particular project

Create an industry standard file structure with folders such as build,docs,app and others that are necessary

app folder should contain all the .py files except setup.py
build must contain setup.py and prep.sh (please rename it to build.sh)
docs must contain all .md files except LICENSE.md and README.md

Each of these docs must be added with a README.md explaining what that particular folder contains.

I except you guys to add all those important folders which are required! The 3 mentioned above are compulsory apart from which I expect you guys to have atleast 1 more file!
Make sure no commits are made to the programs. You're allowed to modify only file names basically!

Contact me for any doubt ๐Ÿ˜„

Add CONTRIBUTIONS.md

Since there's no CONTRIBUTIONS.md in place in this repository, beginners can start off with writing a CONTRIBUTING.md

Once this issue is assigned, I'll be briefing the assignee about the points that must be added to the file.

Re implement all existing utilities using the lxml or scrapy modules

The particular issue focusses on re implementing all the existing utilities because currently the bs4 module is being used. But there have been a couple of issues with bs4 so we'll be shifting to scrapy or lxml. Preferably scrapy.

NOTE : At once, one person can work "only" on one of the utilities.

The fbcli utility might be slightly difficult so that carries 30 points and all others carry 20.

calc.py need not be reimplemented

PS : This issue is for everyone, so please feel free to do this! But do mention which utility you'll be working on in the comments section 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.