Skip to content

Commit

Permalink
0.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ovx committed Sep 1, 2023
1 parent 62ce34e commit b738b83
Show file tree
Hide file tree
Showing 8 changed files with 986 additions and 1,767 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 Privian.io, Daniel Regeci
Copyright (c) 2022 BAU Software s.r.o., Daniel Regeci

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h1 align="center">
<br>
<img src="https://raw.githubusercontent.com/privian/searchbox/master/assets/searchbox.svg" alt="Searchbox" width="200">
<img src="https://raw.githubusercontent.com/bausw-com/searchbox/master/assets/searchbox.svg" alt="Searchbox" width="200">
<br>
Searchbox
<br>
Expand Down Expand Up @@ -30,12 +30,12 @@ Searchbox is an UI component built on top of Pagefind providing fast, backend-le
It is an open-source alternative to Algolia for small websites, blogs and documentation pages.

<div align="center">
<img src="https://raw.githubusercontent.com/privian/searchbox/master/assets/screenshot.png" alt="Searchbox" height="250">
<img src="https://raw.githubusercontent.com/bausw-com/searchbox/master/assets/screenshot.png" alt="Searchbox" height="250">
</div>

## Demo

Play with the [demo](https://privian.github.io/searchbox/demo.html)
Play with the [demo](https://bausw-com.github.io/searchbox/demo.html)

## Features

Expand All @@ -45,7 +45,7 @@ Play with the [demo](https://privian.github.io/searchbox/demo.html)

## Usage

Download a [release](https://github.com/privian/searchbox/releases) or use a CDN:
Download a [release](https://github.com/bausw-com/searchbox/releases) or use a CDN:

1. Create `<input />` element:

Expand All @@ -56,7 +56,7 @@ Download a [release](https://github.com/privian/searchbox/releases) or use a CDN
</div>

<!-- 2. Include Searchbox into your website -->
<script type="module" src="https://cdn.jsdelivr.net/gh/privian/searchbox@0.2.2/dist/searchbox.min.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/gh/bausw-com/searchbox@0.2.4/dist/searchbox.min.js"></script>

<!-- 3. Configure Searchbox instance -->
<script>
Expand Down Expand Up @@ -174,6 +174,10 @@ export interface IOptions {

- [Pagefind](https://pagefind.app/) - A fully static search library that aims to perform well on large sites, while using as little of your users’ bandwidth as possible, and without hosting any infrastructure

## Sponspor

This project is sponsored by [BAUSW](https://bausw.com) - no-code business apps for the construction industry.

## License

MIT
4 changes: 2 additions & 2 deletions demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
</div>

<div class="usage">
<p><a href="https://github.com/privian/searchbox">Searchbox</a> is a UI component built on top of <a href="https://pagefind.app/">Pagefind</a> providing fast, backend-less search to any website.</p>
<p><a href="https://github.com/bausw-com/searchbox">Searchbox</a> is a UI component built on top of <a href="https://pagefind.app/">Pagefind</a> providing fast, backend-less search to any website.</p>
<p>To get started, please follow the <a href="https://pagefind.app/docs/#indexing-your-site">Pagefind's instructions</a> on building an index for your website.</p>
<h4>Usage</h4>

Expand All @@ -89,7 +89,7 @@ <h4>Usage</h4>
<span style="color:rgb(0, 0, 128); font-weight:400;">&lt;/<span style="color:rgb(0, 0, 128); font-weight:400;">div</span>&gt;</span>

<span style="color:rgb(153, 153, 136); font-weight:400;">&lt;!-- 2. Include Searchbox into your website --&gt;</span>
<span style="color:rgb(0, 0, 128); font-weight:400;">&lt;<span style="color:rgb(0, 0, 128); font-weight:400;">script</span> <span style="color:rgb(51, 51, 51); font-weight:400;">type</span>=<span style="color:rgb(221, 17, 68); font-weight:400;">&quot;module&quot;</span> <span style="color:rgb(51, 51, 51); font-weight:400;">src</span>=<span style="color:rgb(221, 17, 68); font-weight:400;">&quot;https://cdn.jsdelivr.net/gh/privian/searchbox@0.2.2/dist/searchbox.min.js&quot;</span>&gt;</span><span style="color:rgb(0, 0, 128); font-weight:400;">&lt;/<span style="color:rgb(0, 0, 128); font-weight:400;">script</span>&gt;</span>
<span style="color:rgb(0, 0, 128); font-weight:400;">&lt;<span style="color:rgb(0, 0, 128); font-weight:400;">script</span> <span style="color:rgb(51, 51, 51); font-weight:400;">type</span>=<span style="color:rgb(221, 17, 68); font-weight:400;">&quot;module&quot;</span> <span style="color:rgb(51, 51, 51); font-weight:400;">src</span>=<span style="color:rgb(221, 17, 68); font-weight:400;">&quot;https://cdn.jsdelivr.net/gh/bausw-com/searchbox@0.2.4/dist/searchbox.min.js&quot;</span>&gt;</span><span style="color:rgb(0, 0, 128); font-weight:400;">&lt;/<span style="color:rgb(0, 0, 128); font-weight:400;">script</span>&gt;</span>

<span style="color:rgb(153, 153, 136); font-weight:400;">&lt;!-- 3. Configure Searchbox instance --&gt;</span>
<span style="color:rgb(0, 0, 128); font-weight:400;">&lt;<span style="color:rgb(0, 0, 128); font-weight:400;">script</span>&gt;</span><span style="color:rgb(51, 51, 51); font-weight:400;">
Expand Down
4 changes: 2 additions & 2 deletions dist/searchbox.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
</div>

<div class="usage">
<p><a href="https://github.com/privian/searchbox">Searchbox</a> is a UI component built on top of <a href="https://pagefind.app/">Pagefind</a> providing fast, backend-less search to any website.</p>
<p><a href="https://github.com/bausw-com/searchbox">Searchbox</a> is a UI component built on top of <a href="https://pagefind.app/">Pagefind</a> providing fast, backend-less search to any website.</p>
<p>To get started, please follow the <a href="https://pagefind.app/docs/#indexing-your-site">Pagefind's instructions</a> on building an index for your website.</p>
<h4>Usage</h4>

Expand All @@ -87,7 +87,7 @@ <h4>Usage</h4>
<span style="color:rgb(0, 0, 128); font-weight:400;">&lt;/<span style="color:rgb(0, 0, 128); font-weight:400;">div</span>&gt;</span>

<span style="color:rgb(153, 153, 136); font-weight:400;">&lt;!-- 2. Include Searchbox into your website --&gt;</span>
<span style="color:rgb(0, 0, 128); font-weight:400;">&lt;<span style="color:rgb(0, 0, 128); font-weight:400;">script</span> <span style="color:rgb(51, 51, 51); font-weight:400;">type</span>=<span style="color:rgb(221, 17, 68); font-weight:400;">&quot;module&quot;</span> <span style="color:rgb(51, 51, 51); font-weight:400;">src</span>=<span style="color:rgb(221, 17, 68); font-weight:400;">&quot;https://cdn.jsdelivr.net/gh/privian/searchbox@0.2.2/dist/searchbox.min.js&quot;</span>&gt;</span><span style="color:rgb(0, 0, 128); font-weight:400;">&lt;/<span style="color:rgb(0, 0, 128); font-weight:400;">script</span>&gt;</span>
<span style="color:rgb(0, 0, 128); font-weight:400;">&lt;<span style="color:rgb(0, 0, 128); font-weight:400;">script</span> <span style="color:rgb(51, 51, 51); font-weight:400;">type</span>=<span style="color:rgb(221, 17, 68); font-weight:400;">&quot;module&quot;</span> <span style="color:rgb(51, 51, 51); font-weight:400;">src</span>=<span style="color:rgb(221, 17, 68); font-weight:400;">&quot;https://cdn.jsdelivr.net/gh/bausw-com/searchbox@0.2.4/dist/searchbox.min.js&quot;</span>&gt;</span><span style="color:rgb(0, 0, 128); font-weight:400;">&lt;/<span style="color:rgb(0, 0, 128); font-weight:400;">script</span>&gt;</span>

<span style="color:rgb(153, 153, 136); font-weight:400;">&lt;!-- 3. Configure Searchbox instance --&gt;</span>
<span style="color:rgb(0, 0, 128); font-weight:400;">&lt;<span style="color:rgb(0, 0, 128); font-weight:400;">script</span>&gt;</span><span style="color:rgb(51, 51, 51); font-weight:400;">
Expand Down
Loading

0 comments on commit b738b83

Please sign in to comment.