Discover Packages
github.com/sabhiram/go-ogle
command
module
Version:
v0.0.0-...-817fb8d
Opens a new window with list of versions in this module.
Published: Mar 21, 2018
License: MIT
Opens a new window with license information.
Imports: 18
Opens a new window with list of imports.
Imported by: ? modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
README
README
¶
go-ogle
A command line way to search google in a chrome tab.
What?
A minimal command line app + a chrome extension which allows you to:
Search Google for something
Navigate using [^ v]
Select a link using [Enter]
Install
TODO:
Install the plugin
Install the CLI app
Design
WebSocket Server
+-----------------+
+---------> |
Chrome Browser | | localhost:18881 <------------------+
| +------* | |
+-------------------+ | | +-----------------+ |
| | | | |
| | | | |
| Extension | | | |
| +------------+ | | | |
| | *-------------+ | CLI App |
| +---------^--+ | | |
| | | | +-----------------+ |
| +-------------------+ | | |
| | | *------------------+
+-------------------+ | |
| |
| |
| |
+-----------------+
Contents
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.
TODOs
Advanced keyboard input cases - next page / prev page / next-result from page etc
If selected item is not focused on page - center it.
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.