Skip to content

Commit 88bfa42

Browse files
committed
pages
1 parent 5b45fe7 commit 88bfa42

2 files changed

Lines changed: 37 additions & 8 deletions

File tree

.DS_Store

6 KB
Binary file not shown.

index.html

Lines changed: 37 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,51 @@
66
<title>iOS Cracked Apps Repo</title>
77
<script src="https://cdn.tailwindcss.com"></script>
88
</head>
9-
<body class="bg-gray-900 text-white flex flex-col items-center justify-center min-h-screen p-4">
9+
<body class="bg-gray-900 text-white flex flex-col items-center min-h-screen p-6">
10+
1011
<h1 class="text-3xl font-bold mb-4">iOS Cracked Apps Repo</h1>
11-
<div class="flex space-x-4 mb-4">
12+
13+
<!-- GitHub badges -->
14+
<div class="flex space-x-4 mb-6">
1215
<img src="https://img.shields.io/github/stars/sudo-self/iOS-Cracked-Apps" alt="GitHub Stars Badge">
1316
<img src="https://img.shields.io/github/forks/sudo-self/iOS-Cracked-Apps" alt="GitHub Forks Badge">
1417
</div>
1518

16-
<div class="bg-gray-800 p-4 rounded-xl w-full max-w-2xl">
17-
<iframe
18-
src="https://github.com/sudo-self/iOS-Cracked-Apps/tree/main"
19-
class="w-full h-96 rounded-xl"
20-
frameborder="0">
21-
</iframe>
19+
<!-- File list -->
20+
<div id="file-list" class="w-full max-w-2xl bg-gray-800 p-4 rounded-xl space-y-2">
21+
<!-- Files will be injected here -->
2222
</div>
2323

2424
<footer class="mt-6 text-sm text-gray-500">sudo-self/iOS-Cracked-Apps</footer>
25+
26+
<script>
27+
// Automatically read current directory files
28+
fetch("./")
29+
.then(res => res.text())
30+
.then(html => {
31+
const parser = new DOMParser();
32+
const doc = parser.parseFromString(html, "text/html");
33+
34+
// Extract file links
35+
const items = [...doc.querySelectorAll("a")]
36+
.map(a => a.getAttribute("href"))
37+
.filter(f => f && f.endsWith(".ipa"));
38+
39+
const listEl = document.getElementById("file-list");
40+
41+
items.forEach(file => {
42+
const div = document.createElement("div");
43+
div.innerHTML = `
44+
<a href="${file}" class="block bg-gray-700 hover:bg-gray-600 p-3 rounded-lg">
45+
${file}
46+
</a>
47+
`;
48+
listEl.appendChild(div);
49+
});
50+
});
51+
</script>
52+
2553
</body>
2654
</html>
2755

56+

0 commit comments

Comments
 (0)