User avatar
Botspot
Posts: 1284
Joined: Thu Jan 17, 2019 9:47 pm
Location: Texas
Contact: Website

Easiest/secure way for a bash script to upload data to cloud?

Fri Mar 20, 2020 11:37 pm

Pi Power Tools - the handy Raspbian Image editor - needs some sort of feedback mechanism.
Picture a question box where users can ask questions, provide suggestions, etc.
Later on, I may develop an app store for Raspberry Pi. To function, it would need some sort of popularity-reporting mechanism. Somehow, my bash scripts need a simple way to report data to the Internet.
Is there a practical way to do this?

I have considered:
  • Having the bash script send an email. Problem is, AFAIK all email-sending utils need a email address, server domain url, and password. Any user could easily find those credentials and tamper with that email account.
  • Having the script upload a text file to Google Drive. Same credential problem as before - to upload to a Google Drive, you need credentials. And credentials can be misused very easily.
  • Send some kind of private message to a server. If anybody is familiar with sending PMs from a terminal please let me know.
Ever wished you could "open" a RaspiOS .img file? Well now you can! I've developed Pi-Power-Tools, the only RaspiOS img editor on the planet.
https://github.com/Botspot/Pi-Power-Tools
Want to try it out?

Code: Select all

wget -O - https://raw.githubusercontent.com/Botspot/Pi-Power-Tools/master/update | bash

jbudd
Posts: 1446
Joined: Mon Dec 16, 2013 10:23 am

Re: Easiest/secure way for a bash script to upload data to cloud?

Sat Mar 21, 2020 11:56 am

Pi Power Tools - the handy Raspbian Image editor - needs some sort of feedback mechanism.
Surely the way that's usually done is by a link to a forum?
phpBB seems popular in the Raspberry Pi community!

User avatar
Botspot
Posts: 1284
Joined: Thu Jan 17, 2019 9:47 pm
Location: Texas
Contact: Website

Re: Easiest/secure way for a bash script to upload data to cloud?

Sat Mar 21, 2020 1:28 pm

jbudd wrote:
Sat Mar 21, 2020 11:56 am
Pi Power Tools - the handy Raspbian Image editor - needs some sort of feedback mechanism.
Surely the way that's usually done is by a link to a forum?
phpBB seems popular in the Raspberry Pi community!
True, someone could ask a question on the forums. That would be possible in this case.
I'm more concerned about other data types, like in the app store: Do you want to have to post a reply for every 5-star rating for a package?
Ever wished you could "open" a RaspiOS .img file? Well now you can! I've developed Pi-Power-Tools, the only RaspiOS img editor on the planet.
https://github.com/Botspot/Pi-Power-Tools
Want to try it out?

Code: Select all

wget -O - https://raw.githubusercontent.com/Botspot/Pi-Power-Tools/master/update | bash

Return to “General discussion”