Search index for the utility web apps at apps.sanjaysingh.net.
Each app lives in its own repository and is deployed to its own URL. This repository is only the home page: a search box that finds an app and opens it.
index.htmlandhome.jsare the search page. Search matches the title and keywords, and the page keeps a short list of recently opened apps in the browser.apps.jsis the catalog, exposed aswindow.APPS. Each entry has a title, an absolute URL, and search keywords.- A push to
masterdeploys the site with GitHub Pages. The workflow replaces__BUILD_ID__in the script URLs with the commit SHA so browsers load a fresh catalog.
Add an entry to window.APPS in apps.js:
{
title: 'My App',
url: 'https://example.sanjaysingh.net',
keywords: ['my app', 'synonym', 'related term']
}Use several keywords so the app can be found by different words. The URL is the app's own site.
git clone https://github.com/sanjaysingh/apps-index.git
cd apps-index
python -m http.server 8080Open http://localhost:8080.
index.html— search pagehome.js— search, keyboard navigation, and recent appsapps.js— catalog