.github/CONTRIBUTING.md
165 lines · 9645 bytes
1# Contributing
2
3---
4
5### How to make an Addition
6
7You can add, edit or remove entries by opening a pull request.
8
9All data is stored in [`awesome-privacy.yml`](https://github.com/Lissy93/awesome-privacy/blob/main/awesome-privacy.yml).
10If you're adding, editing or removing a listing - **this is the only file you need to edit**.
11
12Get started by forking the repo, [editing](https://github.com/Lissy93/awesome-privacy/edit/main/awesome-privacy.yml) the data, committing changes to your fork, and opening a pull request upstream to this repo's main branch. If you're new to open source, you can find some resources to get you started at [git-in.to](https://git-in.to), but feel free to reach out if you need any help 😊
13
14Your request will be reviewed, then either merged, or have changes requested, or if the [Guidelines](#guidelines) are not met, it may be closed with a comment explaining why.
15
16To make layout or stylistic amendments to the website ([awesome-privacy.xyz](https://awesome-privacy.xyz)), see [Website docs](https://github.com/Lissy93/awesome-privacy#the-website) in the readme for build and running instructions.
17
18---
19
20### Requirements
21
22For software to be included in this list, it must meet the following requirements:
23
24- **Privacy Respecting**
25 - The project must respect users privacy, not collect more data than necessary, and store info securely
26 - For hosted services, the project must have a clear privacy policy
27 - The user must remain in full control of their data, and be able to delete it at any time
28- **Secure**
29 - The software must be secure by default, without requiring additional configuration
30 - There should be no current, critical security issues
31 - The handling of past issues must have been prompt, transparent and effective
32- **Open Source**
33 - The full source code should be released under an open source license
34 - Ideally it should be possible for the user to build and run/deploy the software themselves from source
35- **Actively Maintained**
36 - The developers should address dependency updates and security patches in a timely manner
37- **Transparent**
38 - It should be clear who is behind the project, what their motives are, and what (if any) the funding model is
39- **Ethical**
40 - Must not suppress free speech, discriminate or disregard any human rights
41- **Relevant**
42 - The software must be relevant, and fit into one of the existing categories
43- **Functional**
44 - Must be fully functional, and not just a concept or idea
45 - A stable (non-alpha/beta) release is required at a minimum
46 - Must be accessible to the general public, and not just a select group of people
47 - If technical knowledge is required to run it, the software must be well documented
48
49_There may be some exceptions, but these would need to be fully justified, reviewed
50by the community, and the drawbacks / anti-features must be clearly listed along-side the software.
51Usually these entries go within the "Notable Mentions" section instead._
52
53---
54
55### Editing the YAML
56
57All content in both the README and website is generated using the data in [`awesome-privacy.yml`](https://github.com/Lissy93/awesome-privacy/blob/main/awesome-privacy.yml).
58This file may look a bit daunting to start with, but don't worry - it's pretty simple.
59
60#### Top-Level Structure
61
62At a high-level, the file exports an array of categories, each containing a `name` and array of `sections`.
63
64```yaml
65categories:
66 - name: Essentials
67 sections: []
68- name: Communication
69 sections: []
70 - name: Security Tools
71 sections: []
72```
73
74Each category contains a `name` an array of `sections` (like sub-categories)
75
76```yaml
77 - name: Communication
78 sections:
79 - name: Encrypted Messaging
80 services: []
81 - name: P2P Messaging
82 intro: ...
83 services: []
84 - name: Encrypted Email
85 services: []
86 - name: Email Clients
87 services: []
88```
89
90And within each section, we find a list of `services`, each containing a listing. For example:
91
92```yaml
93services:
94- name: Addy
95 url: https://addy.io
96 icon: https://addy.io/apple-touch-icon.png
97 github: anonaddy/anonaddy
98 tosdrId: 2220
99 description: |
100 An open source anonymous email forwarding service, allowing you to create unlimited
101 email aliases which forward to one or more of your private email addresses.
102
103- name: Firefox Private Relay
104 url: https://relay.firefox.com
105 icon: https://relay.firefox.com/favicon.svg
106 openSource: true
107 github: mozilla/fx-private-relay
108 tosdrId: 4158
109 description: |
110 Developed and managed by Mozilla, Relay is a Firefox addon, that lets you make an
111 email alias with 1 click, and have all messages forwarded onto your personal email.
112```
113
114#### Service Fields
115
116Each service (aka an app/website/software) has the following fields:
117
118| Attribute | Description | Type | Required |
119|-------------------|--------------------------------------------------------------------------------------------------------------|---------|----------|
120| `name` | The name of the listing | `string`| Required |
121| `description` | A short and subjective description of the listing. Markdown is supported. Split longer descriptions onto multiple lines | `string`| Required |
122| `url` | The fully qualified domain name of the listing's homepage | `string`| Required |
123| `icon` | A path to an icon file for the listing's logo. Must be square, no less than 64x64 and no larger than 512x512 pixels | `string`| Required |
124| `github` | The GitHub repository hosting the listing's source code. In the format of `[owner]/[repo]` | `string`| Optional |
125| `securityAudited` | Has the listing been audited by an accredited security researcher, with the report publicly published? | `bool` | Optional |
126| `acceptsCrypto` | If payment is required/accepted, do they accept anonymous payments using cryptocurrency, such as Monero? | `bool` | Optional |
127| `openSource` | Is the source code in its entirety published somewhere accessible so it can be built-from-source or self-hosted? | `bool` | Optional |
128| `tosdrId` | If the privacy policy has been analysed by ToS;DR, include the ID to their report | `number`| Optional |
129
130Anything which is marked as `optional`, and which doesn't apply to your service can just be left out.
131
132Keep max line length around 80-100 chars. If the description is long, split it onto multiple lines, using YAML multi-line string (like `: |`).
133
134#### Validating your Entry
135Once you've finished editing the YAML file, you may run `make validate` to run [`validate-awesome-privacy.py`](https://github.com/Lissy93/awesome-privacy/blob/main/lib/validate-awesome-privacy.py), which will ensure your [`awesome-privacy.yml`](https://github.com/Lissy93/awesome-privacy/blob/main/awesome-privacy.yml) is both valid and fits within our defined schema (in [`lib/schema.json`](https://github.com/Lissy93/awesome-privacy/blob/main/lib/schema.json))
136
137#### Need Help?
138Just look at some of the existing entries in the file for inspiration, and if you're still stuck, feel free to reach out for help. We're here to help you get your contribution merged!
139
140---
141
142### Guidelines
143
144Your pull request must follow these requirements. Failure to do so, might result in it being closed.
145
146- Do not edit the README directly when adding / editing a listing
147- Ensure your PR is not a duplicate, search for existing / previous submissions first
148- You must respond to any comments or requests for changes in a timely manner, 48-hours maximum
149- Write short but descriptive git commit messages, under 50 characters. This must be in the format of `Adds [software-name] to [section-name]`. Your PR will be rejected if you name it `Updates README.md`
150- Only include a single addition / amendment / removal, per pull request
151- If your pull request contains multiple commits, you must squash them first
152- You must complete each of the sections in the pull request template. Do not delete it!
153- Where applicable, include links to supporting material for your addition: git repo, docs, recent security audits, etc. This will make researching it much easier for reviewers
154- While adding new software to the list, don't make your entry read like an advert. Be objective, and include drawbacks as well as strengths
155- Your entry should be added at the bottom of the appropriate category, unless otherwise requested
156- If there are other pull requests open, please help review them before submitting yours
157- A pull request must receive multiple approval reviews before it can be merged
158- You must be transparent about your affiliation with a product or service that you are adding. It's totally okay to submit your own projects as additions (providing they meet the requirements), but if you don't declare your association with that project then there becomes a clear conflict of interest
159- You must adhere to the Contributor Covenant Code of Conduct
160- Don't open a Draft / WIP pull request while you work on the guidelines. A pull request should be 100% ready and should adhere to all the above guidelines when you open it
161- Your changes must be correctly spelled, and with good grammar
162- Your changes must be correctly formatted, in valid markdown
163- The addition title must be a link the project, and in bold
164- The addition description must be no less than 50, and no more than 250 characters, keep it clear and to the point
165