☁
Cloud Drive Sync

Sync your browser to Google Drive.

Back up and restore localStorage keys β€” powered entirely by your own Google Apps Script. No third-party servers.

Step 1 of 2

Connect your script

Paste your Google Apps Script Web App URL. Don't have one yet? Log in first β€” the Help tab has full instructions.

Must start with https://script.google.com/macros/s/
☁
Cloud Drive Sync

Welcome back.

Sign in with the credentials you set inside your Code.gs file.

Step 2 of 2

Sign in

Enter the USERNAME and PASSWORD from the CONFIG block at the top of your Code.gs file.

☁
Cloud Drive Sync
?
β€”
Export to Google Drive
Select keys and save a backup to your Drive folder
0 keys
No localStorage keys found.
Import from Google Drive
Browse backups and restore keys into localStorage
Click "Load backups" to browse your Drive files.
Connection
Script URLYour connected Google Apps Script endpoint
Danger Zone
Clear LocalStorageRemove all app keys (DriveSync settings are kept)

πŸ“– How to set up DriveSync

DriveSync uses a Google Apps Script as your personal backend. Your data goes directly to your own Google Drive β€” no third-party servers, ever.

1

Create the Apps Script project

Set up the backend code in your Google account

β‘ 
Go to script.google.com and click New project
β‘‘
Delete all existing code in the editor and paste the entire contents of Code.gs (the file provided alongside this HTML)
β‘’
At the very top of the file, find the CONFIG block and set your own username and password:
USERNAME : "admin",  β† change to anything you want
PASSWORD : "yourpassword123",  β† change to a strong password
β‘£
Click Save (Ctrl+S / Cmd+S) and give your project a name like DriveSync
πŸ’‘
These credentials are set by you β€” DriveSync has no signup system. Whatever you put here is what you type on the login screen.
2

Deploy as a Web App

This generates the Script URL you'll paste into the Setup screen

β‘ 
In the Apps Script editor, click Deploy (top right) β†’ New deployment
β‘‘
Click the gear icon βš™ next to "Select type" and choose Web app
β‘’
Set these two settings exactly β€” both are required for DriveSync to work:
Execute asMe
Who has accessAnyone
β‘£
Click Deploy β†’ click Authorize access β†’ sign in with Google β†’ click Allow
β‘€
Copy the Web App URL β€” it looks like:
https://script.google.com/macros/s/AKfycb.../exec
β‘₯
Paste this URL into the Setup screen of this app
⚠️
Every time you change Code.gs, you must redeploy or the old code keeps running:
Deploy β†’ Manage deployments β†’ click the pencil ✏️ β†’ change version to New version β†’ Deploy.
3

Connect & log in

Paste your URL and sign in

β‘ 
On the Setup screen, paste your Web App URL and click Continue
β‘‘
On the Login screen, enter the username and password you set in Step 1 above
β‘’
After logging in, go to Settings β†’ Backup URL to Drive β€” this saves your Script URL inside your own Drive so you never lose it
πŸ’‘
Your Script URL is saved in your browser after first login. You only need to enter it once per device.
?

Forgot your URL or password?

How to recover everything

πŸ”— Forgot the Script URL
β‘ 
Open Google Drive and search for the folder LocalStorageBackups
β‘‘
Open the file _config.json β€” it contains your Script URL, username, and the save date
πŸ”‘ Forgot the password
β‘ 
Go to script.google.com and open your DriveSync project
β‘‘
Look at the top of Code.gs β€” your USERNAME and PASSWORD are written there in plain text
β‘’
Change them if needed, then redeploy: Deploy β†’ Manage Deployments β†’ Edit β†’ New version β†’ Deploy
πŸ”’ How your data stays private
βœ“
Your data flows directly: browser β†’ your Apps Script β†’ your Google Drive. No third-party servers.
βœ“
The Apps Script runs under your Google account β€” backups are in your personal Drive.
βœ“
Your password is never stored permanently β€” it's held in memory only during your active session.
βœ“
Backups are plain JSON files in LocalStorageBackups/{AppName}/ β€” readable and downloadable directly from Drive.