Coder Social home page Coder Social logo

volcano-dragon / greeting-time Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rakesh9100/greeting-time

0.0 0.0 0.0 44 KB

A project in C++ which fetch the time from the system and greet the user according to the time fetched.

Home Page: https://github.com/Rakesh9100/Greeting-Time

C++ 100.00%

greeting-time's Introduction

⭐Greeting-Time⭐

Table of Contents🧾


Introduction📌

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 real-time weather information using an API request, keeping you informed and motivated throughout the day.

Technology Used🚀

Overview⭐

1. The Time on the system is 09:00 AM

Morning_temp

2. The Time on the system is 12:00 PM

Afternoon_temp

3. The Time on the system is 08:00 PM

Evening_temp

(back to top)

Getting Started💥

  • 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.

(back to top)

Installation of Library📑

For fetching the details of wheather from an API request. The following two libraries are required to be installed:

Installation:

(back to top)

Additional files required for Program📑

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:

How to edit the text files

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")

(back to top)

Contributing Guidelines📑

Read our Contributing Guidelines to learn about our development process, how to propose bugfixes and improvements, and how to build to Greeting-Time.

Code Of Conduct📑

This project and everyone participating in it is governed by the Code of Conduct. By participating, you are expected to uphold this code.

(back to top)

Project Admin⚡

Rakesh Roshan
Rakesh Roshan

Contributing is fun🧡

forthebadge

Contributions of any kind from anyone are always welcome🌟!!

Give it a 🌟 if you ❤ this project. Happy Coding👨‍💻

(back to top)

greeting-time's People

Contributors

volcano-dragon avatar rakesh9100 avatar

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.