yoda icon indicating copy to clipboard operation
yoda copied to clipboard

Online storage of configuration folder

Open manparvesh opened this issue 7 years ago • 7 comments

Feature description:

User should be able to save their config somewhere online so that they can sync their data over different devices.

Any ideas on how to implement it?

Possible solution can be creating a github repository and saving the data to it after the user enters a command.
I was able to initialize a repo inside the config file, stage the changes and commit to the file using dulvich, but I was not able to connect it to github. I tried PyGithub, but no luck.

manparvesh avatar May 07 '17 04:05 manparvesh

How about using GoogleDrive/iCloud or other cloud storage services? Give the user a choice.

cpl avatar Jun 30 '17 12:06 cpl

@thee-engineer yes, this is just an initial idea. It can obviously be expanded!

manparvesh avatar Jul 04 '17 11:07 manparvesh

IMHO the easiest to implement would be AWS s3 for storing configs. For git storage we can ask the user for github repo url and the rest can be taken care of by gitpython

nabarunchatterjee avatar May 28 '18 17:05 nabarunchatterjee

@nabarunchatterjee we need the configs to be accessible only by the user, so I think it would be better if we found a way to save in their own account; hence the idea of using git repo as a storage. I don't know much about gitpython, so if you're interested to work on it, I'd be happy to receive an MR!

manparvesh avatar May 29 '18 03:05 manparvesh

@manparvesh IMHO we can use Drive API to store the appdata privately in the user's google drive and use oauth to sync the settings across devices. Could be a good starting point for using yoda on android devices ( if someone hacks in to develop an app on top of yoda!)

sarathsoma avatar Nov 22 '18 12:11 sarathsoma

@sarathsoma that seems like a good idea!

manparvesh avatar Nov 23 '18 08:11 manparvesh

GitHub Gists would also be a possible solution or simple "pastebin" style platforms. There are plenty of options for cloud storage these days and especially for config storage. The more implementations and the more options the user has, the better.

cpl avatar Nov 23 '18 09:11 cpl