Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/njnmco/odinochka
featherweight tab manager
https://github.com/njnmco/odinochka
chrome-extension history-management js onetab tab-management
Last synced: 12 days ago
JSON representation
featherweight tab manager
- Host: GitHub
- URL: https://github.com/njnmco/odinochka
- Owner: njnmco
- Created: 2019-12-10T03:31:38.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-08T23:49:28.000Z (2 months ago)
- Last Synced: 2024-09-09T00:44:07.307Z (2 months ago)
- Topics: chrome-extension, history-management, js, onetab, tab-management
- Language: JavaScript
- Homepage: http://odinochka.xyz
- Size: 191 KB
- Stars: 25
- Watchers: 3
- Forks: 6
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# odinochka
## Background / issues with OneTab
I was a heavy OneTab user.
I had 5k+ tabs before my "data loss incident", when GoToMeeting
went berserk, crashed chrome, and my tabs were gone...Towards the end, it was:
- Slow
- GA tracking
* who knows what they are doing with my tab data
- Requests 900 favicons on boot via Google proxy
* This also breaks locally hosted apps favicons
- Not Great Suspender compatible
* I've req'd this feature at least a few times over last 3 years.
- Not backed up anywhere
* Export is manual and in a crap format.
* When the tabs are gone, they are gone.So I wrote my own.
## TODO
- [x] Save Tabs
- [x] Browser action button
- [x] context menu
- [x] Keyboard shortcuts
- [x] Save tabs to indexeddb
- [x] except pinned tabs
- [x] UI page
- [x] list tabs
- [x] restore tab
- [x] delete tab
- [x] favicons
- [x] drag and drop
- [x] within tab group
- [x] between tab group
- [x] merge tab groups
- [x] tab groups
- [x] Restore
- [x] Rename
- [x] Delete
- [x] pop out
- [x] Counter
- [x] Options
- [x] skip pinned tabs
- [x] Autoremove links
- [x] How to open Groups
- [x] Filter Duplicates
- [x] Import / Export
- [x] disable favicons
- [x] Filter box
- [x] refresh in place
- [x] Compatible with TabGroups
- [x] On save window
- [x] On restore
- [x] persist group title correctly## Etymology
Russian for singleton, but also:
- Loner
- Alaskan trading posts
- solitary confinement## Advanced Features
### Restoring from a history dump
You can use the below `jq` command to convert from an [Export History extension](https://chrome.google.com/webstore/detail/export-historybookmarks-t/dcoegfodcnjofhjfbhegcgjgapeichlf)
dump format to a file that can be read back in to odinochka.```
jq '[{ts:1, name:"restore", tabs:[.[] | {title:.title, url:.url, favicon:"", pinned:false}], urls:[.[].url]}]' history_export.json >history2.json
```Chrome can mysteriously delete data whenever it crashes, so I recommend regularly backing up your tabs using the export features.
### Restoring from pinboard.in
1. Download all links as json at https://api.pinboard.in/v1/posts/all?format=json
2. Convert using
`jq '[{ts:3, name:"pinboard", tabs:[ .[] | {title:.description, url:.href, favicon:"", pinned:false} ], urls:[.[].href] }]' downloads/pinbord.json >pinboard.out`
3. Import the converted json### Restoring from a crashed computer with odinochka
Odinochka uses Chrome's internal database to store all tabs. The database folder is located in `~/.config/google-chrome/Default/IndexedDB/chrome-extension_gdoeiedioceagbkajogciogiopdgpoba_0.indexeddb.leveldb/`.
Close chrome, copy that folder from the old Chrome Profile folder on the old disk to a new profile folder. Restart chrome and odinochka should be populated.