lib/readme.txt
58 lines · 2171 bytes
1This directory contains all the core logic and automations for awesome-privacy.
2Primarily used to process awesome-privacy, build the readme, and validate PRs.
3
4For some background, all listing data lives in awesome-privacy.yml.
5This file is the single source of truth, used to:
6- Populate the list in the readme
7- Build the pages in the website
8- Power the database for the API
9
10
11Usage
12-----
13From the root of this project, run:
14- `make install_lib_deps` for pip install
15- `make validate` to validate all data
16- `make gen_readme` to build the readme
17
18
19Scripts and Files Listing
20-------------------------
21awesome-privacy-readme-gen.py
22 > Generates and inserts readme content for all listings into the readme
23validate-awesome-privacy.py
24 > Validates awesome-privacy.yml against schema.json
25schema.json
26 > The JSON Schema defining the structure and data types of awesome-privacy.yml.
27requirements.txt
28 > Python dependencies (Just PyYAML, jsonschema and requests)
29checks/
30 > Scripts which run via GH Actions, when PRs are opened to validate submissions
31
32File listing for lib/checks/
33 detect-changes.py
34 > Checks if and what was changed in awesome-privacy.yml
35 check-readme-edits.py
36 > Sanity check to fail PRs modifying parts of the readme directly
37 check-pr-meta.py
38 > Validates PR title and body to ensure required info is specified
39 check-yaml-diff.py
40 > Diffs the base and head versions of awesome-privacy.yml, and builds an index
41 check-additions.py
42 > Validates additions against data quality rules / requirements
43 check-project.py
44 > Checks project health (URL reachability, repo health, security alerts, etc)
45 make-info-stats.py
46 > Fetches contextual info about submitted services for reviewer convenience.
47 format-comment.py
48 > Collects all findings from the three check jobs, and assembles the PR comment
49 prepare-comment.py
50 > Decides whether to create, update, or skip the bot comment on the PR.
51 check-review-ready.py
52 > Assigns maintainers to review, once all essential checks pass
53
54
55License
56-------
57Licensed under MIT © Alicia Sykes <alicia@omg.lol> 2026
58https://github.com/Lissy93/awesome-privacy/blob/main/LICENSE