A command line interface for chrome.
A "terminal" for chrome which implements common chrome tasks as command line functions.
For a more user-friendly bookmark opening experience, check out SMP Bookmark Opener: https://chromewebstore.google.com/detail/smp-bookmark-opener/fkmeadklbnpemgmonhnlbadgpcpflibd
Open source: https://github.com/simonpao/chrome-term
For a listing of possible commands, type HELP. For information about a specific command, type HELP .
Examples include:
- tab
- open a new tab or bookmark
- tab new
- tab new google.com
- tab open Google
- close an open tab
- tab close Google
- tab close -i 1652151025
- view info about open tabs
- tab ls
- tab info Google
- tab info -i 1652151025
- select a tab
- tab activate Google
- tab activate -i 1652151025
- tabgroup
- add ungrouped tabs to new or existing group
- tabgroup new Google
- view open tab groups
- tabgroup list
- bookmark
- save a new bookmark
- bookmark new
- bookmark new Google
- bookmark new -rq Google
- Remove query params before saving
- bookmark new -i 1652151025
- Save new bookmark from tab ID
- open a bookmark
- bookmark open Google
- view existing bookmarks in current folder
- cd Bookmark bar/
- ls -al
- delete a bookmark
- rm Google
- view details about a bookmark
- bookmark info Google
- bookmark info -i 65
- find
- find a bookmark or open tab based on given search term using asterisk (*) as a wildcard
- find Google/ *ke*p*
- find -s *keep
- find -i *keep
- find -t keep
- history
- list recent history
- history ls
- history ls google
- reopen
- List recently closed tabs/windows
- reopen ls
- reopen ls google
- Reopen recent tabs/windows
- reopen
- reopen -s (silent - does not activate the tab or remove from recent tab history)
- reopen Google
- reopen -i 1652151025
- google
- open a google search in new tab
- google search term
Directory structure is based on bookmark directories.
- cd to move into folders
- cd Bookmarks bar/Folder
- cd ~/Other bookmarks
- cd ../Bookmarks bar/Folder
- ls to view folder contents
- mkdir to create new folders
- rmdir to delete a folder
- cp to copy
- mv to move
- rm to remove