Nighttab: Saving configuration outside the browser's local storage (or backing up)?

Created on 19 Apr 2019  路  6Comments  路  Source: zombieFox/nightTab

Is there a way to save the configuration like as a file that you can restore or in the folder of the install? Or maybe get the configuration from the local storage from the browser and be able to restore it into the browser? Because it can be annoying to have to set up the webpage again every time local browser storage is cleared.

enhancement

Most helpful comment

As a workaround, for now, it is possible to achieve this with nightTab in two ways:

  1. If you are familiar with Chrome Dev Tools. Under Application > Local Storage you can copy the current state of nightTab to the clipboard. Then on another browsers (in Dev Tools again) paste it into the same location. If on either computers there is nothing listed under Local Storage just make a change to nightTab and the app will make a fresh save: Screenshot 2019-04-23 at 5 19 23 pm
  2. Alternatively, edit state.js and bookmarks.js on your copy of nightTab and share that between computers.

These are not ideal solutions and controls on the UI would be better. I'm just listing the options available right now before new work on this feature request begins.

All 6 comments

I agree. This could allow users to transfer their settings between devices or browsers. Maybe it could be stored in a JSON file for easy access?

Yup, I've had this thought before. If you look at my other project, awesomeSheet, it does this quite well. Controls to export data as JSON which can be imported later:

Screenshot 2019-04-23 at 5 13 06 pm

I will add this to the project board. But fair warning, it's a large task and will take a while for me to design and build it. 馃檪

As a workaround, for now, it is possible to achieve this with nightTab in two ways:

  1. If you are familiar with Chrome Dev Tools. Under Application > Local Storage you can copy the current state of nightTab to the clipboard. Then on another browsers (in Dev Tools again) paste it into the same location. If on either computers there is nothing listed under Local Storage just make a change to nightTab and the app will make a fresh save: Screenshot 2019-04-23 at 5 19 23 pm
  2. Alternatively, edit state.js and bookmarks.js on your copy of nightTab and share that between computers.

These are not ideal solutions and controls on the UI would be better. I'm just listing the options available right now before new work on this feature request begins.

Feature is now live. 馃殌

Any way to read "database" from a file? I have many devices and it's not easy to import/export/sync data to every device. It would be so great such a feature.

@adrianmihalko Do you mean syncing data between devices on the same chrome account?

I came across this recently: https://developer.chrome.com/extensions/storage.

I've opened a new ticket (93) to explore this more.

Was this page helpful?
0 / 5 - 0 ratings