Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/akirak/duckduckgo.el
Use DuckDuckGo from inside Emacs
https://github.com/akirak/duckduckgo.el
Last synced: 7 days ago
JSON representation
Use DuckDuckGo from inside Emacs
- Host: GitHub
- URL: https://github.com/akirak/duckduckgo.el
- Owner: akirak
- License: gpl-3.0
- Created: 2022-03-17T17:01:45.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-08-09T15:55:31.000Z (about 2 years ago)
- Last Synced: 2024-04-24T03:05:44.316Z (7 months ago)
- Language: Emacs Lisp
- Homepage:
- Size: 35.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
* duckduckgo.el
This package lets you use features of the DuckDuckGo search engine from inside Emacs.
** Usage
=duckduckgo= command (in =duckduckgo.el=) performs search using DuckDuckGo.
The command supports completion of [[https://duckduckgo.com/bang][bangs]], so you can type part of a website name, press TAB, and enter the rest of your query to perform search on a particular service.=duckduckgo-bang-make-command= is a convenient function which defines a wrapper command for a bang.
For example, =(duckduckgo-bang-make-command "!hoogle" :name hoogle-remote)= defines a command named =hoogle-remote= which runs Hoogle.
It is also an interactive function.=duckduckgo-answer= command (in =duckduckgo-answer.el=) retrieves information on a topic using [[https://duckduckgo.com/api][Instant Answer API]] and displays the result in a buffer.