Commit 2fec6f757d

2fec6f757d0939d6e3b469ccb8c1e691816dadc2

parent: 0ad29adfa6

Unsigned

Alicia Sykes <alicia@omg.lol> · 2026-02-22 15:30 UTC

Improves the validation script.

- Updates Python deps
- Only run pip install on first time
- Corrections to the schema
- Adds missing URL field to Picocrypt to avoid failure
- Improves the script, with neater output, proper error codes, colors,
  etc

Layout: unified · split

Makefile +1 −1
@@ -34,7 +34,7 @@ WEB_DIR := web
3434
3535# Targets for lib/
3636install_lib_deps:
37 $(PYTHON) -m pip install -r $(LIB_DIR)/requirements.txt
37 $(PYTHON) -m pip install -q -r $(LIB_DIR)/requirements.txt
3838
3939gen_readme: install_lib_deps
4040 $(PYTHON) $(LIB_DIR)/awesome-privacy-readme-gen.py
awesome-privacy.yml +76 −75
@@ -135,7 +135,7 @@ categories:
135135 Free for self-hosted data (or $3/ month hosted). Be aware that 1Password
136136 is not fully open source, but they do regularly publish results of their
137137 independent [security audits](https://support.1password.com/security-assessments),
138 and they have a solid reputation for transparently disclosing and fixing vulnerabilities
138 and they have a solid reputation for transparently disclosing and fixing vulnerabilities
139139 furtherInfo: >
140140 **Other Open Source PM**: [Buttercup](https://buttercup.pw), [Clipperz](https://clipperz.is),
141141 [Pass](https://www.passwordstore.org), [Padloc](https://padloc.app), [TeamPass](https://teampass.net),
@@ -252,9 +252,9 @@ categories:
252252 iosApp: https://apps.apple.com/us/app/ente-auth/id6444121398
253253 androidApp: io.ente.auth
254254 description: |
255 Ente Auth is a free and open-source app which stores and generates TOTP tokens.
256 It can be used with an online account to backup and sync your tokens across your
257 devices (and access them via a web interface) in a secure, end-to-end encrypted
255 Ente Auth is a free and open-source app which stores and generates TOTP tokens.
256 It can be used with an online account to backup and sync your tokens across your
257 devices (and access them via a web interface) in a secure, end-to-end encrypted
258258 fashion. It can also be used offline on a single device with no account necessary.
259259
260260 furtherInfo: >
@@ -265,7 +265,7 @@ categories:
265265 [Etopa](https://play.google.com/store/apps/details?id=de.ltheinrich.etopa) *(Android)*<br>
266266 For KeePass users, [TrayTop](https://keepass.info/plugins.html#traytotp)
267267 is a plugin for managing TOTP's - offline and compatible with Windows, Mac and Linux.
268
268
269269 #############################
270270 ###### File Encryption ######
271271 #############################
@@ -309,9 +309,10 @@ categories:
309309 - name: Picocrypt
310310 github: Picocrypt/Picocrypt
311311 icon: https://avatars.githubusercontent.com/u/171401041
312 url: ''
312313 description: |
313314 Picocrypt is a very small (hence Pico), very simple, yet very secure encryption tools
314 that you can use to protect your files. It's designed to be the go-to tool for encryption,
315 that you can use to protect your files. It's designed to be the go-to tool for encryption,
315316 with a focus on security, simplicity, and reliability.
316317
317318 wordOfWarning: >
@@ -440,7 +441,7 @@ categories:
440441 After installing, check the privacy & security settings, and update the configuration to
441442 something that you are comfortable with. 12Bytes maintains a comprehensive guide on
442443 [Firefox Configuration for Privacy and Performance](https://codeberg.org/12bytes/firefox-config-guide)
443
444
444445 ############################
445446 ###### Search Engines ######
446447 ############################
@@ -524,8 +525,8 @@ categories:
524525 and self-hostable, although using a [public instance](https://searx.space)
525526 has the benefit of not singling out your queries to the engines used.
526527 A fork of the original [Searx](https://searx.github.io/searx/).
527
528
528
529
529530 - name: Communication
530531 sections:
531532 #################################
@@ -581,10 +582,10 @@ categories:
581582 subreddit: SimpleXChat
582583 description: |
583584 Simplex is gaining popularity as a secure and private messaging app renowned
584 for its robust encryption protocol without user IDs or phone numbers and this improves your privacy.
585 for its robust encryption protocol without user IDs or phone numbers and this improves your privacy.
585586 Simplex offers instant messaging, supports media attachments and voice and video calls.
586 Additionally, it is cross-platform, open-source, and completely free, aligning with the modern user's
587 preferences for convenience, security, and accessibility.
587 Additionally, it is cross-platform, open-source, and completely free, aligning with the modern user's
588 preferences for convenience, security, and accessibility.
588589 Learn more about the [Security Policy](https://simplex.chat/security/).
589590
590591 - name: XMPP
@@ -615,7 +616,7 @@ categories:
615616 an open specification and Simple pragmatic RESTful HTTP/JSON API it makes it easy
616617 to integrates with existing 3rd party IDs to authenticate and discover users, as
617618 well as to build apps on top of it.
618 notableMentions:
619 notableMentions:
619620 - name: Chat Secure
620621 url: https://chatsecure.org
621622 - name: KeyBase
@@ -649,7 +650,7 @@ categories:
649650 be used to communicate any sensitive data.
650651 [Wire](https://wire.com/) has also been removed, due to
651652 a [recent acquisition](https://blog.privacytools.io/delisting-wire/)
652
653
653654 ###########################
654655 ###### P2P Messaging ######
655656 ###########################
@@ -724,7 +725,7 @@ categories:
724725 url: https://github.com/Bitmessage/PyBitmessage
725726 - name: RetroShare
726727 url: https://retroshare.cc
727
728
728729 #############################
729730 ###### Encrypted Email ######
730731 #############################
@@ -792,11 +793,11 @@ categories:
792793 custom domains (starting at $3/month). Tuta
793794 [does not use OpenPGP](https://tuta.com/blog/posts/differences-email-encryption/)
794795 like other encrypted mail providers, instead they use a standardized, hybrid method
795 consisting of symmetrical and asymmetrical algorithms (with AES256, and RSA 2048
796 consisting of symmetrical and asymmetrical algorithms (with AES256, and RSA 2048
796797 or ECC (x25519) and Kyber-1024). This causes compatibility issues when communicating with contacts
797798 using PGP. But it does allow them to encrypt much more of the header data (body,
798799 attachments, subject lines, and sender names etc) which PGP mail providers cannot do. The recent upgrades
799 to Tuta's encryption algorithm makes data stored and sent with their service safe against attacks
800 to Tuta's encryption algorithm makes data stored and sent with their service safe against attacks
800801 posed by quantum computers.
801802 - name: Mailfence
802803 url: https://mailfence.com?src=digitald
@@ -1104,7 +1105,7 @@ categories:
11041105 url: https://www.smspool.net
11051106 icon: https://i.ibb.co/2t4MBFj/apple-touch-icon.png
11061107 description: |
1107 Don't feel comfortable giving out your phone number? Protect your online identity by using our one-time-use non-VoIP phone numbers.
1108 Don't feel comfortable giving out your phone number? Protect your online identity by using our one-time-use non-VoIP phone numbers.
11081109 We support over 50+ countries and support over 300+ services.
11091110 androidApp: com.smspool.app
11101111 iosApp: https://apps.apple.com/app/smspool/id6474617801
@@ -1452,7 +1453,7 @@ categories:
14521453 Displays a country flag depicting the location of the current website's server, which can be useful to know at a glance.
14531454 Click icon for more tools such as site safety checks, whois, validation etc **Download**:
14541455 [Firefox](https://addons.mozilla.org/en-US/firefox/addon/flagfox/)
1455
1456
14561457 - name: Lightbeam
14571458 url: https://mozilla.github.io/lightbeam/
14581459 github: mozilla/lightbeam-we
@@ -1523,7 +1524,7 @@ categories:
15231524 url: https://addons.mozilla.org/en-US/firefox/addon/crxviewer
15241525 description: >
15251526 A handy extension for viewing the source code of another browser extension,
1526 which is a useful tool for verifying the code does what it says
1527 which is a useful tool for verifying the code does what it says
15271528 wordOfWarning: |
15281529 - Having many extensions installed raises entropy, causing your fingerprint to be more unique, hence making tracking easier.
15291530 - Much of the functionality of the above addons can be applied without installing anything, by configuring browser settings yourself. For Firefox this is done in the user.js
@@ -2043,7 +2044,7 @@ categories:
20432044 See [Streisand](https://github.com/StreisandEffect/streisand), to learn more, and get started with running a VPN.
20442045 [Digital Ocean](https://m.do.co/c/3838338e7f79) provides flexible,
20452046 secure and easy Linux VMs, (from $0.007/hour or $5/month),
2046 Here is a [1-click install script](http://dovpn.carlfriess.com/)for
2047 Here is a [1-click install script](http://dovpn.carlfriess.com/)for
20472048 on [Digital Ocean](https://m.do.co/c/3838338e7f79), by Carl Friess.
20482049
20492050 Recently distributed self-hosted solutions for running your own VPNs have
@@ -2203,8 +2204,8 @@ categories:
22032204 Tor, I2P and Freenet are all anonymity networks - but they work very differently and each is good for specific purposes.
22042205 So a good and viable solution would be to use all of them, for different tasks.
22052206 *You can read more about how I2P compares to Tor, [here](https://blokt.com/guides/what-is-i2p-vs-tor-browser)*
2206
2207
2207
2208
22082209 #####################
22092210 ###### Proxies ######
22102211 #####################
@@ -2323,7 +2324,7 @@ categories:
23232324 Mullvads public DNS with QNAME minimization and basic ad blocking.
23242325 It has been audited by the security experts at Assured.
23252326 You can use this privacy-enhancing service even if you don't use Mullvad.
2326
2327
23272328 #########################
23282329 ###### DNS Clients ######
23292330 #########################
@@ -2643,7 +2644,7 @@ categories:
26432644
26442645 Some VPNs have ad-tracking blocking features, such as
26452646 [TrackStop with PerfectPrivacy](https://www.perfect-privacy.com/en/features/trackstop?a_aid=securitychecklist).
2646
2647
26472648 [Private Internet Access](https://www.privateinternetaccess.com/),
26482649 [CyberGhost](https://www.cyberghostvpn.com/),
26492650 [PureVPN](https://www.anrdoezrs.net/click-9242873-13842740),
@@ -2882,7 +2883,7 @@ categories:
28822883 [5 eyes](https://en.wikipedia.org/wiki/Five_Eyes) (Australia, Canada, New Zealand, US and UK)
28832884 and [other international cooperatives](https://en.wikipedia.org/wiki/Five_Eyes#Other_international_cooperatives)
28842885 who have legal right to view your data.
2885
2886
28862887 ###############################
28872888 ###### Domain Registrars ######
28882889 ###############################
@@ -2920,7 +2921,7 @@ categories:
29202921 followWith: Web
29212922 description: |
29222923 Free DNS hosting provider designed with security in mind, and running
2923 on purely open source software. deSEC is backed and funded by SSE.
2924 on purely open source software. deSEC is backed and funded by SSE.
29242925
29252926
29262927 ###########################
@@ -3007,7 +3008,7 @@ categories:
30073008 All notes are saved individually as .md files, making them easy to manage.
30083009 No mobile app, built-in cloud-sync, encryption or web UI. But due to the structure of the files,
30093010 it is easy to use your own cloud sync provider, and additional features are provided through extensions.
3010
3011
30113012 - name: Joplin
30123013 url: https://joplinapp.org
30133014 github: laurent22/joplin
@@ -3081,7 +3082,7 @@ categories:
30813082
30823083 notableMentions: |
30833084 If you are already tied into Evernote, One Note etc, then [SafeRoom](https://www.getsaferoom.com)
3084 is a utility that encrypts your entire notebook, before it is uploaded to the cloud.
3085 is a utility that encrypts your entire notebook, before it is uploaded to the cloud.
30853086
30863087 [Org Mode](https://orgmode.org) is a mode for [GNU Emacs](https://www.gnu.org/software/emacs/)
30873088 dedicated to working with the Org markup format. Org can be thought of as
@@ -3331,7 +3332,7 @@ categories:
33313332 using [Web Torrent](https://webtorrent.io).
33323333
33333334 For specifically transferring images, [Up1](https://github.com/Upload/Up1) is a good self-hosted option, with client-side encryption.
3334
3335
33353336 Finally [PsiTransfer](https://github.com/psi-4ward/psitransfer) is a feature-rich, self-hosted file drop, using streams.
33363337
33373338
@@ -3380,7 +3381,7 @@ categories:
33803381 description: |
33813382 Simple bookmark manager written in Go, intended to be a clone of Pocket, it has both a simple and clean web
33823383 interface as well as a CLI. Shiori has easy import/ export, is portable and has webpage archiving features.
3383
3384
33843385 notableMentions: |
33853386 [Ymarks](https://ymarks.org) is a C-based self-hosted bookmark synchronization
33863387 server and [Chrome](https://chrome.google.com/webstore/detail/ymarks/gefignhaigoigfjfbjjobmegihhaacfi) extension.
@@ -3438,7 +3439,7 @@ categories:
34383439 notableMentions: |
34393440 [Apache OpenMeetings](https://openmeetings.apache.org) provides self-hosted
34403441 video-conferencing, chat rooms, file server and tools for meetings.
3441
3442
34423443 [together.brave.com](https://together.brave.com) is Brave's Jitsi Fork.
34433444
34443445 For remote learning, [BigBlueButton](https://bigbluebutton.org) is self-hosted conference call software,
@@ -3495,10 +3496,10 @@ categories:
34953496 it is not open source, and although there is a free version, a license
34963497 is required to access all features. VMWare performs very well when running
34973498 on a server, with hundreds of hosts and users.
3498
3499
34993500 For Mac users, [Parallels](https://www.parallels.com/uk/) is a popular
35003501 option which performs really well, but again is not open source.
3501
3502
35023503 For Windows users, there's
35033504 [Hyper-V](https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/quick-start/enable-hyper-v),
35043505 which is a native Windows product, developed by Microsoft.
@@ -3567,7 +3568,7 @@ categories:
35673568 description: |
35683569 iOS app for encrypting/ decrypting text.
35693570 Has native keyboard integration, keychain support and app integrations which makes it quick to use in any app.
3570
3571
35713572
35723573 - name: FlowCrypt
35733574 url: https://flowcrypt.com
@@ -3646,10 +3647,10 @@ categories:
36463647
36473648 Alternatively, with [ImageMagic](https://imagemagick.org) installed, just run
36483649 `convert -strip path/to/image.png` to remove all metadata.
3649
3650
36503651 If you have [GIMP](https://www.gimp.org) installed, then just go to `File --> Export As --> Export --> Advanced Options --> Uncheck the "Save EXIF data" option`.
36513652
3652 Often you need to perform meta data removal programmatically, as part of a script or automation process.
3653 Often you need to perform meta data removal programmatically, as part of a script or automation process.
36533654 - GoLang: [go-exif](https://github.com/dsoprea/go-exif) by @dsoprea
36543655 - JS: [exifr](https://github.com/MikeKovarik/exifr) by @MikeKovarik
36553656 - Python: [Piexif](https://github.com/hMatoba/Piexif) by @hMatoba
@@ -3665,7 +3666,7 @@ categories:
36653666 [not remove it](https://uk.norton.com/internetsecurity-privacy-is-my-personal-data-really-gone-when-its-deleted-from-a-device.html)
36663667 from the disk, and recovering deleted files is a
36673668 [simple task](https://www.lifewire.com/how-to-recover-deleted-files-2622870).
3668
3669
36693670 Therefore, to protect your privacy, you should erase/ overwrite data from
36703671 the disk, before you destroy, sell or give away a hard drive.
36713672 services:
@@ -3754,12 +3755,12 @@ categories:
37543755 Or [badblocks](https://linux.die.net/man/8/badblocks) which is intended to search for all bad blocks,
37553756 but can also be used to write zeros to a disk,
37563757 by running `sudo badblocks -wsv /dev/sdd`.
3757
3758
37583759 An effective method of erasing an SSD, it to use [hdparm](https://en.wikipedia.org/wiki/Hdparm)
37593760 to issue a [secure erase](https://en.wikipedia.org/wiki/Parallel_ATA#HDD_passwords_and_security)
37603761 command, to your target storage device,
37613762 for this, see step-by-step instructions via: [wiki.kernel.org](https://ata.wiki.kernel.org/index.php/ATA_Secure_Erase).
3762
3763
37633764 Finally, [srm](https://www.systutorials.com/docs/linux/man/1-srm/) can be
37643765 use to securely remove files or directories, just run `srm -zsv /path/to/file`
37653766 for a single pass over.
@@ -3777,7 +3778,7 @@ categories:
37773778 If you are an Android user, your device has Google built-in at its core.
37783779 [Google tracks you](https://digitalcontentnext.org/blog/2018/08/21/google-data-collection-research/),
37793780 collecting a wealth of information, and logging your every move.
3780
3781
37813782 A [custom ROM](https://en.wikipedia.org/wiki/List_of_custom_Android_distributions),
37823783 is an open source, usually Google-free mobile OS that can be flashed to your device.
37833784 services:
@@ -3786,7 +3787,7 @@ categories:
37863787 github: GrapheneOS/hardened_malloc
37873788 icon: https://grapheneos.org/apple-touch-icon.png
37883789 description: |
3789 GrapheneOS is an open source privacy and security focused mobile OS with Android app compatibility. Developed by Daniel Micay.
3790 GrapheneOS is an open source privacy and security focused mobile OS with Android app compatibility. Developed by Daniel Micay.
37903791 GrapheneOS is a young project, and currently only supports Pixel devices, partially due to their strong hardware security.
37913792
37923793 - name: CalyxOS
@@ -3795,8 +3796,8 @@ categories:
37953796 github: CalyxOS/calyxos
37963797 tosdrId: 2558
37973798 description: |
3798 CalyxOS is an free and open source Android mobile operating system that puts privacy and security into the hands of everyday users.
3799 Plus, proactive security recommendations and automatic updates take the guesswork out of keeping your personal data personal. Also currently
3799 CalyxOS is an free and open source Android mobile operating system that puts privacy and security into the hands of everyday users.
3800 Plus, proactive security recommendations and automatic updates take the guesswork out of keeping your personal data personal. Also currently
38003801 only supports Pixel devices and Xiaomi Mi A2 with Fairphone 4, OnePlus 8T, OnePlus 9 test builds available. Developed by the Calyx Foundation.
38013802
38023803 - name: DivestOS
@@ -3805,8 +3806,8 @@ categories:
38053806 github: Divested-Mobile/DivestOS-Build
38063807 tosdrId: 2550
38073808 description: |
3808 DivestOS is a vastly diverged unofficial more secure and private soft fork of LineageOS. DivestOS primary goal is prolonging the life-span of
3809 discontinued devices, enhancing user privacy, and providing a modest increase of security where/when possible. Project is developed and maintained
3809 DivestOS is a vastly diverged unofficial more secure and private soft fork of LineageOS. DivestOS primary goal is prolonging the life-span of
3810 discontinued devices, enhancing user privacy, and providing a modest increase of security where/when possible. Project is developed and maintained
38103811 solely by Tad (SkewedZeppelin) since 2014.
38113812
38123813 - name: LineageOS
@@ -3815,17 +3816,17 @@ categories:
38153816 github: LineageOS/android
38163817 tosdrId: 7188
38173818 description: |
3818 A free and open-source operating system for various devices, based on the Android mobile platform - Lineage is light-weight, well maintained,
3819 A free and open-source operating system for various devices, based on the Android mobile platform - Lineage is light-weight, well maintained,
38193820 supports a wide range of devices, and comes bundled with Privacy Guard.
38203821
38213822 notableMentions: |
38223823 [Replicant OS](https://www.replicant.us/) is a fully-featured distro,
38233824 with an emphasis on freedom, privacy and security.
3824
3825
38253826 [OmniRom](https://www.omnirom.org/),
38263827 [Resurrection Remix OS](https://resurrectionremix.com/)
38273828 and [Paranoid Android](http://paranoidandroid.co/) are also popular options.
3828
3829
38293830 Alternatively, [Ubuntu Touch](https://ubports.com/) is a Linux (Ubuntu)- based OS.
38303831 It is secure by design and runs on almost any device, - but it does fall short when it comes to the app store.
38313832
@@ -3992,7 +3993,7 @@ categories:
39923993 some technical knowledge to get started with, but once setup should perform
39933994 just as any other Windows 10 system. Note that you should only download the
39943995 LTSC ISO from the Microsoft's
3995 [official page](https://www.microsoft.com/en-in/evalcenter/evaluate-windows-10-enterprise)
3996 [official page](https://www.microsoft.com/en-in/evalcenter/evaluate-windows-10-enterprise)
39963997
39973998
39983999 #### Improve the Security and Privacy of your current OS
@@ -4221,8 +4222,8 @@ categories:
42214222 and check reviews/ forums.
42224223 Create a system restore point, before making any significant changes to
42234224 your OS (such as disabling core features).
4224
4225 From a security and privacy perspective, Linux may be a better option.
4225
4226 From a security and privacy perspective, Linux may be a better option.
42264227
42274228 notableMentions: |
42284229 See also these lists:
@@ -4295,7 +4296,7 @@ categories:
42954296 that offer free solutions, even if you pay for the premium package.
42964297 This includes (but not limited to) Avast, AVG, McAfee and Kasperky.
42974298 For AV to be effective, it needs intermate access to all areas of your PC,
4298 so it is important to go with a trusted vendor, and monitor its activity closely.
4299 so it is important to go with a trusted vendor, and monitor its activity closely.
42994300
43004301
43014302 - name: Development
@@ -4350,7 +4351,7 @@ categories:
43504351 [reputation](https://srlabs.de/bites/smart-spies) when it comes to protecting
43514352 consumers privacy, there have been
43524353 [many recent breaches](https://www.theverge.com/2019/10/21/20924886/alexa-google-home-security-vulnerability-srlabs-phishing-eavesdropping).
4353
4354
43544355 For that reason it is recommended not to have these devices in your house.
43554356 The following are open source AI voice assistants, that aim to provide a
43564357 human voice interface while also protecting your privacy and security
@@ -4386,7 +4387,7 @@ categories:
43864387 [LinTO](https://linto.ai), [Jovo](https://www.jovo.tech) and [Snips](https://snips.ai)
43874388 are private-by-design voice assistant frameworks that can be built on by developers,
43884389 or used by enterprises.
4389
4390
43904391 [Jasper](https://jasperproject.github.io),
43914392 [Stephanie](https://github.com/SlapBot/stephanie-va) and
43924393 [Hey Athena](https://github.com/rcbyron/hey-athena-client) are Python-based voice assistant, but neither is under active development anymore.
@@ -4403,7 +4404,7 @@ categories:
44034404 description: |
44044405 An open source privacy-respecting Home Assistant, compatible with a wide range of
44054406 devices including Raspberry Pi, desktop computers, or NAS systems.
4406 Actively developed, with good french community and various integrations
4407 Actively developed, with good french community and various integrations
44074408 (Zigbee, Philips, Camera, Tuya, MQTT, Telegram, ...).
44084409 url: https://gladysassistant.com/
44094410 github: gladysassistant/gladys
@@ -4446,7 +4447,7 @@ categories:
44464447 notableMentions: |
44474448 Other privacy-focused cryptocurrencies include:
44484449 [PIVX](https://pivx.org),
4449 [Verge](https://vergecurrency.com), and [Piratechain](https://pirate.black/).
4450 [Verge](https://vergecurrency.com), and [Piratechain](https://pirate.black/).
44504451 wordOfWarning: |
44514452 Not all cryptocurrencies are anonymous, and without using a privacy-focused coin,
44524453 a record of your transaction will live on a publicly available distributed ledger, forever.
@@ -4583,7 +4584,7 @@ categories:
45834584
45844585 [BitMex](https://www.bitmex.com/) has more advanced trading features,
45854586 but ID verification is required for higher value trades involving Fiat currency.
4586
4587
45874588 For buying and selling alt-coins, [Binance](https://www.binance.com/en/register?ref=X2BHKID1) has a wide range of currencies,
45884589 ~and ID verification is not needed for small-value trades~ but ID verification is required in most countries.
45894590
@@ -4720,7 +4721,7 @@ categories:
47204721 Over the past decade, social networks have revolutionized the way we communicate
47214722 and bought the world closer together - but it came at the
47224723 [cost of our privacy](https://en.wikipedia.org/wiki/Privacy_concerns_with_social_networking_services).
4723
4724
47244725 Social networks are built on the principle of sharing - but you, the user
47254726 should be able to choose with whom you share what, and that is what the
47264727 following sites aim to do.
@@ -4751,12 +4752,12 @@ categories:
47514752
47524753 - name: nostr
47534754 description: |
4754 nostr stands for Notes and other stuff transmitted by relays.
4755 It is an open protocol, not merely a platform.
4756 This distinction enables truly censorship-resistant and global value-for-value publishing on the web.
4757 With the power to replace data-greedy applications like Twitter and Instagram,
4758 nostr offers a promising alternative for users seeking a more private and secure online experience
4759 without algorithmic manipulations. ".... I feel like I’m looking at the future." that is what [Snowden](https://x.com/Snowden/status/1617623779626352640) wrote about nostr.
4755 nostr stands for Notes and other stuff transmitted by relays.
4756 It is an open protocol, not merely a platform.
4757 This distinction enables truly censorship-resistant and global value-for-value publishing on the web.
4758 With the power to replace data-greedy applications like Twitter and Instagram,
4759 nostr offers a promising alternative for users seeking a more private and secure online experience
4760 without algorithmic manipulations. ".... I feel like I’m looking at the future." that is what [Snowden](https://x.com/Snowden/status/1617623779626352640) wrote about nostr.
47604761 url: https://github.com/nostr-protocol/nostr
47614762 github: https://github.com/nostr-protocol
47624763
@@ -4875,7 +4876,7 @@ categories:
48754876 then [Listed.to](https://listed.to) is a public blogging platform with
48764877 strong privacy features.
48774878 It lets you publish posts directly through the Standard Notes app or web interface.
4878
4879
48794880 Other minimalistic platforms include [Notepin.co](https://notepin.co) and [Pen.io](http://pen.io).
48804881
48814882 Want to write a simple text post and promote it yourself?
@@ -4957,7 +4958,7 @@ categories:
49574958 url: https://newpipe.schabi.org
49584959 description: An open source, privacy-respecting YouTube client for Android.
49594960 # tosdrId: 2568
4960 - name: FreeTube
4961 - name: FreeTube
49614962 url: https://freetubeapp.io
49624963 description: |
49634964 An open source YouTube client for Windows, MacOS and Linux, providing
@@ -5087,7 +5088,7 @@ categories:
50875088
50885089 - name: Video Editors
50895090 alternativeTo: ['adobe premiere pro', 'final cut pro', 'davinci resolve', 'imovie', 'sony vegas pro']
5090 services:
5091 services:
50915092 - name: Shotcut
50925093 followWith: Windows, Mac OS, Linux
50935094 description: |
@@ -5152,7 +5153,7 @@ categories:
51525153 github: NatronGitHub/Natron
51535154 icon: https://natrongithub.github.io/img/Natron_icon.svg
51545155 openSource: true
5155
5156
51565157 - name: Audio Editors & Recorders
51575158 alternativeTo: ['adobe audition', 'garageband', 'fl studio', 'ableton live']
51585159 services:
@@ -5163,16 +5164,16 @@ categories:
51635164 great free alternative to Adobe Audition.
51645165 Features recording from real and virtual devices,
51655166 import/export to a wide range of formats, high-quality processing
5166 advanced multi-track editing, noise reduction, pitch correction,
5167 advanced multi-track editing, noise reduction, pitch correction,
51675168 audio restoration and much more.
5168 It's easily extendable via community plugins, and
5169 It's easily extendable via community plugins, and
51695170 also supports cusotm macros and many scripting options
51705171 url: https://www.audacityteam.org
51715172 github: audacity/audacity
51725173 icon: https://www.audacityteam.org/_astro/Audacity_Logo.63b57726.svg
51735174 openSource: true
51745175 tosdrId: 4516
5175
5176
51765177 - name: Casting & Streaming
51775178 alternativeTo: ['xsplit', 'streamlabs obs', 'twitch studio', 'wirecast']
51785179 services:
@@ -5189,11 +5190,11 @@ categories:
51895190 icon: https://obsproject.com/assets/images/new_icon_small-r.png
51905191 openSource: true
51915192 tosdrId: 4227
5192
5193
51935194 - name: Screenshot Tools
51945195 alternativeTo: ['snagit', 'greenshot', 'lightshot', 'gyazo', 'sharex']
51955196 services: []
5196
5197
51975198 - name: 3D Graphics
51985199 alternativeTo: ['blender', 'autodesk maya', 'cinema 4d', '3ds max', 'sketchup']
51995200 services:
@@ -5219,7 +5220,7 @@ categories:
52195220 url: https://wings3d.com
52205221 github: dgud/wings
52215222 icon: https://upload.wikimedia.org/wikipedia/commons/thumb/e/e9/Wings3d.png/120px-Wings3d.png
5222
5223
52235224 - name: Animation
52245225 alternativeTo: ['adobe after effects', 'animate cc', 'toon boom harmony', 'moho (anime studio)', 'pencil2d']
52255226 services:
lib/requirements.txt +1 −4
@@ -1,5 +1,2 @@
11PyYAML==6.0.1
2requests==2.31.0
3jsonschema
4pyyaml
5termcolor
2jsonschema==4.23.0
lib/schema.json +24 −20
@@ -22,23 +22,23 @@
2222 "name": { "type": "string" },
2323 "description": { "type": "string" },
2424 "url": { "type": "string" },
25 "github": { "type": "string", "nullable": true },
26 "icon": { "type": "string", "nullable": true },
27 "followWith": { "type": "string", "nullable": true },
28 "securityAudited": { "type": "boolean", "nullable": true },
29 "openSource": { "type": "boolean", "nullable": true },
30 "acceptsCrypto": { "type": "boolean", "nullable": true },
31 "tosdrId": { "type": "number", "nullable": true },
32 "iosApp": { "type": "string", "nullable": true },
33 "androidApp": { "type": "string", "nullable": true },
34 "discordInvite": { "type": "string", "nullable": true },
35 "subreddit": { "type": "string", "nullable": true }
25 "github": { "type": ["string", "null"] },
26 "icon": { "type": ["string", "null"] },
27 "followWith": { "type": ["string", "null"] },
28 "securityAudited": { "type": ["boolean", "null"] },
29 "openSource": { "type": ["boolean", "null"] },
30 "acceptsCrypto": { "type": ["boolean", "null"] },
31 "tosdrId": { "type": ["number", "null"] },
32 "iosApp": { "type": ["string", "null"] },
33 "androidApp": { "type": ["string", "null"] },
34 "discordInvite": { "type": ["string", "null"] },
35 "subreddit": { "type": ["string", "null"] }
3636 },
3737 "required": ["name", "description", "url"],
3838 "additionalProperties": false
3939 }
4040 },
41 "intro": { "type": "string", "nullable": true },
41 "intro": { "type": ["string", "null"] },
4242 "notableMentions": {
4343 "oneOf": [
4444 {
@@ -54,16 +54,20 @@
5454 "additionalProperties": false
5555 }
5656 },
57 { "type": "string" }
58 ],
59 "nullable": true
57 { "type": "string" },
58 { "type": "null" }
59 ]
6060 },
61 "furtherInfo": { "type": "string", "nullable": true },
62 "wordOfWarning": { "type": "string", "nullable": true },
61 "furtherInfo": { "type": ["string", "null"] },
62 "wordOfWarning": { "type": ["string", "null"] },
6363 "alternativeTo": {
64 "type": "array",
65 "items": { "type": "string" },
66 "nullable": true
64 "oneOf": [
65 {
66 "type": "array",
67 "items": { "type": "string" }
68 },
69 { "type": "null" }
70 ]
6771 }
6872 },
6973 "required": ["name", "services"],
lib/validate-awesome-privacy.py +91 −64
@@ -1,85 +1,112 @@
11import json
22import os
33import sys
4import logging
4
55import yaml
6from termcolor import colored
76from jsonschema import Draft7Validator
87
9# Configure Logging
10LOG_LEVEL = os.environ.get("LOG_LEVEL", "INFO").upper()
11logging.basicConfig(level=LOG_LEVEL)
12logger = logging.getLogger(__name__)
13
14
15# Determine the project root based on the script's location
16project_root = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
17awesome_privacy_path = os.path.join(project_root, 'awesome-privacy.yml')
18schema_path = os.path.join(project_root, 'lib/schema.json')
19
20
21# Log method, accepts a message and optional log level
22# and prints the output to the terminal in right color
23def loggy(message: str, level: str = 'debug'):
24 if level == "info":
25 logger.info(colored(message, 'blue'))
26 elif level == "warning":
27 logger.warning(colored(message, 'yellow'))
28 elif level == "error":
29 logger.error(colored(message, 'red'))
30 elif level == "success":
31 logger.info(colored(message, 'green'))
32 elif level == "debug":
33 logger.debug(colored(message, 'grey'))
34
35
36# Loads a given YAML file and returns the data
37def load_yaml(yaml_path: str):
38 loggy(f"Loading YAML from {yaml_path}", "info")
8# Paths (relative to project root)
9PROJECT_ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
10DATA_PATH = os.path.join(PROJECT_ROOT, "awesome-privacy.yml")
11SCHEMA_PATH = os.path.join(PROJECT_ROOT, "lib/schema.json")
12
13# Exit codes
14EXIT_VALID = 0
15EXIT_VALIDATION_ERRORS = 1
16EXIT_RUNTIME_ERROR = 2
17
18MAX_ERRORS = 20
19
20# ANSI color helpers (disabled when NO_COLOR is set or stderr is not a TTY)
21_use_color = sys.stderr.isatty() and not os.environ.get("NO_COLOR")
22red = (lambda s: f"\033[31m{s}\033[0m") if _use_color else (lambda s: s)
23green = (lambda s: f"\033[32m{s}\033[0m") if _use_color else (lambda s: s)
24yellow = (lambda s: f"\033[33m{s}\033[0m") if _use_color else (lambda s: s)
25dim = (lambda s: f"\033[2m{s}\033[0m") if _use_color else (lambda s: s)
26
27
28def resolve_path(data, path_parts):
29 """Walk the data along path_parts, replacing indices with 'name' values."""
30 segments = []
31 current = data
32 for part in path_parts:
33 if isinstance(current, dict) and part in current:
34 current = current[part]
35 if isinstance(current, dict) and "name" in current:
36 segments.append(current["name"])
37 elif not isinstance(part, int):
38 pass # skip dict keys like 'categories', 'sections', 'services'
39 elif isinstance(current, list) and isinstance(part, int) and part < len(current):
40 current = current[part]
41 if isinstance(current, dict) and "name" in current:
42 segments.append(current["name"])
43 else:
44 segments.append(str(part))
45 else:
46 segments.append(str(part))
47 break
48 return " > ".join(segments) if segments else "(root)"
49
50
51def load_yaml(path):
3952 try:
40 with open(yaml_path, 'r') as file:
41 return yaml.safe_load(file)
53 with open(path, "r") as f:
54 return yaml.safe_load(f)
55 except FileNotFoundError:
56 print(red(f"File not found: {path}"), file=sys.stderr)
57 sys.exit(EXIT_RUNTIME_ERROR)
4258 except yaml.YAMLError as e:
43 loggy(f"Failed to load YAML: {e}", "error")
44 sys.exit(1)
59 print(red(f"Failed to parse YAML: {e}"), file=sys.stderr)
60 sys.exit(EXIT_RUNTIME_ERROR)
4561
4662
47# Loads a given JSON Schema file and returns the data
48def load_schema(schema_path: str):
49 loggy(f"Loading JSON Schema from {schema_path}", "info")
63def load_schema(path):
5064 try:
51 with open(schema_path, 'r') as file:
52 return json.load(file)
65 with open(path, "r") as f:
66 return json.load(f)
67 except FileNotFoundError:
68 print(red(f"File not found: {path}"), file=sys.stderr)
69 sys.exit(EXIT_RUNTIME_ERROR)
5370 except json.JSONDecodeError as e:
54 loggy(f"Failed to load JSON Schema: {e}", "error")
55 sys.exit(1)
71 print(red(f"Failed to parse JSON schema: {e}"), file=sys.stderr)
72 sys.exit(EXIT_RUNTIME_ERROR)
5673
5774
58# Validates the given YAML data against the given JSON Schema
59def validate_yaml(data, schema):
60 loggy("Beginning validation", "info")
75def validate(data, schema):
6176 validator = Draft7Validator(schema)
62 errors = sorted(validator.iter_errors(data), key=lambda e: e.path)
63 if errors:
64 for error in errors:
65 error_location = "->".join(map(str, error.path))
66 loggy(f"Validation error: {error.message} (at {error_location})", "warning")
67 return False
68 return True
77 errors = sorted(validator.iter_errors(data), key=lambda e: list(e.path))
78 formatted = []
79 for error in errors:
80 location = resolve_path(data, list(error.path))
81 formatted.append(f"{location}: {error.message}")
82 return formatted
6983
7084
71# Main method
7285def main():
73 loggy("Starting...", "info")
74 yaml_data = load_yaml(awesome_privacy_path)
75 schema = load_schema(schema_path)
76
77 if validate_yaml(yaml_data, schema):
78 loggy("Validation successful!", "success")
79 sys.exit(0)
80 else:
81 loggy("Validation failed.", "error")
82 sys.exit(1)
86 data = load_yaml(DATA_PATH)
87 schema = load_schema(SCHEMA_PATH)
88 errors = validate(data, schema)
89
90 if errors:
91 shown = errors[:MAX_ERRORS]
92 for msg in shown:
93 print(red("ERROR") + " " + msg, file=sys.stderr)
94 if len(errors) > MAX_ERRORS:
95 print(dim(f"...and {len(errors) - MAX_ERRORS} more"), file=sys.stderr)
96 print(red(f"Validation failed: {len(errors)} error(s)"), file=sys.stderr)
97 sys.exit(EXIT_VALIDATION_ERRORS)
98
99 # Gather stats
100 categories = data.get("categories", [])
101 num_categories = len(categories)
102 num_sections = sum(len(c.get("sections", [])) for c in categories)
103 num_services = sum(
104 len(s.get("services", []))
105 for c in categories
106 for s in c.get("sections", [])
107 )
108 print(green(f"Valid! {num_categories} categories, {num_sections} sections, {num_services} services"))
109 sys.exit(EXIT_VALID)
83110
84111
85112if __name__ == "__main__":