A command line way to search google in a chrome tab.
A minimal command line app + a chrome extension which allows you to:
- Search Google for something
- Navigate using [^ v]
- Select a link using [Enter]
TODO:
- Install the plugin
- Install the CLI app
WebSocket Server
+-----------------+
+---------> |
Chrome Browser | | localhost:18881 <------------------+
| +------* | |
+-------------------+ | | +-----------------+ |
| | | | |
| | | | |
| Extension | | | |
| +------------+ | | | |
| | *-------------+ | CLI App |
| +---------^--+ | | |
| | | | +-----------------+ |
| +-------------------+ | | |
| | | *------------------+
+-------------------+ | |
| |
| |
| |
+-----------------+
extension
implements the chrome extension implemented in Javascript.hub
implements a golang library that implements a pub-sub socket.server
implements a golang websocket server library.types
contain application specific types that are usually passed around library instances.main.go
implements the cli app which will self-spawn a daemon process to connect to.
- Advanced keyboard input cases - next page / prev page / next-result from page etc
- If selected item is not focused on page - center it.