Still using the browser to open Google and Baidu to search?
Directly letcommand lineSecond becomes “search engine”, understand?
Not only can search and Q & a be done easily, but alsocalculationandtranslate。
“Pa” once suck (Zhang) eyes (x) have wood.
Tuxi: instant Q & a command line tool
This is the project on the recent GitHub hot list——TUXI。
In short, it is aCommand line tools, able to quickly perform Q & A.
The effect is also amazing. For example, inQ & AOn the other hand, if you ask “the birthday of Linus Torvalds (the father of Linux)”, tuxi will quickly give an accurate answer:
28 December 1969
If you ask “actors in social networks”, tuxi will immediately give a list of names:
In our daily search process, we will inevitably misspell words, and the search engine in the browser will automatically correct them. How will tuxi deal with it? It can be said that it is also quite intelligent. For example, in the following question, the English word “chocolate” was misspelled, and tuxi asked this when answering.
In addition to the question and answer function, tuxi can also executecalculationandQuery weatherAnd other tasks.
of course,translateIt’s no problem.
How to install?
On the whole, the process of using tuxi is very simple and lightweight. Its configuration and installation process are also very simple. First inenvironmentThere are three requirements:
- Pup——Command line tool for handling HTML.
- Recode——Character set conversion tools and libraries.
- Jq——Command line JSON processor.
After that, Download tuxi directly to your path and give it executable permission:
$ curl -sL "https://raw.githubusercontent.com/Bugswriter/tuxi/main/tuxi" -o $HOME/.local/bin/tuxi$ chmod +x $HOME/.local/bin/tuxi
If arch is used, tuxi can be directly installed in AUR as a tuxi git package:
$ yay -S tuxi-git
Finally, it should be emphasized that although the search using tuxi no longer depends on the traditional browser, the “search engine” behind it is stillGoogle。
In other words, after asking questions, grab Google’s search results and feed back the answers to the profile. Do you want to experience such a command-line tool? After all, it is also quite popular in the market
Open source outpostShare popular, interesting and practical open source projects on a daily basis. Participate in maintaining the open source technology resource library of 100000 + star, including python, Java, C / C + +, go, JS, CSS, node.js, PHP,. Net, etc.