Home

Awesome

<p align="center"> <img src= "./images/birthday.gif" height=230 alt="birthday.gif"/> <br><img src= "./images/logo.png" alt="logo.png"/></br> </p> <p align="center"> <i><strong>An Interactive command line interface for wishing your facebook friends!</strong></i> <p>

<p align="center"> About | To Get Started | Installation | Commands </p>

About

Facebook-Birthday-CLI is an interactive command line interface which helps in wishing your facebook friends and automate the wishes for you so that you never miss your friends birthday's.

<img src= "./images/fb.gif" height= 300 alt="fb.gif"/>

Why the hell should I use this?

IMHO you shouldn't! yes you read that right. If you are one of the following peeps then you should give it a try!

Note: This project was started 2 years back as a fun project when I started learning automation. Due to work & personal commitments I could never finish it so now I got sometime and gave it the closure it needed!

To Get Started

Pre-requisites

Just Download & Install NodeJS globally in your system.

Installation

Let's start by installing facebook-birthday-cli globally with npm (It comes with nodejs installation, so you don't have to do anything :)). Just type the below commands in your command prompt/terminal.

$ npm install --global facebook-birthday-cli

Commands

A global binary facebook will be installed, currently it supports a command - wish which when invoked starts the interactive CLI.

Select the friend you wanna wish

Just run the below command:

$ facebook wish

It starts the Interactive CLI , you would have to enter your credentials first which are encrypted and saved after first login so that you would not have to re-enter the credentials.

After successfull login, you will see all your friends birthday's on the command line interface.

Wish all your friends

Just run the below command:

$ facebook wish --all

Reset option to default settings

$ facebook wish --reset
$ facebook wish --all --reset

The --reset option resets all saved values to default values. i.e. You would have to enter your credentials again and follow the process without any saved configuration.

Tech Stack

How it works?

The key tech which drives this tool is Puppeteer - An popular alternative to selenium these days!

Contributions

For contributors who want to improve this repo by contributing some code, reporting bugs, issues or improving documentation - PR's are highly welcome, please maintain the coding style , folder structure , detailed description of documentation and bugs/issues with examples if possible.

Credits

Title gif

Motion Garten - Do checkout his instagram page!

Music

<img src="./images/tatu.jpeg" width="100px;"/><br/><sub><b>"Nas Ne Dogoniat"</br>t.A.T.u</b></sub><img src="./images/mazzy.jpeg" width="100px;"/><br/><sub><b>"Halah"</br>Mazzy Star</b></sub><img src="./images/hooverphonic.jpeg" width="100px;"/><br/><sub><b>"Mad About You"</br>Hooverphonic</b></sub><img src="./images/eurythmics.jpeg" width="100px;"/><br/><sub><b>"Here comes rain"</br>Eurythmics</b></sub><img src="./images/supertramp.jpeg" width="100px;"/><br /><sub><b>"The Logical Song"</br>Supertramp</b></sub>

License

MIT License

Copyright (c) 2019 Ram Pasala