-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
54 lines (48 loc) Β· 1.77 KB
/
index.html
File metadata and controls
54 lines (48 loc) Β· 1.77 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>iExtract</title>
<link rel="stylesheet" href="index.css" />
<link rel="icon" type="image/png" href="assets/logo.png" />
<!-- Load SQL.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/sql.js/1.6.2/sql-wasm.js"></script>
<script>
let SQL = null;
initSqlJs({
locateFile: (file) => `https://cdnjs.cloudflare.com/ajax/libs/sql.js/1.6.2/${file}`,
}).then((SQLLib) => {
SQL = SQLLib;
console.log("β
SQL.js initialized.");
const script = document.createElement("script");
script.src = "index.js";
document.body.appendChild(script);
});
</script>
</head>
<body>
<div class="container">
<div class="brand">
<img src="assets/logo.svg" alt="iExtract Logo" class="logo" />
<h1 style="margin: 0">iExtract</h1>
</div>
<p>
Merge. Extract. Own the record.
<a href="how-to.html" style="margin-left: 10px; font-size: 0.9em; color: #ffd369;">π How to Use</a>
</p>
<label id="mergeLabel" for="mergeInput">
π Optional: Select .shm and .wal files to prepare chat.db
</label>
<input type="file" id="mergeInput" multiple accept=".db-shm,.db-wal" />
<hr />
<label id="fileLabel" for="fileInput">
π Required: Select your chat.db file
</label>
<input type="file" id="fileInput" accept=".db" />
<button id="mergeFiles">𧬠PREPARE FILES</button>
<button id="generate">βΊ GENERATE REPORT</button>
<p id="outputPathStatus" style="color: #ffd369; font-size: 0.9em; margin-top: 5px;"></p>
</div>
</body>
</html>