Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

184
Views
how to automatically download any image from a url to your phone with vanilla javascript or node js?

I know this is a huge thing , I have no idea what to do, just need some directions. simply i want to download hot/top post images (1-5) to my phone from reddit-api automatically every 24 hours. how can i approach this?

ps: i can work with MERN stack

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

I can think of 2 approaches. But I'm not sure if this is the best solution.

First Approach

Write a mobile application by using React-Native, Flutter, etc. Run the application in the background and use a cronjob to get the image every 24 hours.

Second Approach

If you don't want to write a mobile application:

To get the image from Reddit. If Reddit-API didn't work, you have to mess with web scraping and Javascript have plenty of libraries to do this:

  • Puppeteer
  • Playwright

For doing this task every 24 hours you can use

  • Cronjob

and when you get the image, rather than download the image to the phone you can save it on your computer or the cloud:

  • AWS s3
  • Azure blob
  • Google cloud storage

or send it through chat like:

  • Facebook (Facebook API)
  • Twitter (Twitter API)
  • Telegram (Telegram API)
  • LINE (LINE API)

but if you want to download the image to your phone and the image was saved on the local computer, you have to connect the phone with the computer and use ADB. It's a command-line tool that lets you communicate with an Android device (If your phone is an Android) that is connected over USB and it has a command to pull the image to the phone

  • adbkit
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!