web/src/pages/about.astro
502 lines · 12404 bytes
1---
2import Layout from '@layouts/Layout.astro';
3import Main from '@components/scafold/MainCard.astro';
4import Icon from '@components/form/Icon.astro';
5import SocialShare from '@components/form/Social.astro';
6import { parseMarkdown } from '@utils/parse-markdown';
7import {
8 authorProjects,
9 authorSocials,
10 aboutOurData,
11 projectRequirements,
12 appDescription,
13} from '../site-config';
14
15interface GitHubContributor {
16 login: string;
17 avatar_url: string;
18 html_url: string;
19}
20
21interface Sponsor {
22 login: string;
23 avatarUrl: string;
24 name?: string;
25}
26
27const githubHeaders: Record<string, string> = {
28 'User-Agent': 'awesome-privacy',
29};
30const apiKey = import.meta.env.GITHUB_API_KEY;
31if (apiKey) {
32 githubHeaders['Authorization'] = `Bearer ${apiKey}`;
33}
34
35const contributorsResource = async (): Promise<GitHubContributor[] | null> => {
36 const url =
37 'https://api.github.com/repos/lissy93/personal-security-checklist/contributors?per_page=100';
38 const response = await fetch(url, { headers: githubHeaders });
39 if (!response.ok) return null;
40 return await response.json();
41};
42
43const sponsorsResource = async (): Promise<Sponsor[] | null> => {
44 const url = 'https://github-sponsors.as93.workers.dev/lissy93';
45 const response = await fetch(url);
46 if (!response.ok) return null;
47 return await response.json();
48};
49
50const contributors = await contributorsResource();
51const sponsors = await sponsorsResource();
52
53const licenseContent = async () => {
54 const url =
55 'https://raw.githubusercontent.com/Lissy93/awesome-privacy/HEAD/LICENSE';
56 const response = await fetch(url);
57 if (!response.ok) {
58 throw new Error('Failed to fetch license');
59 }
60 return await response.text();
61};
62---
63
64<Layout title="About | Awesome Privacy" description={appDescription}>
65 <div class="about-page">
66 <Main>
67 <h1 class="page-title">About Awesome Privacy</h1>
68 <h2 id="objective">Objective</h2>
69 <p>
70 Large data-hungry corporations dominate the digital world but with
71 little, or no respect for your privacy. We believe that privacy is a
72 fundamental human right and that it should be protected.
73 <br /><br />
74 Migrating to open-source applications and those with a strong emphasis on
75 privacy & security will help safegaurd you from corporations, governments,
76 and hackers who log, store or sell your sensetive personal data.
77 <br /><br />
78 Awesome Privacy is a directory of alternative software which respects your
79 privacy.
80 <br /><br />
81 </p>
82 <hr />
83
84 <h2 id="creteria">Software Requirements</h2>
85 <div class="software-requirements">
86 <p set:html={parseMarkdown(projectRequirements)} />
87 </div>
88 <hr />
89
90 <h2 id="our-data">Our Data</h2>
91 <div class="about-the-data">
92 <p set:html={parseMarkdown(aboutOurData)} />
93 </div>
94 <hr />
95
96 <h2 id="contributing">Contributing</h2>
97 <p>
98 Awesome Privacy (including all data and code) is fully open source,
99 maintained by a core group of volenteers, with a lot of help from the
100 community.
101 <br /><br />
102 We welcome suggestions, additions, edits and removals to the list.<br />
103 It's thanks to contributors like you that this project is possible 💜
104 <br /><br />
105 To get started, head over to our
106 <a href="https://github.com/lissy93/awesome-privacy"
107 >GitHub repository</a
108 >. From here, you'll be able to edit
109 <a
110 href="https://github.com/Lissy93/awesome-privacy/blob/main/awesome-privacy.yml"
111 >
112 <code>awesome-privacy.yml</code>
113 </a>
114 where all data is stored, and then submit your changes as a pull request.
115 Just be sure to read and follow the
116 <a
117 href="https://github.com/Lissy93/awesome-privacy?tab=contributing-ov-file"
118 >
119 Contributing Guidelines
120 </a> before submitting your pull request.
121 <br /><br />
122 If you're new to open source, you can find some resources to get you started
123 at <a href="https://git-in.to">git-in.to</a>, but feel free to reach out
124 if you need any help 😊
125 </p>
126 <hr />
127
128 <h2 id="acknowledgements">Acknowledgements</h2>
129 <h3 id="sponsors">Sponsors</h3>
130 <p>Huge thanks to the following sponsors, for their ongoing support 💖</p>
131 {
132 sponsors ? (
133 <div class="user-list">
134 {sponsors.map((sponsor) => (
135 <a
136 class="user"
137 href={`https://github.com/${sponsor.login}`}
138 target="_blank"
139 rel="noreferrer"
140 >
141 <img
142 src={sponsor.avatarUrl}
143 alt={sponsor.login || ''}
144 width="80"
145 height="80"
146 loading="lazy"
147 />
148 <p>{sponsor.name || sponsor.login}</p>
149 </a>
150 ))}
151 </div>
152 ) : (
153 <img
154 class="fallback-img"
155 src="https://readme-contribs.as93.net/sponsors/lissy93?perRow=12&shape=squircle&textColor=ffffff&limit=96"
156 alt="Sponsors"
157 loading="lazy"
158 />
159 )
160 }
161
162 <h3 id="contributors">Contributors</h3>
163 <p>
164 This project exists thanks to all the people who've helped build and
165 maintain it.<br />
166 Special thanks to the below, top-100 contributors 🌟
167 </p>
168 {
169 contributors ? (
170 <div class="user-list">
171 {contributors.map((contributor) => (
172 <a
173 class="user"
174 href={contributor.html_url}
175 target="_blank"
176 rel="noreferrer"
177 >
178 <img
179 src={contributor.avatar_url}
180 alt={contributor.login || ''}
181 width="80"
182 height="80"
183 loading="lazy"
184 />
185 <p>{contributor.login}</p>
186 </a>
187 ))}
188 </div>
189 ) : (
190 <img
191 class="fallback-img"
192 src="https://readme-contribs.as93.net/contributors/lissy93/awesome-privacy?perRow=12&shape=squircle&textColor=ffffff&limit=96"
193 alt="Contributors"
194 loading="lazy"
195 />
196 )
197 }
198
199 <hr />
200
201 <h2 id="support-us">Help us out</h2>
202 <p>
203 Awesome Privacy is a free, open source and community-maintained
204 resource.<br />
205 There's a few ways you can support us:
206 <ul class="help-list">
207 <li>
208 Visiting, forking, or starring or our <a
209 href="https://github.com/lissy93/awesome-privacy"
210 >GitHub repository</a
211 >
212 </li>
213 <li>
214 Help us keep our info up-to-date, but submitting an addition,
215 removal or ammendment
216 </li>
217 <li>
218 Leave feedback on services that you've used, to help others make a
219 more informed decission
220 </li>
221 <li>
222 Consider <a href="https://github.com/sponsors/Lissy93"
223 >sponsoring us on GitHub</a
224 >, if you're able 💖
225 </li>
226 <li>Share Awesome Privacy with your network</li>
227 </ul>
228 <SocialShare />
229 </p>
230
231 <hr />
232
233 <h2 id="author">Author</h2>
234 <article class="author">
235 <p>
236 This project was originally started by me,
237 <a href="https://aliciasykes.com">Alicia Sykes</a>
238 (with a lot of help from the community)
239 </p>
240 <br />
241 <p>
242 I build apps which aim to help people escape big tech, secure their
243 data, and protect their privacy.
244 </p>
245 <br />
246 <div class="pic-and-socials">
247 <a href="https://aliciasykes.com">
248 <img
249 class="pic"
250 width="180"
251 height="240"
252 alt="Alicia Sykes"
253 src="https://cdn.as93.net/profile-pictures/dsc_0597"
254 loading="lazy"
255 />
256 </a>
257 <div class="socials">
258 {
259 authorSocials.map(
260 (social: { link: string; color: string; icon: string }) => (
261 <a
262 href={social.link}
263 style={`--color: ${social.color}`}
264 target="_blank"
265 >
266 <Icon icon={social.icon} width={24} height={24} />
267 </a>
268 ),
269 )
270 }
271 </div>
272 </div>
273 <p class="more-about">
274 I have a particular interest in self-hosting, Linux, security and
275 OSINT.<br />
276 So if this type of stuff interests you, check out these other projects:
277 </p>
278 <ul>
279 {
280 authorProjects.map(
281 (project: {
282 title: string;
283 icon: string;
284 link: string;
285 description: string;
286 }) => (
287 <li>
288 <img
289 width="20"
290 height="20"
291 alt={project.title}
292 src={project.icon}
293 loading="lazy"
294 />
295 <a href={project.link} target="_blank" rel="noreferrer">
296 {project.title}
297 </a>{' '}
298 - {project.description}
299 </li>
300 ),
301 )
302 }
303 <li>
304 ...and loads more, over at <a href="https://apps.aliciasykes.com/"
305 >apps.aliciasykes.com</a
306 >
307 and on <a href="https://github.com/lissy93">github.com/lissy93</a>
308 </li>
309 </ul>
310 <br />
311 <p>
312 If you'd like to support the ongoing work on Awesome Privacy, and
313 other similar projects, consider <a
314 href="https://github.com/sponsors/lissy93">sponsoring me</a
315 > on GitHub 💖
316 </p>
317 </article>
318
319 <hr />
320
321 <h2 id="license">License</h2>
322 <p>
323 All content on Awesome Privacy is freely available, within the public
324 domain, licensed under Creative Commons Zero v1.0 Universal. The code
325 for the website is licensed under MIT.
326 </p>
327 <p>
328 {
329 licenseContent().then((license) => {
330 return <pre class="license-content">{license}</pre>;
331 })
332 }
333 </p>
334 </Main>
335 </div>
336</Layout>
337
338<style lang="scss">
339 @use '../styles/mixins' as *;
340 h2 {
341 font-size: var(--text-3xl);
342 margin: var(--space-md) 0 var(--space-sm) 0;
343 }
344 p {
345 font-size: var(--text-md);
346 }
347 hr {
348 margin: var(--space-lg) 0;
349 border: 0;
350 border-top: 2px solid var(--accent);
351 &:nth-child(6) {
352 border-color: var(--accent-3);
353 }
354 &:nth-child(9) {
355 border-color: var(--accent-2);
356 }
357 }
358
359 h3 {
360 font-size: var(--text-xl);
361 }
362
363 .software-requirements,
364 .about-the-data {
365 :global(p) {
366 font-size: var(--text-md);
367 margin: 0 0 var(--space-sm) 0;
368 }
369 :global(ul) {
370 padding-left: var(--space-sm);
371 list-style: none;
372 font-size: var(--text-md);
373 :global(li ul) {
374 padding: 0 0 var(--space-sm) var(--space-md);
375 list-style: circle;
376 }
377 }
378 :global(h3) {
379 font-size: var(--text-xl);
380 margin-bottom: 0;
381 }
382 :global(strong) {
383 font-weight: 500;
384 }
385 :global(small) {
386 font-size: var(--text-sm);
387 opacity: var(--opacity-soft);
388 :global(a) {
389 color: var(--accent-3-text);
390 }
391 }
392 :global(code) {
393 font-family: var(--font-code);
394 background: var(--code-bg);
395 padding: 0.2rem 0.4rem;
396 border-radius: var(--curve-sm);
397 font-size: var(--text-sm);
398 }
399 }
400
401 .user-list {
402 display: flex;
403 flex-wrap: wrap;
404 gap: var(--space-xs);
405 margin: var(--space-lg) 0;
406 .user {
407 width: 6rem;
408 overflow: hidden;
409 text-align: center;
410 padding: var(--space-sm);
411 border-radius: var(--curve-sm);
412 transition: var(--transition-normal);
413 &:hover {
414 background: var(--background-form);
415 }
416 img {
417 width: 5rem;
418 height: 5rem;
419 border-radius: var(--curve-md);
420 }
421 p {
422 margin: var(--space-sm) auto 0 auto;
423 font-size: var(--text-base);
424 @include line-clamp(1);
425 }
426 }
427 }
428
429 .fallback-img {
430 max-width: 100%;
431 margin: var(--space-lg) 0;
432 border-radius: var(--curve-sm);
433 }
434
435 .license-content {
436 max-height: 500px;
437 overflow: scroll;
438 background: var(--background-form);
439 width: fit-content;
440 border-radius: var(--curve-sm);
441 padding: var(--space-sm);
442 font-size: var(--text-xs);
443 font-family: var(--font-subtitle);
444 max-width: 100vw;
445 white-space: pre-line;
446 }
447
448 .help-list {
449 padding-left: var(--space-md);
450 list-style: circle;
451 font-size: var(--text-md);
452 }
453
454 .author {
455 p {
456 margin: var(--space-md) 0 0 0;
457 }
458 ul {
459 padding-left: 1.5rem;
460 list-style: circle;
461 margin-bottom: 0;
462 li {
463 font-size: var(--text-md);
464 }
465 }
466 .about {
467 font-size: var(--text-lg);
468 font-style: italic;
469 font-weight: 300;
470 color: var(--accent-3-text);
471 text-align: center;
472 max-width: 550px;
473 margin: 0 auto;
474 }
475
476 small {
477 font-size: var(--text-base);
478 margin: var(--space-md) 0;
479 }
480 .pic-and-socials {
481 float: right;
482 img {
483 margin: var(--space-sm) var(--space-md);
484 border-radius: var(--curve-md);
485 border: var(--border-heavy);
486 box-shadow: var(--shadow-md);
487 }
488 .socials {
489 display: flex;
490 margin: var(--space-sm) var(--space-md);
491 justify-content: space-between;
492 :global(a svg) {
493 color: var(--foreground);
494 transition: var(--transition-normal);
495 &:hover {
496 color: var(--color);
497 }
498 }
499 }
500 }
501 }
502</style>