https://github.com/baroxyton/autocompleter
autocompleter for linux
https://github.com/baroxyton/autocompleter
Last synced: 2 months ago
JSON representation
autocompleter for linux
- Host: GitHub
- URL: https://github.com/baroxyton/autocompleter
- Owner: baroxyton
- License: mit
- Created: 2021-03-02T22:52:57.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-25T20:07:21.000Z (about 4 years ago)
- Last Synced: 2025-01-21T22:17:25.643Z (4 months ago)
- Language: C++
- Size: 529 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# autocompleter

A linux commandline web autocompleter
What it does: It scrapes autocompletes from duckduckgo, youtube and more and displays them. The user can then autocomplete and process the result.
## options
### --lang=xx-XX
sets the language to be autocompletion in. Defaults to en-US.
### --client=client
sets the client that is used for autocompleting. Defaults to duckduckgo. Valid options: google, youtube, yahoo, startpage, duckduckgo.
### --help
gives the user some help
### --exec=command
first method that can be used to process output. `{{{auto}}}` is replaced with the autocompleted string. example: `autocompleter --exec="echo 'autocompleted: {{{auto}}}'"`
### --output
Second method for processing output. Enables writing output to the stdout. Example: `echo "autocompleted: $(autocompleter --echo)"`
## use cases
It can be used within commands to for example search something.
## information about clients
**currently broken**. More results and faster than duckduckgo. Sends requests directly to google servers.
### duckduckgo
Pretty fast, no privacy concerns, didn't break so far. Recommended.
### yahoo
more search results than duckduckgo, didn't break so far. Sends requests directly to yahoo servers.
### startpage
slow, no results before typing 3 letters. Not recommended.
### youtube
faster than duckduckgo, results more realated to videos. Sends requests directly to google servers.
## todo
- make google client work when there's an image url
- make backspace work