SwiftnessX icon indicating copy to clipboard operation
SwiftnessX copied to clipboard

Better Storage Schema

Open jinyu00 opened this issue 6 years ago • 10 comments

Where is my data store in?

jinyu00 avatar Nov 12 '18 07:11 jinyu00

On bottom left, there is an option (beside the Swiftness Logo), click on it and you would be able to export/import the data..

If you're asking where your data stored locally then let me know your OS..

ehrishirajsharma avatar Nov 12 '18 07:11 ehrishirajsharma

It seem the data store in

C:\Users\xxxx\AppData\Roaming\Swiftness\storage

It just store data in one json file? if the data is big , the tools may be slow?

jinyu00 avatar Nov 12 '18 07:11 jinyu00

Although, we have tested it with enough (from regular workflow) - it didn't much affect the performace however, this can be improved with tree.

We intentionally kept the storage under JSON file to let users easily understand the schema and make other tools easily integratable..however we will look into the performance section..

Let me know if you have any suggestion on this part..I am also changing the title to let others' join on this conversation too

ehrishirajsharma avatar Nov 12 '18 08:11 ehrishirajsharma

It would be good to be able to choose where to store the data. That way it would be trivial to backup to cloud storage - Dropbox/Google Drive, etc. and use across multiple machines without native cloud support. This could be implemented with basic File->Open and File->Save/Save As functionality.

hakluke avatar Nov 15 '18 23:11 hakluke

Yes, we have achieved this partially and have this on our roadmap: https://github.com/ehrishirajsharma/SwiftnessX/wiki/Upcomings

We just want to deploy better versioning control (vs auto sync) - giving an option to pull the changes rather making it auto-sync so even teams could efficiently work on a project.

We may be rolling out this on our private-beta very soon, let me know if you're interested on joining this.

ehrishirajsharma avatar Nov 16 '18 04:11 ehrishirajsharma

I'm definitely interested in the private beta for this.

hakluke avatar Nov 24 '18 02:11 hakluke

Hello @ehrishirajsharma

Can't find where the json file is stored on linux, can you provide the default path ?

EDIT

it's on .config/Swiftness/storage/content.json

mpgn avatar Jul 17 '19 08:07 mpgn