Commit 92b72bf319

92b72bf319954fb054fdcaf4b8e548737f3bffaf

parent: 1fda1036f9

Unsigned

Alicia Sykes <alicia@omg.lol> · 2026-06-03 20:58 UTC

feat: temporarily disables web submissions

Layout: unified · split

web/src/components/things/AddNewService.svelte +314 −266
@@ -2,6 +2,8 @@
2 import yaml from 'js-yaml'; 2 import yaml from 'js-yaml';
3 import { makeAdditionRequest } from '../../utils/data-src-delete-n-edit'; 3 import { makeAdditionRequest } from '../../utils/data-src-delete-n-edit';
4 4
5 let { isDisabled = false }: { isDisabled?: boolean } = $props();
6
5 // Form state 7 // Form state
6 let listingCategory = $state(''); 8 let listingCategory = $state('');
7 let serviceName = $state(''); 9 let serviceName = $state('');
@@ -121,278 +123,301 @@
121 You'll need a GitHub account in order to submit this form. 123 You'll need a GitHub account in order to submit this form.
122</p> 124</p>
123 125
124<form onsubmit={handleSubmit}> 126{#if isDisabled}
125 <h3>Basics</h3> 127 <div class="disabled-notice" role="alert">
126 <p class="sub-title-description">All fields here are required.</p> 128 Additions via this form have been temporarily disabled due to excess spam
127 129 and AI additions. Please follow the <a
128 <!-- Category Dropdown --> 130 href="https://github.com/lissy93/awesome-privacy/blob/main/.github/CONTRIBUTING.md"
129 <div class="form-row"> 131 >contributing</a
130 <label for="listing-category">Category</label>
131 <select
132 bind:value={listingCategory}
133 id="listing-category"
134 required
135 autocomplete="off"
136 > 132 >
137 <option value="">--Please choose an option--</option> 133 instructions and submit a PR instead. For more info, see
138 <option value="Essentials">Essentials</option> 134 <a href="https://github.com/lissy93/awesome-privacy/discussions/596"
139 <option value="Communication">Communication</option> 135 >this thread</a
140 <option value="Security Tools">Security Tools</option> 136 >.
141 <option value="Networking">Networking</option>
142 <option value="Productivity">Productivity</option>
143 <option value="Utilities">Utilities</option>
144 <option value="Operating Systems">Operating Systems</option>
145 <option value="Development">Development</option>
146 <option value="Home and IoT">Home and IoT</option>
147 <option value="Finance">Finance</option>
148 <option value="Social">Social</option>
149 <option value="Media">Media</option>
150 <option value="Creativity">Creativity</option>
151 </select>
152 <p>
153 Choose the top-level category, which should align with the <a
154 href="/browse">one of these</a
155 >.
156 </p>
157 </div>
158
159 <!-- Listing Name -->
160 <div class="form-row">
161 <label for="service-name">Listing Name</label>
162 <input
163 type="text"
164 bind:value={serviceName}
165 id="service-name"
166 required
167 autocomplete="off"
168 />
169 <p>Enter the name of the app, software or service</p>
170 </div>
171
172 <!-- Listing URL -->
173 <div class="form-row">
174 <label for="service-url">Listing URL</label>
175 <input
176 type="url"
177 bind:value={serviceUrl}
178 id="service-url"
179 required
180 autocomplete="off"
181 />
182 <p>
183 Enter the fully-qualified domain name of the homepage for this listing
184 </p>
185 </div>
186
187 <!-- Listing Icon -->
188 <div class="form-row">
189 <label for="service-icon">Listing Icon</label>
190 <input
191 type="url"
192 bind:value={serviceIcon}
193 id="service-icon"
194 required
195 autocomplete="off"
196 />
197 <p>
198 Paste a URL to a square logo for the service. Dimensions must be no less
199 than 64x64, and no more than 512x512 pixels
200 </p>
201 </div>
202
203 <!-- Listing Description -->
204 <div class="form-row">
205 <label for="service-description">Listing Description</label>
206 <textarea
207 bind:value={serviceDescription}
208 id="service-description"
209 required
210 autocomplete="off"
211 ></textarea>
212 <p>
213 Please provide a description for this listing. Keep it factual and
214 objective. Markdown is supported.
215 </p>
216 </div>
217
218 <!-- Section 2 -->
219 <h3>Third-Party Referencing</h3>
220 <p class="sub-title-description">
221 In order to create a comprehensive listing, we combine the data inputted
222 above with other sources, to give additional context and help users make
223 informed decisions. Metrics from these services are fetched automatically at
224 build-time from our API.
225 <br />
226 All fields are optional, but the more information you provide, the better!
227 </p>
228
229 <!-- GitHub Repository -->
230 <div class="form-row">
231 <label for="service-github">GitHub Repository</label>
232 <input
233 type="text"
234 bind:value={serviceGithub}
235 id="service-github"
236 required
237 autocomplete="off"
238 />
239 <p>
240 Share a link to where the project's source is located.<br />
241 Use the format [user]/[repo] e.g, lissy93/dashy
242 </p>
243 </div>
244
245 <!-- ToS;DR ID -->
246 <div class="form-row">
247 <label for="service-tosdr-id">ToS;DR ID</label>
248 <input
249 type="number"
250 bind:value={serviceTosdrId}
251 id="service-tosdr-id"
252 autocomplete="off"
253 />
254 <p>
255 Has the Privacy policy been documented by <a href="https://tosdr.org/"
256 >tosdr.org</a
257 >? If so, please include the report reference below (this is a 3 or
258 4-digit numerical ID). Skip section if not applicable.
259 </p>
260 </div>
261
262 <!-- Apple App Store URL -->
263 <div class="form-row">
264 <label for="service-tosdr-id">iOS App</label>
265 <input
266 type="url"
267 bind:value={serviceIosApp}
268 id="service-ios-app"
269 autocomplete="off"
270 />
271 <p>
272 Paste the link to the mobile app on the Apple App Store.<br />
273 E.g. https://apps.apple.com/us/app/bitwarden-password-manager/id1137397744
274 </p>
275 </div>
276
277 <!-- Google Play App Store URL -->
278 <div class="form-row">
279 <label for="service-tosdr-id">Android App</label>
280 <input
281 type="url"
282 bind:value={serviceAndroidApp}
283 id="service-android-app"
284 autocomplete="off"
285 />
286 <p>
287 Paste the link to the mobile app on the Google Play Store.<br />
288 E.g. https://play.google.com/store/apps/details?id=com.x8bit.bitwarden
289 </p>
290 </div> 137 </div>
291 138{/if}
292 <!-- Discord Server Invite Code --> 139
293 <div class="form-row"> 140<div class="form-wrapper">
294 <label for="service-tosdr-id">Discord Invite</label> 141 {#if isDisabled}
295 <input 142 <div
296 type="text" 143 class="disabled-overlay"
297 bind:value={serviceDiscordInvite} 144 title="This form has been temporarily disabled due to spam"
298 id="service-discord-invite" 145 ></div>
299 autocomplete="off" 146 {/if}
300 /> 147 <form onsubmit={handleSubmit}>
301 <p> 148 <h3>Basics</h3>
302 Paste the invite code to the Discord server for this service.<br /> 149 <p class="sub-title-description">All fields here are required.</p>
303 E.g. If the invite URL is https://discord.com/invite/4JMAauFZBq the code is 150
304 4JMAauFZBq 151 <!-- Category Dropdown -->
305 </p> 152 <div class="form-row">
306 </div> 153 <label for="listing-category">Category</label>
307 154 <select
308 <!-- Reddit sub name --> 155 bind:value={listingCategory}
309 <div class="form-row"> 156 id="listing-category"
310 <label for="service-tosdr-id">Subreddit</label> 157 required
311 <input 158 autocomplete="off"
312 type="text" 159 >
313 bind:value={serviceSubreddit} 160 <option value="">--Please choose an option--</option>
314 id="service-subreddit" 161 <option value="Essentials">Essentials</option>
315 autocomplete="off" 162 <option value="Communication">Communication</option>
316 /> 163 <option value="Security Tools">Security Tools</option>
317 <p> 164 <option value="Networking">Networking</option>
318 If the service has a subreddit, please provide the name here.<br /> 165 <option value="Productivity">Productivity</option>
319 Don't include `r/` in the name, nor the full URL - just the sub name. 166 <option value="Utilities">Utilities</option>
320 </p> 167 <option value="Operating Systems">Operating Systems</option>
321 </div> 168 <option value="Development">Development</option>
322 169 <option value="Home and IoT">Home and IoT</option>
323 <!-- Section 3 - Checklist and details --> 170 <option value="Finance">Finance</option>
324 <h3>Privacy Checklist</h3> 171 <option value="Social">Social</option>
325 <p class="sub-title-description"> 172 <option value="Media">Media</option>
326 Finally, check the boxes that apply to the service you are submitting, and 173 <option value="Creativity">Creativity</option>
327 then provide any additional information to back this up in the text area 174 </select>
328 below. 175 <p>
329 </p> 176 Choose the top-level category, which should align with the <a
330 177 href="/browse">one of these</a
331 <!-- Open Source Checkbox --> 178 >.
332 <div class="form-row"> 179 </p>
333 <label for="service-open-source">Is Open Source?</label> 180 </div>
334 <input 181
335 type="checkbox" 182 <!-- Listing Name -->
336 bind:checked={serviceOpenSource} 183 <div class="form-row">
337 id="service-open-source" 184 <label for="service-name">Listing Name</label>
338 /> 185 <input
339 <p> 186 type="text"
340 Is this service fully open source? Aka, can it be compiled from source by 187 bind:value={serviceName}
341 the user, or self-hosted? 188 id="service-name"
342 </p> 189 required
343 </div> 190 autocomplete="off"
344 191 />
345 <!-- Security Audited Checkbox --> 192 <p>Enter the name of the app, software or service</p>
346 <div class="form-row"> 193 </div>
347 <label for="service-security-audited">Security Audited?</label> 194
348 <input 195 <!-- Listing URL -->
349 type="checkbox" 196 <div class="form-row">
350 bind:checked={serviceSecurityAudited} 197 <label for="service-url">Listing URL</label>
351 id="service-security-audited" 198 <input
352 /> 199 type="url"
353 <p> 200 bind:value={serviceUrl}
354 Has this service been independently security audited by an accredited 201 id="service-url"
355 auditor? 202 required
203 autocomplete="off"
204 />
205 <p>
206 Enter the fully-qualified domain name of the homepage for this listing
207 </p>
208 </div>
209
210 <!-- Listing Icon -->
211 <div class="form-row">
212 <label for="service-icon">Listing Icon</label>
213 <input
214 type="url"
215 bind:value={serviceIcon}
216 id="service-icon"
217 required
218 autocomplete="off"
219 />
220 <p>
221 Paste a URL to a square logo for the service. Dimensions must be no less
222 than 64x64, and no more than 512x512 pixels
223 </p>
224 </div>
225
226 <!-- Listing Description -->
227 <div class="form-row">
228 <label for="service-description">Listing Description</label>
229 <textarea
230 bind:value={serviceDescription}
231 id="service-description"
232 required
233 autocomplete="off"
234 ></textarea>
235 <p>
236 Please provide a description for this listing. Keep it factual and
237 objective. Markdown is supported.
238 </p>
239 </div>
240
241 <!-- Section 2 -->
242 <h3>Third-Party Referencing</h3>
243 <p class="sub-title-description">
244 In order to create a comprehensive listing, we combine the data inputted
245 above with other sources, to give additional context and help users make
246 informed decisions. Metrics from these services are fetched automatically
247 at build-time from our API.
248 <br />
249 All fields are optional, but the more information you provide, the better!
356 </p> 250 </p>
357 </div>
358 251
359 <!-- Accepts Crypto Checkbox --> 252 <!-- GitHub Repository -->
360 <div class="form-row"> 253 <div class="form-row">
361 <label for="service-crypto">Accepts Anon Payment?</label> 254 <label for="service-github">GitHub Repository</label>
362 <input type="checkbox" bind:checked={serviceCrypto} id="service-crypto" /> 255 <input
363 <p> 256 type="text"
364 If this is a hosted and paid for service, does it accept anonymous payment 257 bind:value={serviceGithub}
365 methods, including crypto (e.g., Monero)? 258 id="service-github"
259 required
260 autocomplete="off"
261 />
262 <p>
263 Share a link to where the project's source is located.<br />
264 Use the format [user]/[repo] e.g, lissy93/dashy
265 </p>
266 </div>
267
268 <!-- ToS;DR ID -->
269 <div class="form-row">
270 <label for="service-tosdr-id">ToS;DR ID</label>
271 <input
272 type="number"
273 bind:value={serviceTosdrId}
274 id="service-tosdr-id"
275 autocomplete="off"
276 />
277 <p>
278 Has the Privacy policy been documented by <a href="https://tosdr.org/"
279 >tosdr.org</a
280 >? If so, please include the report reference below (this is a 3 or
281 4-digit numerical ID). Skip section if not applicable.
282 </p>
283 </div>
284
285 <!-- Apple App Store URL -->
286 <div class="form-row">
287 <label for="service-tosdr-id">iOS App</label>
288 <input
289 type="url"
290 bind:value={serviceIosApp}
291 id="service-ios-app"
292 autocomplete="off"
293 />
294 <p>
295 Paste the link to the mobile app on the Apple App Store.<br />
296 E.g. https://apps.apple.com/us/app/bitwarden-password-manager/id1137397744
297 </p>
298 </div>
299
300 <!-- Google Play App Store URL -->
301 <div class="form-row">
302 <label for="service-tosdr-id">Android App</label>
303 <input
304 type="url"
305 bind:value={serviceAndroidApp}
306 id="service-android-app"
307 autocomplete="off"
308 />
309 <p>
310 Paste the link to the mobile app on the Google Play Store.<br />
311 E.g. https://play.google.com/store/apps/details?id=com.x8bit.bitwarden
312 </p>
313 </div>
314
315 <!-- Discord Server Invite Code -->
316 <div class="form-row">
317 <label for="service-tosdr-id">Discord Invite</label>
318 <input
319 type="text"
320 bind:value={serviceDiscordInvite}
321 id="service-discord-invite"
322 autocomplete="off"
323 />
324 <p>
325 Paste the invite code to the Discord server for this service.<br />
326 E.g. If the invite URL is https://discord.com/invite/4JMAauFZBq the code is
327 4JMAauFZBq
328 </p>
329 </div>
330
331 <!-- Reddit sub name -->
332 <div class="form-row">
333 <label for="service-tosdr-id">Subreddit</label>
334 <input
335 type="text"
336 bind:value={serviceSubreddit}
337 id="service-subreddit"
338 autocomplete="off"
339 />
340 <p>
341 If the service has a subreddit, please provide the name here.<br />
342 Don't include `r/` in the name, nor the full URL - just the sub name.
343 </p>
344 </div>
345
346 <!-- Section 3 - Checklist and details -->
347 <h3>Privacy Checklist</h3>
348 <p class="sub-title-description">
349 Finally, check the boxes that apply to the service you are submitting, and
350 then provide any additional information to back this up in the text area
351 below.
366 </p> 352 </p>
367 </div>
368
369 <div class="final-info">
370 <p>Finally, please provide any supporting material, including:</p>
371 <ul>
372 <li>
373 A justification of why this app/service should be included in the list
374 </li>
375 <li>Links to any published security audit, if they exist</li>
376 <li>
377 Links to the services privacy policy, terms of service and other
378 relevant documents where applicable
379 </li>
380 <li>
381 Your affiliation with the service. For transparency, you must disclose
382 if you are associated with them or any similar items in any way
383 </li>
384 <li>
385 Links to relevant discussions, past issues/PRs related to this service
386 </li>
387 </ul>
388 <textarea bind:value={additionalInfo} id="additional-info" rows="5"
389 ></textarea>
390 </div>
391 353
392 <button type="submit">Submit</button> 354 <!-- Open Source Checkbox -->
393 <a href={issueUrl} target="_blank" class="open-in-gh">Open in GitHub Issues</a 355 <div class="form-row">
394 > 356 <label for="service-open-source">Is Open Source?</label>
395</form> 357 <input
358 type="checkbox"
359 bind:checked={serviceOpenSource}
360 id="service-open-source"
361 />
362 <p>
363 Is this service fully open source? Aka, can it be compiled from source
364 by the user, or self-hosted?
365 </p>
366 </div>
367
368 <!-- Security Audited Checkbox -->
369 <div class="form-row">
370 <label for="service-security-audited">Security Audited?</label>
371 <input
372 type="checkbox"
373 bind:checked={serviceSecurityAudited}
374 id="service-security-audited"
375 />
376 <p>
377 Has this service been independently security audited by an accredited
378 auditor?
379 </p>
380 </div>
381
382 <!-- Accepts Crypto Checkbox -->
383 <div class="form-row">
384 <label for="service-crypto">Accepts Anon Payment?</label>
385 <input type="checkbox" bind:checked={serviceCrypto} id="service-crypto" />
386 <p>
387 If this is a hosted and paid for service, does it accept anonymous
388 payment methods, including crypto (e.g., Monero)?
389 </p>
390 </div>
391
392 <div class="final-info">
393 <p>Finally, please provide any supporting material, including:</p>
394 <ul>
395 <li>
396 A justification of why this app/service should be included in the list
397 </li>
398 <li>Links to any published security audit, if they exist</li>
399 <li>
400 Links to the services privacy policy, terms of service and other
401 relevant documents where applicable
402 </li>
403 <li>
404 Your affiliation with the service. For transparency, you must disclose
405 if you are associated with them or any similar items in any way
406 </li>
407 <li>
408 Links to relevant discussions, past issues/PRs related to this service
409 </li>
410 </ul>
411 <textarea bind:value={additionalInfo} id="additional-info" rows="5"
412 ></textarea>
413 </div>
414
415 <button type="submit">Submit</button>
416 <a href={issueUrl} target="_blank" class="open-in-gh"
417 >Open in GitHub Issues</a
418 >
419 </form>
420</div>
396 421
397<div class="output-yaml"> 422<div class="output-yaml">
398 <p> 423 <p>
@@ -415,6 +440,29 @@
415</div> 440</div>
416 441
417<style lang="scss"> 442<style lang="scss">
443 .disabled-notice {
444 padding: var(--space-md);
445 margin: var(--space-sm) auto var(--space-md) auto;
446 border: var(--border-heavy);
447 box-shadow: var(--shadow-sm);
448 background: var(--accent-fg);
449 border-radius: var(--curve-sm);
450 background: color-mix(in srgb, var(--changelog-rem) 20%, transparent);
451 }
452
453 .form-wrapper {
454 position: relative;
455 }
456
457 .disabled-overlay {
458 position: absolute;
459 inset: 0;
460 z-index: 10;
461 cursor: not-allowed;
462 background: rgba(128, 128, 128, 0.35);
463 border-radius: var(--curve-sm);
464 }
465
418 .form-row { 466 .form-row {
419 display: grid; 467 display: grid;
420 grid-template-columns: 1fr 3fr 2fr; 468 grid-template-columns: 1fr 3fr 2fr;
web/src/pages/submit.astro +3 −1
@@ -7,6 +7,8 @@ import { formatDate } from '@utils/dates-n-stuff';
7 7
8const commits = ((await fetchGitHubStats('lissy93/awesome-privacy')) || {}) 8const commits = ((await fetchGitHubStats('lissy93/awesome-privacy')) || {})
9 .commits; 9 .commits;
10
11const isDisabled = true; // will set this back to false if/when we have better way to manage the AI spam
10--- 12---
11 13
12<Layout title="Awesome Privacy"> 14<Layout title="Awesome Privacy">
@@ -35,7 +37,7 @@ const commits = ((await fetchGitHubStats('lissy93/awesome-privacy')) || {})
35 </section> 37 </section>
36 <section> 38 <section>
37 <h2>Submit an Addition</h2> 39 <h2>Submit an Addition</h2>
38 <AddNewService client:load /> 40 <AddNewService client:load {isDisabled} />
39 </section> 41 </section>
40 42
41 <section> 43 <section>