zquestz/s ? reverse-engineered prompt
Reverse engineered prompt
Build me a small command line app called s that lets me do web searches from the terminal and then opens the result in my browser. I want to be able to type something like s puppies for a normal search, or choose a specific site with a provider option like Google, Amazon, Wikipedia, Reddit, YouTube, and other built in providers. It should also support searching by provider tags, partial matching for provider and tag names, and an output only mode that prints the search URL instead of opening it.
Please include a simple server mode too, so running it with a flag starts a small web interface on a local port, with optional TLS cert and key support. I also want a config file in my home config folder so I can set defaults like provider, browser command, whitelist or blacklist providers, verbosity, port, and add custom providers with a URL template. If possible, add shell completion generation for bash, zsh, fish, and powershell. Keep it easy to install and use on a normal machine, and check current docs online if you need to.
Have a live product UI? Try website reverse