local, lightweight duckduckgo bangs and golinks for every browser.
demo.mp4
Imagine, for example,
!yt rickto search directly on YouTube.!drs tokioto search on docs.rs.go/gh footo go to github.com/yourusername/foo.go/w/calto go to your work calendar.
cargo install --git https://github.com/ksdme/jmp
Well, you could build something like this as a browser extension. But, honestly, I know that to be an annoying process, so, instead, jmp is a simple axum based web server that reads all configuration from a toml config file.
You can either host it a server somewhere or just confiure your machine to start the server on startup. Running it on your local machine instead has the benifit of it always being available, across all browsers. It also is better in terms of security, especially because jmp doesn't yet have auth.
Once you have a running jmp server, you need to configure your browers to use it as the default search engine. This might not be straight forward on some browsers, for example, Firefox. You can find more information here.
You can configure jmp using a toml config file. You can use jmp.toml as a reference or you can stare at conf.rs for the details.
- Maybe make jump arguments more declarative.
- There a bug where placeholders in jumps are not interpolated if they aren't used.