Giter Site home page Giter Site logo

dakutree / tabs-to-cloud Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 2.0 96 KB

A Google Chrome extension to automatically save your tabs to a JSON file on your cloud backup at a set interval.

Home Page: https://chrome.google.com/webstore/detail/tabs-to-cloud/aemimmdlklmldbogfjajnkegdlngcggi

License: GNU General Public License v2.0

JavaScript 81.29% HTML 18.71%
chrome-extension javascript tabs cloud dropbox

tabs-to-cloud's Introduction

Tabs to Cloud

A Google Chrome extension to automatically save your tabs to a JSON file on your cloud backup (Dropbox, Google Drive or OneDrive) at a set interval.

Copyright (C) 2018 Angus Johnston
This project is licensed under the terms of the GPLv2 license.

tabs-to-cloud's People

Contributors

dakutree avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

owntab c0ns0le

tabs-to-cloud's Issues

Different folders for each PC on same account

This should be easy enough to do.

Just generate a unique ID, store it locally then use that as the first folder.

I've mostly done this already, just need to tweak a few things which I'll do later. Also need to make this a toggle-on option.

function generateUniqueID() {
    var randomPool = new Uint8Array(32);
    crypto.getRandomValues(randomPool);
    var hex = '';
    for (var i = 0; i < randomPool.length; ++i) {
        hex += randomPool[i].toString(16);
    }

	chrome.storage.local.set({
		unique_id : hex.substr(0, 6)
	}, function () {
		callback();
	});
}

Need a new logo

Need this prior to release, mainly due to the change from the original idea (Tabs to Dropbox), and the branding guidelines of both Chrome and Dropbox.

Idea is simple, something with a cloud and tabs. How the hell to make it look, I have no idea.

Support Google Drive

This is the last out of the three main cloud storage providers I'd like to support.
For the most part, this doesn't seem to hard to implement, the problem is on the security side.

Both Dropbox and OneDrive have public app folders. This means we can simply just request access to them, instead of the users entire drive. It's a lot safer and easier to work with.
Google Drive on the other hand, while it does have app folders, they are completely hidden from the user and can only be accessed through the apps API requests. (This doc details it a bit more)
Sadly there doesn't appear to be any way to restrict the app to a certain folder either, as per this StackOverflow question: http://webapps.stackexchange.com/questions/80563

Unsure what would be the best way to go about this. I'd really not have to get the request permission for the users entire drive, but maybe that's just me.

Option to compress .JSON

Would be nice to have this.
Compressing to zip should be simple, but I'm really not too sure about other formats. Need more research.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.