One of my favorite features of Arc.app is the quick tab switcher (on macOS accessed by CMD + T). However, this switcher is limited to only a few entries at a time, and you must be focused on the Arc browser to use it.
Like anyone, I'm constantly switching between multiple tabs during my day. It's handy to quickly jump to a latest tab after you've just consulted some documentation and are writing a GitHub issue, for example.
This Raycast extension aims to provide that quick tab switching experience, allowing you to access your opened and most recently used tabs without needing to be focused on the browser.
It supports up to 50 entries.
Currently only supports Chrome and Arc on macOS
- Clone or download this repository
- Install dependencies:
npm install - Build the extension:
npm run build - Add the Chrome extension to your browser and run the extension:
- In Arc or Chrome, go to
chrome://extensions/, enable developer mode, and load the unpacked extension from thechrome-extensionfolder. - Navigate to the
chrome-extensionfolder in your terminal and runnpm startto start the tab server.
- In Arc or Chrome, go to
When you run the app, tab history will be stored in a .raycast-last-tabs.json file in the root of your home directory.
Ideally, we wouldn't need to provide a seperate Chrome extension, and could instead rely on the Raycast browser extension API. However the .getTabs() method in the Raycast API does not return the last accessed time for each tab. As a result, we need a seperate extension to monitor the last time a user open or clicked on a particular tab.
Because of this second extension dependency, I don't plan to publish this extension to the Raycast store. Instead, you can install it manually by following the steps above.
- Add support for Safari.
- When switching between tabs, sometimes the tab that a user is currently viewing is listed first. Figure out a way to address this.
- Add test suite.
- Revisit
Action.commands to mirror other extensions like the Clipboard Manager extension. - Alternatives to using a
.raycast-last-tabs.jsonin the user's home directory?