OwnSearch 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +2 -0
- data/_includes/footer.html +5 -0
- data/_includes/javascript.html +15 -0
- data/_includes/mainindex.html +4 -0
- data/_includes/page.html +4 -0
- data/_includes/post.html +4 -0
- data/_includes/recommendedsearches.html +4 -0
- data/_includes/searchbar.html +13 -0
- data/_includes/stylesheet.html +59 -0
- data/_includes/title.html +1 -0
- data/_layouts/default.html +12 -0
- data/_layouts/page.html +4 -0
- data/_layouts/post.html +14 -0
- data/_sass/search.css +47 -0
- metadata +101 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: b100ae90fe9b0fdecca7e53c5800b52bee1cf9ee7aa33f15a660f060f6682291
|
4
|
+
data.tar.gz: 5cccea0af267bd4be5f04b0ebfa25822891acacb1e302a9866311754c8ed8005
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 71d2cf8f16e594e9e416546b2d0e5c5c7732567564d177140780b5b2bed1cf8b9f1bd81a60c2072361b3d4ea680f04afd3de830f543f0eab5d57b75e7471a561
|
7
|
+
data.tar.gz: b9c1e0d07ad4d390a58b54939f3e9152cd95f2a18b0e4dcda975252ea40a650d95223aabebb9b8848261176d5374f0ac63d26f43b33ba6f65260f9aa4931b3d5
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2021 Gitea
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
<script>
|
2
|
+
const f = document.getElementById('form');
|
3
|
+
const q = document.getElementById('query');
|
4
|
+
const google = 'http://localhost:8090/yacysearch.html?query=';
|
5
|
+
const site = '';
|
6
|
+
|
7
|
+
function submitted(event) {
|
8
|
+
event.preventDefault();
|
9
|
+
const url = google + site + '+' + q.value;
|
10
|
+
const win = window.open(url, '_blank');
|
11
|
+
win.focus();
|
12
|
+
}
|
13
|
+
|
14
|
+
f.addEventListener('submit', submitted);
|
15
|
+
</script>
|
@@ -0,0 +1,4 @@
|
|
1
|
+
<center><h3>Main Gallery</h3></center><br />
|
2
|
+
<div>
|
3
|
+
<a href="https://lwflouisa.github.io/WeirdSearchEngine/Pages/2021-10-19-nadine"><img src="https://raw.githubusercontent.com/LWFlouisa/WeirdSearchEngine/main/Images/Nadine.jpeg" height="320px" width="240px"></a>
|
4
|
+
</div>
|
data/_includes/page.html
ADDED
data/_includes/post.html
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
<div>
|
2
|
+
<center>
|
3
|
+
<h1>WeirdSearch</h1>
|
4
|
+
<form role="search" id="form">
|
5
|
+
<input type="search" id="query" name="q"
|
6
|
+
placeholder="Search..."
|
7
|
+
aria-label="Search through WeirdSearch">
|
8
|
+
<button>
|
9
|
+
<svg viewBox="0 0 1024 1024"><path class="path1" d="M848.471 928l-263.059-263.059c-48.941 36.706-110.118 55.059-177.412 55.059-171.294 0-312-140.706-312-312s140.706-312 312-312c171.294 0 312 140.706 312 312 0 67.294-24.471 128.471-55.059 177.412l263.059 263.059-79.529 79.529zM189.623 408.078c0 121.364 97.091 218.455 218.455 218.455s218.455-97.091 218.455-218.455c0-121.364-103.159-218.455-218.455-218.455-121.364 0-218.455 97.091-218.455 218.455z"></path></svg>
|
10
|
+
</button>
|
11
|
+
</form>
|
12
|
+
</center>
|
13
|
+
</div>
|
@@ -0,0 +1,59 @@
|
|
1
|
+
<style>
|
2
|
+
body {
|
3
|
+
background-color: black;
|
4
|
+
|
5
|
+
padding-left: 150px;
|
6
|
+
padding-right: 150px;
|
7
|
+
}
|
8
|
+
|
9
|
+
h1, h2, h3, h4, h5, h6 {
|
10
|
+
color: white;
|
11
|
+
}
|
12
|
+
|
13
|
+
::placeholder {
|
14
|
+
color: #6CD829;
|
15
|
+
opacity: 0.7;
|
16
|
+
}
|
17
|
+
|
18
|
+
svg {
|
19
|
+
color: #6CD829;
|
20
|
+
fill: currentColor;
|
21
|
+
width: 24px;
|
22
|
+
height: 24px;
|
23
|
+
padding: 10px;
|
24
|
+
}
|
25
|
+
|
26
|
+
input {
|
27
|
+
all: unset;
|
28
|
+
font: 16px system-ui;
|
29
|
+
color: #6CD829;
|
30
|
+
height: 50%;
|
31
|
+
}
|
32
|
+
|
33
|
+
button {
|
34
|
+
all: unset;
|
35
|
+
cursor: pointer;
|
36
|
+
width: 44px;
|
37
|
+
height: 44px;
|
38
|
+
}
|
39
|
+
|
40
|
+
svg {
|
41
|
+
color: #6CD829;
|
42
|
+
fill: currentColor;
|
43
|
+
width: 24px;
|
44
|
+
height: 24px;
|
45
|
+
padding: 10px;
|
46
|
+
}
|
47
|
+
|
48
|
+
div {
|
49
|
+
background-color: #303030;
|
50
|
+
|
51
|
+
text-align: center;
|
52
|
+
|
53
|
+
width: "75%";
|
54
|
+
border-radius: 5px;
|
55
|
+
display: flex;
|
56
|
+
flex-direction: row;
|
57
|
+
align-items: center;
|
58
|
+
}
|
59
|
+
</style>
|
@@ -0,0 +1 @@
|
|
1
|
+
<title>WeirdSearch Index</title>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<title>WeirdSearch Engine</title>
|
4
|
+
{%- include stylesheet.html -%}
|
5
|
+
</head>
|
6
|
+
<body>
|
7
|
+
<center>{%- include searchbar.html -%}</center>
|
8
|
+
{%- include recommendedsearches.html -%}
|
9
|
+
{%- include mainindex.html -%}
|
10
|
+
</body>
|
11
|
+
{%- include javascript.html -%}
|
12
|
+
</html>
|
data/_layouts/page.html
ADDED
data/_layouts/post.html
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<title>WeirdSearch Engine</title>
|
4
|
+
{%- include stylesheet.html -%}
|
5
|
+
</head>
|
6
|
+
<body>
|
7
|
+
<center>{%- include searchbar.html -%}</center>
|
8
|
+
{%- include recommendedsearches.html -%}
|
9
|
+
{{ content }}
|
10
|
+
|
11
|
+
<a href="https://lwflouisa.github.io/WeirdSearchEngine">Return To Index</a>
|
12
|
+
</body>
|
13
|
+
{%- include javascript.html -%}
|
14
|
+
</html>
|
data/_sass/search.css
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
form {
|
2
|
+
background-color: #171717;
|
3
|
+
width: 300px;
|
4
|
+
height: 44px;
|
5
|
+
border-radius: 5px;
|
6
|
+
display: flex;
|
7
|
+
flex-direction: row;
|
8
|
+
align-items: center;
|
9
|
+
}
|
10
|
+
|
11
|
+
input {
|
12
|
+
all: unset;
|
13
|
+
font: 16px system-ui;
|
14
|
+
color: #6CD829;
|
15
|
+
height: 100%;
|
16
|
+
width: 100%;
|
17
|
+
padding: 6px 10px;
|
18
|
+
}
|
19
|
+
|
20
|
+
::placeholder {
|
21
|
+
color: #6CD829;
|
22
|
+
opacity: 0.7;
|
23
|
+
}
|
24
|
+
|
25
|
+
button {
|
26
|
+
all: unset;
|
27
|
+
cursor: pointer;
|
28
|
+
width: 44px;
|
29
|
+
height: 44px;
|
30
|
+
}
|
31
|
+
|
32
|
+
svg {
|
33
|
+
color: #DBDBDB;
|
34
|
+
fill: currentColor;
|
35
|
+
width: 24px;
|
36
|
+
height: 24px;
|
37
|
+
padding: 10px;
|
38
|
+
}
|
39
|
+
|
40
|
+
div {
|
41
|
+
background-color: #303030;
|
42
|
+
width: "100%";
|
43
|
+
border-radius: 5px;
|
44
|
+
display: flex;
|
45
|
+
flex-direction: row;
|
46
|
+
align-items: center;
|
47
|
+
}
|
metadata
ADDED
@@ -0,0 +1,101 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: OwnSearch
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- LWFlouisa
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2021-10-19 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: jekyll
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.8'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.8'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.16'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.16'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '12.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '12.0'
|
55
|
+
description:
|
56
|
+
email:
|
57
|
+
- lwflouisa@gmail.com
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- LICENSE.txt
|
63
|
+
- README.md
|
64
|
+
- _includes/footer.html
|
65
|
+
- _includes/javascript.html
|
66
|
+
- _includes/mainindex.html
|
67
|
+
- _includes/page.html
|
68
|
+
- _includes/post.html
|
69
|
+
- _includes/recommendedsearches.html
|
70
|
+
- _includes/searchbar.html
|
71
|
+
- _includes/stylesheet.html
|
72
|
+
- _includes/title.html
|
73
|
+
- _layouts/default.html
|
74
|
+
- _layouts/page.html
|
75
|
+
- _layouts/post.html
|
76
|
+
- _sass/search.css
|
77
|
+
homepage: https://lwflouisa.github.io/Homepage/
|
78
|
+
licenses:
|
79
|
+
- MIT
|
80
|
+
metadata: {}
|
81
|
+
post_install_message:
|
82
|
+
rdoc_options: []
|
83
|
+
require_paths:
|
84
|
+
- lib
|
85
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
91
|
+
requirements:
|
92
|
+
- - ">="
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: '0'
|
95
|
+
requirements: []
|
96
|
+
rubyforge_project:
|
97
|
+
rubygems_version: 2.7.8
|
98
|
+
signing_key:
|
99
|
+
specification_version: 4
|
100
|
+
summary: Test
|
101
|
+
test_files: []
|