improv(plugins): Convert web plugin to Rust plugin, with config support

This commit is contained in:
Michael Aaron Murphy 2021-08-15 14:32:50 +02:00
parent 251dcd5b2c
commit 48f09be4c9
15 changed files with 324 additions and 164 deletions

View file

@ -1,10 +1,7 @@
(
name: "Web Search",
description: "Site-specific web search",
query: (
regex: "^(amazon|wiki|bing|ddg|google|yt|stack|crates|arch|pp|ppw|rdt|bc|lib|npm|gist|fh|gh|dev|sdcl|twitch|yh|alie)\\s.*",
help: "ddg ",
),
bin: (path: "web.js"),
query: (help: "ddg "),
bin: (path: "web"),
icon: Name("system-search"),
)