Page 1 of 1

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

Posted: Fri Mar 20, 2020 11:37 pm
by Botspot
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.

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

Posted: Sat Mar 21, 2020 11:56 am
by jbudd
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!

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

Posted: Sat Mar 21, 2020 1:28 pm
by Botspot
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?