{"id":13476414,"url":"https://github.com/dpschen/onetab-export-script","last_synced_at":"2025-03-27T02:32:49.531Z","repository":{"id":78316663,"uuid":"411251595","full_name":"dpschen/onetab-export-script","owner":"dpschen","description":"A simple browser script that helps exporting saved OneTab meta data ","archived":false,"fork":false,"pushed_at":"2021-09-28T11:47:20.000Z","size":4,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-08-01T16:45:05.186Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dpschen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-09-28T11:20:50.000Z","updated_at":"2024-03-06T17:51:40.000Z","dependencies_parsed_at":"2023-04-13T20:24:34.455Z","dependency_job_id":null,"html_url":"https://github.com/dpschen/onetab-export-script","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpschen%2Fonetab-export-script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpschen%2Fonetab-export-script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpschen%2Fonetab-export-script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpschen%2Fonetab-export-script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dpschen","download_url":"https://codeload.github.com/dpschen/onetab-export-script/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245769526,"owners_count":20669195,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T16:01:30.011Z","updated_at":"2025-03-27T02:32:49.249Z","avatar_url":"https://github.com/dpschen.png","language":"JavaScript","readme":"# OneTab browser export script\n\nA simple browser console script that helps exporting saved [OneTab](https://chrome.google.com/webstore/detail/onetab/chphlpgkkbolifaimnlloiipkdnihall) meta data.\nI was trying out [backupOneTab](https://github.com/itsjoshthedeveloper/backupOneTab) and [ran into some problems](https://github.com/itsjoshthedeveloper/backupOneTab/issues/1).\n\nBecause I wanted my urls to be at least saved I wrote this script.\nIt exports more than the default export function of OneTab. You will get an array with the following format:\n\n```js\n[\n  {\n    groupTitle, // tab group titles\n    created,    // created date\n    tabLinks: { // the individual links of a tab group with:\n      {\n        link,   // url\n        title,  // title\n      }\n    },\n    isLocked,   // if tab group is locked\n    isStarred,  // if tab group is starred  \n  },\n  [...]\n]\n```\n\n## Usage\n\n1) Copy the content of [export.js](export.js) to the clipboard.\n2) Open a OneTab page in the browser.\n3) Open the Developer Tools (e.g. mac \u003ckbd\u003eCMD\u003c/kbd\u003e + \u003ckbd\u003eALT\u003c/kbd\u003e + \u003ckbd\u003eI\u003c/kbd\u003e).\n4) Paste the export.js script.\n\nYou will see the result of the export as a return value. It's already copied in your clipboard so you can you paste it e.g. in a JSON file.\n\n## Note\n\nAfter I already created this I found [onetab-export-to-json](https://github.com/jianyuan/onetab-export-to-json) which exports directly from the LevelDB database.\nI didn't test it though.\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpschen%2Fonetab-export-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdpschen%2Fonetab-export-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpschen%2Fonetab-export-script/lists"}