Skip to content

Latest commit

 

History

History
34 lines (33 loc) · 2.68 KB

README.md

File metadata and controls

34 lines (33 loc) · 2.68 KB

Annie-Bunny, Wix- custom search engine

A Rust repo for the Annie-Bunny (ab) search engine. Built fully with Rust.
Thanks to Meta developers article here that is a Rust+Rocket Smart bookmarking tool based on the open sourced bunny1.

Commands

  • gh <OPTIONAL_QUERY> / -> will resolve to either https://github.com or search GitHub for <OPTIONAL_QUERY>, adding @ will resolve to https://github.com/<OPTIONAL_QUERY>
  • ghx <OPTIONAL_QUERY> -> searches the entire Wix repo's (other than "Archive") for the query.
  • wbo <OPTIONAL_QUERY> -> searches Wix Back-office (bo.wix) with the given query
  • wl <OPTIONAL_QUERY> / wl @<USER_PROFILE_ID> -> searches wix-life with the given query, given @ will go for the given users' profile
  • jr <OPTIONAL_QUERY> / jr @<ISSUE-ID> -> searches jira for the given query or goes straight to issue, i.e issue PLAT-1994 will be accessed with the following command: jr @plat-1994 (not case-sensitive).
  • cal <OPTIONAL_QUERY> / cal ev -> will resolve to either Google Calendar or search <OPTIONAL_QUERY> within it. Using ev will result in a new calendar event.
  • yt <OPTIONAL_QUERY> / -> will resolve to either https://youtube.com or search YouTube for <OPTIONAL_QUERY>, adding @ will resolve to a youtube channel https://youtube.com/@<OPTIONAL_QUERY>
  • Any other query that will not contain any of the above commands will resolve to a regular google search.

Installation

Locally with Docker

Just run docker build . -t "annie-bunny" and then docker run -d -p 8000:8000 annie-bunny to run it in the background.

Chrome

  1. Go to Chrome's search engine settings
  2. Click the Add button under Site search
  3. Create a new search engine with the following attributes:
    • Search Engine: Annie Bunny
    • Shortcut: ab
    • URL with %s in place of query: https://fast-harbor-72501.herokuapp.com/search?q=%s

Firefox

  1. Install the “Add custom search engine” Firefox Add-on
  2. Open up the extension
  3. Fill out the form with the following values:
    • Name: Annie Bunny
    • Search URL: https://fast-harbor-72501.herokuapp.com/search?q=%s
  4. Click “Add custom search engine”
  5. Check the box “Make this the current search engine”
  6. Click “Add”