1.0.2 • Published 10 months ago

andre-bunnylol v1.0.2

Weekly downloads
-
License
-
Repository
-
Last release
10 months ago

Andre's BunnyLOL

While I was at Facebook, I heavily used the internally developed tool bunnylol. I found several other versions of bunnylol that required me to host a server. This version of bunnylol does not need to be hosted on a server.

Currently, this is hosted on http://andresilva91.github.io/bunnylol. However, you can host it on any website that you would like (even on GitHub Pages). Since this is going to be your primary search engine for every new tab you open, I would suggest that you don't host it somewhere that may take a while to spin up the static page (like Heroku where your VM could go to sleep).

A note: a lot of these commands are customized for me. It is probably most beneficial for you to fork this repo and add/remove commands so that it is optimized for commands you actually need.

Example Commands

CommandNameURL
fbFacebookhttps://facebook.com/
mMessenger Desktop Appmessenger://
mwMessenger Webhttps://www.messenger.com/
waWhatsApp Desktop Appwhatsapp://
wawWhatsApp Webhttps://web.whatsapp.com/
gmGmailhttps://mail.google.com/mail/u/0
gdGoogle Drivehttps://drive.google.com/drive/u/0
sisUVA SIShttps://sisuva.admin.virginia.edu/psc/ihprd/UVSS/SA/s/WEBLIB_HCX_GN.H_SPRINGBOARD.FieldFormula.IScript_Main
colUVA Collabhttps://collab.its.virginia.edu/portal
ytYouTubehttps://youtube.com/
ghGitHubhttps://github.com/
rReddithttps://reddit.com/
lLinkedinhttps://linkedin.com/
igInstagramhttps://instagram.com/
twTwitterhttps://twitter.com/
gGooglehttps://google.com/
wpWashington Posthttps://www.washingtonpost.com/regional/
wsjWall Street Journalhttps://www.wsj.com/
cnnCNNhttps://www.cnn.com/
nNetflixhttps://netflix.com/
hHuluhttps://hulu.com/
pvAmazon Prime Videohttps://www.amazon.com/Amazon-Video/b/?&node=2858778011&ref=dvm_MLP_ROWNA_US_1
pPiazzahttps://piazza.com/class
vsVS Codevscode://
hsHubspothttps://app.hubspot.com/live-messages/
$Robinhoodhttps://robinhood.com/
calGoogle Calendarhttps://calendar.google.com/calendar/r
covidUVA COVID-19 Trackerhttps://returntogrounds.virginia.edu/covid-tracker
DEFAULTDefault - Google Searchhttps://google.com/

Setup

  1. Open Chrome and click the three dots. Click Settings and scroll down to Search Engines.

  2. Click Manage Search Engines.

  3. Add a new search engine with the URL being http://andresilva91.github.io/bunnylol?search=%s. Of course, you should change the andresilva91.github.io part to your own domain.

  4. Make this the default search engine.

Adding a command

  1. Run npm install so that flow (JavaScript type checker) can run.

  2. Open up the src/commands.js file. Add your command to the COMMANDS object. You must include a name and url attribute and you can add an additional searchurl attribute if you would to be able to type a command like yt NBA Highlights (in which case, bunnylol will automatically search for NBA Highlights on YouTube).

  3. Run npm run prepublish.

  4. Publish to your website.

Running locally

Since we use import module syntax, we need to run a server to bypass CORS issues. You can setup the server by running npm install, followed by node server.js. The server should be up and visible at localhost:3000.

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago