- Introduction📌
- Technology Used🚀
- Overview⭐
- Getting Started💥
- Installation of Library📑
- Additional files required for Program📑
- Contributing Guidelines📑
- Code Of Conduct📑
- Project Admin⚡
- Contributing is fun🧡
Greeting-Time is a console application that welcomes users with a personalized greeting based on the current time of day, provides a random motivational quote for inspiration, and fetches the real-time weather information using an API request, that keeps informed and motivated throughout the day.
- Fork this Repository.
- Clone the forked repository in your local system.
git clone https://github.com/<your-github-username>/Greeting-Time.git
- Open the
GreetingTime.cpp
file in your local code editor. - Run the code and you will see the greeting according to the time of your system.
- Raise an issue if you want to add a feature or fix a bug.
- Wait for the issue to be assigned and proceed only after the issue is assigned to you.
- Navigate to the project directory.
cd Greeting-Time
- Create a new branch for your feature.
git checkout -b <your_branch_name>
- Perfom your desired changes to the code base.
- Track and stage your changes.
# Track the changes
git status
# Add changes to Index
git add .
- Commit your changes.
git commit -m "your_commit_message"
- Push your committed changes to the remote repo.
git push origin <your_branch_name>
- Go to your forked repository on GitHub and click on
Compare & pull request
. - Add an appropriate title and description to your pull request explaining your changes and efforts done.
- Click on
Create pull request
. - Congrats! 🥳 You've made your first pull request to this project repo.
- Wait for your pull request to be reviewed and if required suggestions would be provided to improve it.
- Celebrate 🥳 your success after your pull request is merged successfully.
For fetching the details of wheather from an API request. The following two libraries are required to be installed:
Installation:
Text files for printing the randomized quotes from the text file according to the current time:
- Mo.txt (For Morning motivation quotes)
- Af.txt (For Afternoon motivation quotes)
- Ev.txt (For Evening motivation quotes)
Text file for fetching the current wheater of a location:
Editing quote text files:
- Make sure to add the hashtag "#" after the last quote so the program can stop reading further.
- Keep Serial number in format so the program can select the quotes randomly.
Editing the wheater location text file:
- Just replace the text only with your city name (like: Bhopal, Delhi)
- To change the location of country, please edit the URL (variable name = user_city) in the source-code
(like: "...&query="+ buffer +",%20Japan")
Read our Contributing Guidelines to learn about our development process, how to propose bugfixes and improvements, and how to build to Greeting-Time.
This project and everyone participating in it is governed by the Code of Conduct. By participating, you are expected to uphold this code.
Rakesh Roshan |