https://github.com/cldwalker/bolt
[work in progress] - web commands a la queriac, done all clientside with rum/reactjs
https://github.com/cldwalker/bolt
Last synced: 18 days ago
JSON representation
[work in progress] - web commands a la queriac, done all clientside with rum/reactjs
- Host: GitHub
- URL: https://github.com/cldwalker/bolt
- Owner: cldwalker
- License: mit
- Created: 2014-01-15T15:55:49.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2016-03-30T02:59:20.000Z (about 10 years ago)
- Last Synced: 2025-10-08T04:34:53.151Z (8 months ago)
- Language: Clojure
- Homepage:
- Size: 1.08 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## Description
This project commands the web with our own words, not Google's, Siri or any other generic interface.
Bolt can be used as your browser's default search engine and as a customizable voice assistant on
your phone. This is an experimental successor to [queriac](https://github.com/cldwalker/queriac),
[yubnub](http://yubnub.org/), etc.
## How it works
Bolt works by translating our words (commands) to urls. For example, the devdocs command is the url
`http://devdocs.io/#q=%s`. When we enter `devdocs onclick`, we are taken to
`http://devdocs.io/#q=onclick`.
## Use it
Try the [demo](https://tagaholic.me/bolt/).
To use the demo as I use it:
* As my default search engine.
* In Mac Chrome, you'll find this in settings under "Manage search engines...". Add an
entry for `https://tagaholic.me/bolt/#/to/%s` and click
"Make default".
* Any commands I type into the address bar are translated by bolt.
* As a one-click voice assistant.
* In Android Chrome, I navigate to `https://tagaholic.me/bolt/?start=1`. In the upper-right menu, I select "Add to homescreen".
* To voice command anything, I click on the url icon and speak.
## Experimental features
A group command allows you to kick off multiple commands with the same argument. For example, if you
type `buy shake`, this will query amazon and google shopping for `shake`. Note: This works with
popups for now so you will need to give the domain permission the first time.
## Dev it
To try this out locally:
```sh
$ lein cljsbuild once dev
$ cd resources/public
$ python -m SimpleHTTPServer 5000
$ open http://localhost:5000/
```
## Configuration
Commands are just data, in the form of [edn](https://github.com/edn-format/edn).
You can configure these in src/bolt/config.cljs.
## Bugs/Issues
Please report them [on github](http://github.com/cldwalker/bolt/issues).
## Limitations
Speech recognition only works on Chrome 25+. This should work on any phone that has Chrome e.g. droids
and iphone.
## License
See LICENSE.TXT
## Credits
Images were taken from [this sample project](https://github.com/GoogleChrome/webplatform-samples)
## TODO
* non-shitty UI
* custom https domain
* consider bookmarklet support
* consider user-specific commands
## Links
* [bookmarks](http://semtag.me/#/search?query=web_command) I keep on web commands.