project rename and moved off github

This commit is contained in:
vulpine 2020-06-23 15:56:00 +00:00
parent 8bcf8e76e9
commit 112f6a5b19
6 changed files with 10 additions and 6 deletions

2
.gitignore vendored
View File

@ -6,3 +6,5 @@ urls.txt
crawled
crawled/
crawled/*
dep.sh

View File

@ -1,5 +1,6 @@
# tser
# huntnw
the search engine for your terminal
A powerful regex based search engine.
This project has been renamed and moved off github.

View File

@ -1 +1,2 @@
<a href="https://xfnw.ttm.sh/git/huntnw">source</a>
</div>

View File

@ -3,10 +3,10 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>tser - lickthecheese's cgi based search engine</title>
<title>huntnw</title>
<h1>tser</h1>
lickthecheese's cgi based search engine
<h1>huntnw</h1>
a powerful regex-based search engine
<div class='wrapper'>
<div class='box search-container'>
<form action="./">

View File

View File

@ -12,7 +12,7 @@ Q=$(echo "$QUERY_STRING" | sed -n 's/^.*q=\([^&]*\).*$/\1/p' | sed "s/%20/ /g" |
if [[ $Q ]]
then
./tser $Q
./huntnw $Q
[[ $(./tser $Q) ]] || echo "<div class='box'>No results :(</div>"