No description
  • JavaScript 99.6%
  • CSS 0.3%
  • HTML 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-12-04 13:16:55 +08:00
bangs-LICENSE.txt chore: initial commit (hello world) 2026-12-04 13:16:55 +08:00
bangs.js chore: initial commit (hello world) 2026-12-04 13:16:55 +08:00
config.js chore: initial commit (hello world) 2026-12-04 13:16:55 +08:00
hashes.js chore: initial commit (hello world) 2026-12-04 13:16:55 +08:00
ids.js chore: initial commit (hello world) 2026-12-04 13:16:55 +08:00
kagi.js chore: initial commit (hello world) 2026-12-04 13:16:55 +08:00
make-bangs.mjs chore: initial commit (hello world) 2026-12-04 13:16:55 +08:00
make-hashes.mjs chore: initial commit (hello world) 2026-12-04 13:16:55 +08:00
manifest.json chore: initial commit (hello world) 2026-12-04 13:16:55 +08:00
newtab.css chore: initial commit (hello world) 2026-12-04 13:16:55 +08:00
newtab.html chore: initial commit (hello world) 2026-12-04 13:16:55 +08:00
newtab.js chore: initial commit (hello world) 2026-12-04 13:16:55 +08:00
omnibar.js chore: initial commit (hello world) 2026-12-04 13:16:55 +08:00
README.md chore: initial commit (hello world) 2026-12-04 13:16:55 +08:00
thumb.js chore: initial commit (hello world) 2026-12-04 13:16:55 +08:00
thumbhash.js chore: initial commit (hello world) 2026-12-04 13:16:55 +08:00
yeetbar.js chore: initial commit (hello world) 2026-12-04 13:16:55 +08:00

Private Earth View + yeetbar

A Chrome new-tab page: random Google Earth View background, a clock, and a headless omnibar.

Install

  1. Unzip this folder.
  2. Open chrome://extensions, switch on Developer mode.
  3. Load unpacked and pick the folder. Open a new tab.

What the bar understands

Type Result
github.com/foo, localhost:3000 goes straight there
!yt cat falls, cat falls !yt searches that site (Kagi's ~13,600 bang triggers, prefix or suffix)
!hn, !g (no query) opens the site itself
!gi autocompletes matching bangs; pick one to fill the input
(12+8)*3^2 = 180, Enter copies it
mail your shortcut (prefixes work too)
anything else searches your default engine (DuckDuckGo)

Keys: arrows or Tab to move, Enter to open, Ctrl/Cmd+Enter for a new tab, Esc to clear. Start typing anywhere on the page and the bar catches it.

Customise

Edit config.js: default engine (any bang trigger), shortcuts, your own bangs (they beat Kagi's), and your own providers. Reload the extension after saving.

Bangs

The bang list is kagisearch/bangs (MIT, see bangs-LICENSE.txt), converted to bangs.js and loaded only the first time you type !. Kagi's format rules are honoured: URL-encoding flags, regex bangs like !rsr, and what a bare bang opens. Kagi's internal bangs (kagi_bangs.json) are left out. To refresh the list: node make-bangs.mjs.

Files

  • yeetbar.js: the headless omnibar library (no DOM, no deps, no eval)
  • kagi.js: adapter that plugs the Kagi bang list into yeetbar; bangs.js is its generated data
  • omnibar.js: the UI wiring; config.js: your settings
  • newtab.*, thumb.js, thumbhash.js, ids.js, hashes.js: the Earth View page
  • make-hashes.mjs: optional, fills hashes.js with blurred placeholders (npm i thumbhash sharp && node make-hashes.mjs)

Privacy

Page CSP allows only wsrv.nl (images) and gstatic.com (location details, off by default). Searching sends your query to the engine you pick, nothing else.