-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwiki.html
More file actions
273 lines (271 loc) · 15.5 KB
/
Copy pathwiki.html
File metadata and controls
273 lines (271 loc) · 15.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
<!DOCTYPE html>
<html lang="en">
<head>
<script src="/coi-serviceworker.js">
</script>
<meta charset="UTF-8" >
<meta name="robots" content="index, follow" >
<meta name="viewport" content="width=device-width, initial-scale=1.0" >
<meta name="keywords" content="AcreetionOS, Arch Linux, Linux distribution, Wiki, Search, Documentation" >
<meta name="referrer" content="strict-origin-when-cross-origin" >
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' https://cdn.jsdelivr.net; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com https://cdn.jsdelivr.net; img-src 'self' data: https:; font-src 'self' https://fonts.gstatic.com https://cdn.jsdelivr.net; connect-src 'self' https://wiki.archlinux.org; base-uri 'self'" >
<title>
AcreetionOS - Wiki Hub
</title>
<meta property="og:type" content="website">
<meta property="og:url" content="https://acreetionos.org/wiki.html">
<meta property="og:title" content="Wiki Hub - AcreetionOS">
<meta property="og:description" content="Search the Arch Linux Wiki through AcreetionOS.">
<meta property="og:image" content="https://acreetionos.org/logo.webp">
<meta property="og:site_name" content="AcreetionOS">
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://acreetionos.org/wiki.html">
<meta property="twitter:title" content="Wiki Hub - AcreetionOS">
<meta property="twitter:description" content="Search the Arch Linux Wiki through AcreetionOS.">
<meta property="twitter:image" content="https://acreetionos.org/logo.webp">
<meta name="description" content="Search the Arch Linux Wiki through AcreetionOS. Get beginner-friendly guides and AI-powered explanations for Linux topics." >
<link rel="canonical" href="https://acreetionos.org/wiki.html" >
<link rel="icon" type="image/webp" href="acreetionoslogo.webp">
<link rel="stylesheet" href="fonts.css">
<link rel="stylesheet" href="sidebar.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css" integrity="sha384-XGjxtQfXaH2tnPFa9x+ruJTuLE3Aa6LhHSWRr1XeTyhezb4abCG4ccI5AkVDxqC+" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/marked@18.0.5/lib/marked.umd.js" integrity="sha384-ZD0fTOwPMHi7zM6WTVIWJR21I07lq0ccnqz3J6WMvQKG9thh4y7TA1QE6PJu0Af8" crossorigin="anonymous">
</script>
<style>
:root{--acreetion-green:#2ecc71;--acreetion-body-bg:#121212;--acreetion-panel-bg:#1a1a1a;--acreetion-box-bg:#222;--acreetion-box-border:#333;--acreetion-text-bright:#e5e5e5;--acreetion-text:#b2b2b2;--font-sans:'Roboto',sans-serif;--font-mono:'Fira Code',monospace}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:var(--font-sans);background:var(--acreetion-body-bg);color:var(--acreetion-text-bright);line-height:1.6}
.wrap{max-width:860px;margin:2rem auto;padding:0 1.5rem}
h1{font-family:var(--font-mono);font-size:1.5rem;color:var(--acreetion-text-bright);margin-bottom:.5rem}
.sub{color:var(--acreetion-text);font-size:.95rem;margin-bottom:1.5rem;line-height:1.7}
.search-card{background:var(--acreetion-panel-bg);border:1px solid var(--acreetion-box-border);border-radius:12px;padding:1.5rem;margin-bottom:2rem}
.search-card .bar{display:flex;border:1px solid var(--acreetion-box-border);border-radius:8px;overflow:hidden;background:var(--acreetion-body-bg);transition:border-color.2s}
.search-card .bar:focus-within{border-color:var(--acreetion-green)}
.search-card .bar input{flex:1;background:transparent;border:none;padding:1rem 1.2rem;color:var(--acreetion-text-bright);font-size:1rem;outline:none}
.search-card .bar input::placeholder{color:#555}
.search-card .bar button{padding:0 2rem;background:var(--acreetion-green);border:none;color:#000;font-weight:700;font-family:var(--font-mono);cursor:pointer;transition:opacity.2s}
.search-card .bar button:hover{opacity:.9}
.results{margin-top:1rem;max-height:420px;overflow-y:auto;display:none}
.results .item{padding:1rem 1.2rem;border:1px solid var(--acreetion-box-border);border-radius:8px;margin-bottom:.5rem;cursor:pointer;transition:all.15s}
.results .item:hover{background:var(--acreetion-box-bg);border-color:var(--acreetion-green);padding-left:1.4rem}
.results .item h4{color:var(--acreetion-green);font-family:var(--font-mono);font-size:.9rem;margin-bottom:.25rem}
.results .item p{color:var(--acreetion-text);font-size:.85rem;line-height:1.5}
.results .item .src{font-size:.7rem;color:#555;margin-top:.3rem}
.quick{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem;padding-top:1rem;border-top:1px solid var(--acreetion-box-border)}
.quick span{font-size:.8rem;color:#555;padding-top:.15rem}
.quick a{padding:.35rem .9rem;border:1px solid var(--acreetion-box-border);border-radius:6px;color:var(--acreetion-text);text-decoration:none;font-size:.82rem;transition:all.15s}
.quick a:hover{border-color:var(--acreetion-green);color:var(--acreetion-green);background:rgba(46,204,113,.05)}
.modal-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.7);backdrop-filter:blur(8px);z-index:1000;align-items:center;justify-content:center;padding:1rem;opacity:0;visibility:hidden}
.modal-overlay.show{display:flex;opacity:1;visibility:visible;transition:opacity.3s}
.modal-box{position:relative;background:var(--acreetion-box-bg);border:1px solid var(--acreetion-box-border);border-radius:16px;padding:2rem;max-width:720px;width:100%;max-height:80vh;overflow-y:auto}
.modal-close{position:absolute;top:1rem;right:1rem;background:var(--acreetion-green);color:#000;border:none;border-radius:50%;width:36px;height:36px;font-size:1.3rem;cursor:pointer;line-height:36px;text-align:center}
.modal-close:hover{background:#d15c64}
.modal-box h2{color:var(--acreetion-green);font-family:var(--font-mono);border-bottom:1px solid var(--acreetion-box-border);padding-bottom:.75rem;margin-bottom:1.25rem;font-size:1.2rem}
.ai-content{color:var(--acreetion-text);font-size:.93rem;line-height:1.8}
.ai-content h3{color:var(--acreetion-text-bright);font-size:1.05rem;margin:1.5rem 0 .5rem}
.ai-content p{margin-bottom:.75rem}
.ai-content code{background:var(--acreetion-code-bg);border:1px solid rgba(46,204,113,.2);padding:.15em .4em;border-radius:6px;font-family:var(--font-mono);font-size:.85rem;color:var(--acreetion-text-bright)}
.ai-content pre{background:var(--acreetion-panel-bg);border:1px solid var(--acreetion-box-border);padding:1rem;border-radius:8px;overflow-x:auto;margin:.75rem 0;font-size:.85rem}
.ai-content pre code{background:none;border:none;padding:0}
.ai-content ul,.ai-content ol{padding-left:1.5rem;margin-bottom:.75rem}
.ai-content li{margin-bottom:.3rem}
.ai-content a{color:var(--acreetion-green)}
.loading{text-align:center;padding:2rem;color:var(--acreetion-green);font-family:var(--font-mono);font-size:.9rem}
.loading .spin{display:inline-block;width:24px;height:24px;border:2px solid var(--acreetion-box-border);border-top-color:var(--acreetion-green);border-radius:50%;animation:spin .7s linear infinite;margin-bottom:.5rem}
@keyframes spin{to{transform:rotate(360deg)}}
#progress-area{margin-bottom:.5rem}#progress-steps{font-size:.85rem;line-height:2;color:var(--acreetion-text);margin-bottom:.5rem}#preview-area{font-size:.78rem;line-height:1.5;color:#888;margin-top:.5rem}#show-raw-btn{transition:all.15s}#show-raw-btn:hover{border-color:var(--acreetion-green)!important;color:var(--acreetion-green)!important}.page-footer{text-align:center;padding:2rem;margin-top:3rem;border-top:1px solid var(--acreetion-box-border);color:#555;font-size:.85rem}
.page-footer a{color:var(--acreetion-green);text-decoration:none}
.page-footer a:hover{text-decoration:underline}
</style>
</head>
<body>
<a href="#main-content" class="skip-link">
Skip to main content
</a>
<div id="page-wrap">
<div id="page-scale">
<header class="page-header">
<div class="header-content">
<a href="index.html" class="logo">
<img src="acreetionoslogo.webp" alt="AcreetionOS" class="logo-img" width="40" height="40">
<span class="logo-text">
Acreetion
<span>
OS
</span>
</span>
</a>
<nav class="main-nav">
<a href="index.html">
Home
</a>
<a href="flash.html">
Downloads
</a>
<a href="wiki.html">
Wiki
</a>
<a href="status.html">
Status
</a>
</nav>
</div>
</header>
<div id="main-content" class="wrap">
<h1>
Documentation Engine
</h1>
<p class="sub">
Search the Arch Linux Wiki and get AI-powered beginner-friendly guides tailored for AcreetionOS. Select a topic below or type anything you want help with.
</p>
<div style="background:var(--acreetion-panel-bg);border:1px solid var(--acreetion-box-border);border-radius:12px;padding:1.25rem 1.5rem;margin-bottom:2rem">
<h3 style="color:var(--acreetion-green);font-family:var(--font-mono);font-size:1rem;margin-bottom:0.5rem">
<i class="bi bi-robot" style="margin-right:0.4rem"></i>AI-Powered Search
</h3>
<p style="color:var(--acreetion-text);font-size:0.9rem;line-height:1.7;margin:0">
This tool searches the entire <a href="https://wiki.archlinux.org" style="color:var(--acreetion-green)">Arch Linux Wiki</a> and uses AI (powered by opencode-go) to generate beginner-friendly summaries of the results. Instead of reading dense technical documentation, you get clear, concise answers tailored for AcreetionOS users. The AI explains complex topics in plain language, with links back to the original Arch Wiki pages for advanced details.
</p>
</div>
<div class="search-card">
<div class="bar">
<input type="text" id="search-input" placeholder="e.g. Software Updates, WiFi, Bluetooth, GRUB..." autofocus>
<button type="button" id="search-btn">
Search
</button>
</div>
<div id="results" class="results">
</div>
<div class="quick">
<span>
Popular:
</span>
<a href="#" data-q="System maintenance">
System maintenance
</a>
<a href="#" data-q="Installing software">
Installing software
</a>
<a href="#" data-q="WiFi">
WiFi
</a>
<a href="#" data-q="Bluetooth">
Bluetooth
</a>
<a href="#" data-q="Printer setup">
Printer setup
</a>
<a href="#" data-q="NVIDIA drivers">
NVIDIA drivers
</a>
<a href="#" data-q="Firewall">
Firewall
</a>
</div>
</div>
</div>
<div id="wiki-modal" class="modal-overlay">
<div class="modal-box">
<button type="button" class="modal-close" id="modal-close">
×
</button>
<div id="progress-area">
<div id="progress-track" style="height:4px;background:var(--acreetion-box-border);border-radius:2px;margin-bottom:1.5rem;overflow:hidden">
<div id="progress-bar" style="height:100%;width:0%;background:var(--acreetion-green);border-radius:2px;transition:width.4s ease">
</div>
</div>
<div id="progress-steps">
</div>
<div id="preview-area" style="display:none;margin-bottom:1rem;padding:.8rem;background:var(--acreetion-panel-bg);border:1px solid var(--acreetion-box-border);border-radius:8px;max-height:200px;overflow-y:auto;font-size:.8rem;color:var(--acreetion-text);white-space:pre-wrap;font-family:var(--font-mono)">
</div>
</div>
<div id="content-area" style="display:none">
<h2 id="modal-title-result">
​
</h2>
<div id="modal-body" class="ai-content">
</div>
<div style="margin-top:1.5rem;padding-top:1rem;border-top:1px solid var(--acreetion-box-border);display:flex;gap:.5rem;flex-wrap:wrap">
<a id="modal-link" href="#" target="_blank" rel="noopener" style="display:inline-block;padding:.6rem 1.2rem;background:var(--acreetion-green);color:#000;border-radius:8px;font-weight:700;text-decoration:none;font-size:.85rem">
View on Arch Wiki →
</a>
<button id="show-raw-btn" style="padding:.6rem 1.2rem;background:transparent;border:1px solid var(--acreetion-box-border);color:var(--acreetion-text);border-radius:8px;cursor:pointer;font-size:.85rem">
Show raw source
</button>
</div>
</div>
</div>
</div>
<div id="wiki-vote" style="background:var(--acreetion-panel-bg);border:1px solid var(--acreetion-box-border);border-radius:12px;padding:1.5rem;margin:2rem auto;max-width:600px;text-align:center">
<h3 style="color:var(--acreetion-text-bright);font-size:1rem;margin-bottom:0.75rem">
Would you like AI-generated AcreetionOS-specific documentation?
</h3>
<div id="vote-buttons" style="display:flex;gap:0.75rem;justify-content:center;flex-wrap:wrap">
<button class="vote-btn" data-vote="yes" style="padding:0.6rem 1.4rem;background:var(--acreetion-green);color:#000;border:none;border-radius:8px;font-weight:700;font-size:0.9rem;cursor:pointer;transition:transform 0.15s">Yes, I'd use that</button>
<button class="vote-btn" data-vote="no" style="padding:0.6rem 1.4rem;background:transparent;color:var(--acreetion-text);border:1px solid var(--acreetion-box-border);border-radius:8px;font-weight:600;font-size:0.9rem;cursor:pointer;transition:transform 0.15s">No, the Arch Wiki is enough</button>
</div>
<div id="vote-results" style="margin-top:1rem;font-size:0.85rem;color:var(--acreetion-text);display:none">
</div>
</div>
<script>
(function(){
var votes = JSON.parse(localStorage.getItem('wikiVotes') || '{"yes":0,"no":0}');
function updateResults() {
var total = votes.yes + votes.no;
var el = document.getElementById('vote-results');
if (total === 0) { el.style.display = 'none'; return; }
el.style.display = 'block';
el.innerHTML = '<strong style="color:var(--acreetion-green)">' + votes.yes + '</strong> Yes · <strong style="color:var(--acreetion-text)">' + votes.no + '</strong> No · <span style="color:#555">(' + total + ' total votes)</span>';
}
function hasVoted() {
return localStorage.getItem('wikiVoted') === 'true';
}
if (hasVoted()) {
document.getElementById('vote-buttons').innerHTML = '<span style="color:var(--acreetion-text);font-size:0.9rem">Thanks for your feedback!</span>';
updateResults();
}
document.querySelectorAll('.vote-btn').forEach(function(btn) {
btn.addEventListener('click', function() {
if (hasVoted()) return;
var v = btn.getAttribute('data-vote');
votes[v]++;
localStorage.setItem('wikiVotes', JSON.stringify(votes));
localStorage.setItem('wikiVoted', 'true');
document.getElementById('vote-buttons').innerHTML = '<span style="color:var(--acreetion-green);font-size:0.9rem;font-weight:600">Thanks for your feedback!</span>';
updateResults();
});
});
})();
</script>
<footer class="page-footer">
<p>
AcreetionOS is an independent project built on
<a href="https://archlinux.org" target="_blank" rel="noopener">
Arch Linux
</a>
. Grateful to the Arch community for their incredible work.
</p>
<p>
<a href="https://github.com/AcreetionOS-Code" target="_blank" rel="noopener">
<i class="bi bi-github">
</i>
GitHub
</a>
·
<a href="https://gitlab.acreetionos.org">
<i class="bi bi-gitlab">
</i>
GitLab
</a>
</p>
</footer>
</div>
<script src="scale-page.js" defer>
</script>
<script src="sidebar.js" defer>
</script>
<script src="wiki-page.js">
</script>
<script src="footer.js" defer>
</script>
</body>
</html>