Skip to content
Sign upLog in
← Back to Community

Get your weather in your terminal!!! (safely as well)

Profile icon
RohilPatel

Get Your Weather In Your Terminal

First off, where have you been???

Ok, our school was finally in person and I had not been in school for a while and thus I had not coded in a fat 4 months. I finally decided to come back but this time I've got more projects in the pipeline.

Why did you make this project??

The goal of this project was to make a safe way to get local weather data, because websites can be annoying such as making us remove ad blockers, and even steal our personal data, which in my opinion is a very big deal.

Therefore, I made it so you input your latitude and longitude (doesn't even need to be exactly yours), and better yet is that none of this data is stored, but in upcoming versions of my console stuff, every bit of data stored will be local, and will be safe for you to use!.

Upcoming changes/Ideas

  • Make city name an option to get weather, less specific but still just as accurate

  • Add more commands and features that will make switching to a console even worth it in the first place

Voters
Profile icon
RohilPatel
Profile icon
JWZ6
Profile icon
JadenTang1
Profile icon
Kai_Justice
Profile icon
maxina
Profile icon
cuber1515
Profile icon
CodeSalvageON
Profile icon
ch1ck3n
Profile icon
RayhanADev
Profile icon
Navinor
Comments
hotnewtop
Profile icon
OldWizard209

I don't know why this is overrated. I see that you are using openweathermap's API, and putting in the latitude and longitude of the places. But openweathermap has loads of more functionality, like you can put in the city name rather than the latitude, longitude. I made this a while back with relatively elegant CSS, aswell as metric, imperial and kelvin options, but all I got was 3 upvotes

image

RESULT:

image

i am not hating or being bitter or anything, I am just saying you could take this a lot farther than you have done.

For those concerned, here is the repl:
https://replit.com/@OldWizard209/Weather-Project#index.js

Profile icon
Whippingdot

that repl part at the end is kinda an advert but I guess you can do whatever you want?

@OldWizard209

Profile icon
OldWizard209

HUH? advert? you serious? I am literally posting my REPL, not the post on talk. its not advertising man.

@Whippingdot

Profile icon
RohilPatel
Profile icon
OldWizard209

I am not angry lol. I just find people accusing me a little annoying

@RohilPatel

Profile icon
ch1ck3n

@OldWizard209

not the post on talk.

image

hmmmmmmmmm are you sure about that

Profile icon
OldWizard209
Profile icon
ch1ck3n

@OldWizard209
anyways

check again

it has 6

Profile icon
OldWizard209

*7 (including mine)

lol thanks ;)


@ch1ck3n

Profile icon
Whippingdot

LOOK YOU ARE GETTING UPVOTES FOR POSTING THE LINK AAAAAAAAAAAAAAAAAAAAAAAAAA ADVERTS

dat above thing is da truth but i guess so i shouldn't be calling an old wizard out lol. anyway i know you are a good person so this is me vanishing from the conversation... POOF

@OldWizard209

Profile icon
OldWizard209

bruh. I always have this conversation with you where you accuse me and I try to respond. But this time, I am not even bothering.

@Whippingdot

Profile icon
Whippingdot

i know i don't know why maybe you just do a lot of bad things... lol you don't i know

@OldWizard209

Profile icon
OldWizard209

you just do a lot of bad thing

Thats what you think. Name me one wrong thing I did that should be brought to the attention of the mods.


@Whippingdot

Profile icon
RayhanADev

@OldWizard209
you're fine, nothing wrong.

That's a really kewl project, sorry ReplTalk didn't take to it. Oftentimes it just depends on when you post your project if it gets trending quickly because of a few eyes then you get more visibility.

Side Note: Thanks for removing the link to your post. It really wasn't as big a problem as others made it but thanks anyways.

Profile icon
OldWizard209

That's a really kewl project

Thanks. And also I really appreciate you for apologizing on behalf of ReplTalk. I completely accept the reality that real hardwork projects don't get recognized and overrated users who post low effort projects get all the recognition. But, I guess thats life. Thanks anyways :)

@RayhanADev

Profile icon
RayhanADev

@OldWizard209
haha sure no problem.

Profile icon
RohilPatel

It's about the title lol

@RayhanADev

Profile icon
FlaminHotValdez

kinda off lol the high where I live is 87 and low is 60...

repl gave me 99 and 55

(This is fahrenheit btw)

Profile icon
RohilPatel

Well that's not on me then

@FlaminHotValdez

Profile icon
Whippingdot

maybe try to change it so you can input city names instead?

Profile icon
RohilPatel

I love how nobody reads the description and goes right for the code

@Whippingdot

Profile icon
Whippingdot

no read it, just after i put the comment lol

@RohilPatel

Profile icon
RohilPatel

It only works in the United States and if there are cities that have the same name you will never know if ur getting the right weather data and using coordinates makes you feel like a hacker

@Whippingdot

Profile icon
cuber1515

Really cool!

Profile icon
RohilPatel
Profile icon
ch1ck3n

image

69 69 is apprantely very cold

Profile icon
RohilPatel

Dang it's cold there

@ch1ck3n

Profile icon
FlaminHotValdez

@ch1ck3n
I think 69 69 is in siberia or smth

Profile icon
RayhanADev

Hey welcome back! Kewl project, maybe add a feature so if you input nothing (like on the first step) it uses a default value.

Profile icon
RohilPatel

Yep thank you! Yes! I'll look into that and add it to the next version!

@RayhanADev

Profile icon
Coder100

image


Nice weather we are having

Profile icon
RohilPatel

it is when you stop putting in random junk

@Coder100

Profile icon
Coder100

i put in weather 72 72

@RohilPatel

Profile icon
RohilPatel

if u do it right itll work now

@Coder100