Skip to content

Commit 019a25d

Browse files
thavelickclaude
andcommitted
Add OpenSearch support for browser search engine integration
Add OpenSearch description file and link to enable browsers to auto-detect and offer Just Bangs Lite as an installable search engine. Uses tristanhavelick.com domain for the search URL template. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 8ba29a5 commit 019a25d

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

public_html/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
<head>
55
<meta http-equiv="content-type" content="text/html; charset=utf-8">
6+
<link rel="search" type="application/opensearchdescription+xml" title="Just Bangs Lite" href="search.xml" />
67
<title>Just Bangs!</title>
78
<script src="script.js"></script>
89
<link rel="stylesheet" href="style.css">

public_html/search.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
3+
<ShortName>Just Bangs Lite</ShortName>
4+
<Description>Search with bang shortcuts - lightweight client-side search tool</Description>
5+
<Tags>search bangs shortcuts</Tags>
6+
<Url type="text/html" template="https://tristanhavelick.com/just-bangs-lite/?q={searchTerms}"/>
7+
</OpenSearchDescription>

0 commit comments

Comments
 (0)