-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathindex.html
More file actions
186 lines (180 loc) · 5.61 KB
/
Copy pathindex.html
File metadata and controls
186 lines (180 loc) · 5.61 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta
name="description"
content="A collection of open source Android apps, developed with privacy in mind and beautiful design."
>
<title>You Apps</title>
<link rel="stylesheet" href="style.css">
<link
rel="icon"
href="https://raw.githubusercontent.com/you-apps/Artwork/main/app-icons/new/YouApps.svg"
>
</head>
<body>
<header>
<a href="/"
><img
src="https://raw.githubusercontent.com/you-apps/Artwork/main/app-icons/new/YouApps.svg"
alt="You Apps icon"
></a
>
<nav>
<a href="#hero">About</a>
<a href="#apps">Apps</a>
<a href="#team">Team</a>
<a href="#contributing">Contributing</a>
</nav>
</header>
<section id="hero">
<div id="desc">
<h1>No ads, no trackers, just You</h1>
<p>
A collection of open source Android apps, developed with privacy in
mind and with a beautiful design. No need to choose between the two.
Get them now via GitHub or F-Droid.
</p>
<span id="hero-links">
<a class="material-button" href="https://github.com/you-apps"
>Source code</a
>
<a class="material-button" href="https://liberapay.com/bnyro"
>Donate</a
>
</span>
</div>
<img
src="https://raw.githubusercontent.com/you-apps/Artwork/main/app-icons/new/YouApps.svg"
alt="You Apps icon"
>
</section>
<section id="apps">
<h2>Apps</h2>
<div id="app-list"></div>
<noscript>Enable JavaScript to view the apps</noscript>
</section>
<section id="team">
<h2>Team</h2>
<div id="member-list"></div>
</section>
<section id="others">
<div id="download" class="card">
<h1>Downloads and Verification</h1>
<p>
The only official sources for downloading <i>You Apps</i> are
<i
>GitHub releases</i
>, <i>F-Droid</i>, and <i>IzzyOnDroid</i>. The download links can be
found in the GitHub repository of each app. Any other sources are
unofficial and potentially malicious!
</p>
<p>
If you're downloading via <i>GitHub releases</i> or
<i
>IzzyOnDroid</i
>, please make sure to verify the checksums of the signing
certificates.
</p>
<div id="checksums">
<span
>SHA-1:
<pre>1ea53902b793f98f034a1da7c9aaaf87eb184f18</pre>
</span>
<span
>SHA-256:
<pre
>b3bc73b117df5dfe38130c6c2b946852ae7088557fe8e433f0d9983a6b55cc95</pre>
</span>
</div>
</div>
<div id="contributing" class="card">
<h1>Contribute now!</h1>
<p>All contributions are very welcome!</p>
<ul>
<li>
Feel free to join the
<a href="https://matrix.to/#/#you-apps:matrix.org">Matrix Room</a>
for discussions about the app.
</li>
<li>
Bug reports and feature requests can be submitted to
<a href="https://github.com/you-apps">our repository</a>
(please make sure to fill out all the requested information
properly)!
</li>
<li>
If you are a developer and wish to contribute to the app, please
<strong>fork</strong> the project and submit a <a
href="https://help.github.com/articles/about-pull-requests/"
>pull request</a
>.
</li>
</ul>
</div>
</section>
<footer>
<span>
<i>2023 - now</i> You Apps GPL-3.0 LICENSED</span
>
<span id="social-links">
<a href="https://github.com/you-apps"
><img src="assets/github.svg" alt="GitHub icon"></a
>
<a href="https://matrix.to/#/#you-apps:matrix.org"
><img src="assets/matrix.svg" alt="Matrix icon"></a
>
</span>
</footer>
<script>
const $ = (tag, props = {}, ...children) => {
const el = document.createElement(tag);
Object.assign(el, props);
children.forEach(child => el.append(
Array.isArray(child)
? $(child[0], child[1], ...child.slice(2))
: (child instanceof Node ? child : String(child))
));
return el;
};
const fetchData = path => fetch(`https://api.github.com/orgs/you-apps/${path}`).then(res => res.json());
Promise.all([fetchData('repos'), fetchData('members')])
.then(([repos, members]) => {
document.querySelector("#apps > div").replaceChildren(...repos
.filter(repo => repo.name.endsWith("You") && !repo.archived)
.sort((a, b) => b.stargazers_count - a.stargazers_count)
.map(({name, html_url, description, stargazers_count}) =>
$('a', {className: 'card', href: html_url},
['img', {
alt: `${name} icon`,
src: `https://raw.githubusercontent.com/you-apps/${name}/main/fastlane/metadata/android/en-US/images/icon.png`
}],
['div', {},
['h3', {textContent: name}],
['p', {textContent: description}]
],
['span', {className: 'stars'},
['img', {src: 'assets/star.svg', alt: 'Star icon'}],
` ${stargazers_count}`
]
)
)
);
document.querySelector("#team > div").replaceChildren(...members
.map(({login, html_url, avatar_url}) =>
$('a', {className: 'card', href: html_url},
['img', {src: avatar_url, alt: `${login}'s avatar`}],
['h3', {textContent: login}]
)
)
);
})
.catch(() => {
document.querySelector("#apps > div").textContent = "Failed to load apps.";
document.querySelector("#team > div").textContent = "Failed to load team members.";
});
</script>
</body>
</html>