Skip to content

Inspired by facebook's bunnylol, nike lets you type in quick commands in your URL bar to navigate to common sites in crypto.

Notifications You must be signed in to change notification settings

wonka-labs/chainlol

Repository files navigation

Chainlol — Navigate Crypto

Inspired by Facebook's bunnylol project, chainlol makes it faster to navigate to common crypto sites — instead of going to CoinGeiko.com and searching for olympus, you can just type in p ohm and the tool will automatically redirect you.

The tool is built with JS and runs purely locally in the browser so there are no securty implications about sending search results to an unknown server.

Example Commands

Command Example Description
p, price p olympus Opens CoinGeiko dashboard for the spelled out coin.
tx tx 0x000.. or tx 1123123 for SOL Opens Etherscan or Solscan depending on the hash type.
w, wallet w vitalik.eth Opens the walllet based on the hash or the ENS name.
commands commands Lists available commands.
nft nft chain runners Searches for the NFT keyword in the OpeanSea.
s, swap swap ohm dai Opens uniswap with the two coins to swap.
ipfs ipfs Qmd8nEQ2K6Uw67oFjM8FQo6K8qdvkaKMDwN91TBprC7EJ6 Opens the file with the hash on IPFS.
ar ar Qmd8nEQ2K6Uw67oFjM8FQo6K8qdvkaKMDwN91TBprC7EJ6 Opens the file with the hash on ARWeave.
ipns ipns kunalm.xyz Opens the domain on IPNS.

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 https://chainlol.wonkalabs.xyz/#?q=%s. Set both name and keyword to chainlol.

  4. Make this the default search engine.

It should look like this:

Screen Shot 2022-03-08 at 9 53 38 AM

Running Locally

Call python3 -m http.server from the main directory, then naviagte to http://localhost:8000/?q=commands

Deploying

Currently, chainlol is hosted on fleek.

Alternatively, you can host it on ipfs through Pinata:

ipfs-deploy . -p pinata -d cloudflare -t "your-domain.xyz $(date +"%m-%d-%Y %T")"

(this requires npm ipfs-deploy and setting a few .env variables. See here for more details)

About

Inspired by facebook's bunnylol, nike lets you type in quick commands in your URL bar to navigate to common sites in crypto.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published