Browse Source

Merge pull request 'Add bloatcat instance and autofocus to search input bar' (#1) from vlnst/rural-dict:main into main

Reviewed-on: http://git.vern.cc/cobra/rural-dict/pulls/1
Skylar "The Cobra" Widulski 1 year ago
parent
commit
c3adb3c9b9
3 changed files with 10 additions and 1 deletions
  1. 1 0
      README.org
  2. 8 0
      instances.json
  3. 1 1
      templates/index.html

+ 1 - 0
README.org

@@ -7,6 +7,7 @@ We're rural, not urban. A privacy respecting urban dictionary client, powered by
 | URL                | Country | Ownername | Owner Website   |
 |--------------------+---------+-----------+-----------------|
 | https://rd.vern.cc + [[http://rd.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion][Tor]] + [[http://vern5cxiaufqvhv4hu5ypkvw3tiwvuinae4evdbqzrioql6s2sha.b32.i2p][I2P]] | US      | ~vern     | https://vern.cc |
+| https://rd.bloatcat.tk | IS | bloatcat | https://bloatcat.tk |
 
 * About
 Rural Dictionary scrapes urban dictionary for data and then displays it in html.

+ 8 - 0
instances.json

@@ -6,5 +6,13 @@
 	"country": "US",
 	"owner_name": "~vern",
 	"owner_website": "https://vern.cc"
+    },
+    {
+	"clearnet": "https://rd.bloatcat.tk",
+	"tor": null,
+	"i2p": null,
+	"country": "IS",
+	"owner_name": "bloatcat",
+	"owner_website": "https://bloatcat.tk"
     }
 ]

+ 1 - 1
templates/index.html

@@ -13,7 +13,7 @@
 	<img src="{{ url_for('static', filename='img/logo.png')  }}">
       </a>
       <form id="search" role="search" method="get" action="/define.php">
-        <input type="search" id="term" name="term" placeholder="Search">
+        <input type="search" id="term" name="term" placeholder="Search" autofocus>
 	<button>Go</button>
       </form>
       <a href=/random.php>Random</a>