- Support log.
- Clear cache when it's too large.
- Fix cache directory is not created when it's not exists
- New google front page style is supported, for now it should return result more stable.
- Make binary much smaller. From 1.5M to 50k.
- For now user can use
--clear-cache
option to clear local cache.
- Improve performance
- New google front page style is supported.
- Paging feature is supported, when the answer is long, hors will visually separate the answers from the rest of the terminal output. You can customize this feature through
-p
or--paging
argument. - Can download through more convenient tools, like
brew
onmacOS
,scoop
onWindows
.
- Fix
-a
option sometimes leads toCan't get answer from <xxx>
error message.
- Fit for new css attribute of so.
- Little reduce final binary size.
- Support stackoverflow internal search engine, we can run with
-e stackoverflow
to enable this.
- When search throught search engine failed, will try to provide a more user friendly message.
- Support non-truecolor terminal colorize.
- search with
duckduckgo
engine is more stable. - make output more friendly,
hors
will try to select proper syntax to colorize output.
- introduce
HORS_ENGINE
env variable, to specify which search engine to use. For now it can bebing
,google
,duckduckgo
. - Make use of
rustls
, soopenssl
is no longer needed.
- For now
"
between query string is no-longer needed. So you can runhors pandas dataframe to csv -l
.
- Add -r argument, if you don't need colorize output.
- Remove -c argument, for now colorize output is default behavior.
- Don't need to install
bindgen
for now.
- Support socks5 system proxy.
- Upgrade reqwest version to 0.10.1.
- Change all hors relative api to async.
- Some functions and structs are public from lib, for more information, please check the doc.
Error
has been redesigned, for now it will be anenum
rather thanstruct
.- Rename from
HorsError
toError
. - Documentation improved.
- Rename from
hors::engine::search_link
tohors::engine::search_link_with_client
, the originalhors::engine::search_link
will be more simply to use. - Rename from
hors::answer::get_answers
tohors::answer::get_answers_with_client
, the originalhors::answer::get_answers
will be more simply to use.
- support duckduckgo search engine. To apply it, use can use
-e duckduckgo
.
- Hors will output more friendly error messages, all error messages will go to stderr.
- For now the default search engine is duckduckgo.
- support --disable_proxy argumet.
hors
will use system proxy by default. If you don't want to use proxy, please run hors with--disable_proxy
arguments.
- Hors will try to use
http
to get stackoverflow links, if thehttps
schema go failed. This can improve search success rate.
- Refactory code structure, and it should be quicker.
- Support google search engine again. You can use
-e google
to use google search engine.
- Code has been re-structured, so integration test can be introduced for hors easily.
- Remove google search engine support temporary (Because there are issues here, and it can't be solved quickly)
- hors may runs forever with -l argument in the previous version, it's fixed now.
- More friendly documentation.
- Hors will use internal cache to improve performance.
- Support google search engine
- Support -e argument
- Hors will select answer by voted information. Which means that if an answer is not accepted, but it's the most voted, hor will show that answer for you.
- The first implementation of hors
- support -l argument
- support -c argument
- support -n argument
- support -a argument