/ README.md
README.md
  1  
  2    
  3  
  4  # Cyber Witness
  5  
  6    
  7  
  8    
  9  
 10  ![Logo](./assets/p2p-news.drawio.png)
 11  
 12  Over the past few years we are seeing the end of free speech and the battle for communication control. Censorship, fact checking and surveillance are quickly becoming the norm. The end of free speech leads to the end of democracy as we know it. 
 13  
 14  Cyber Witness is a P2P community of independent reporters and witnesses - an alternative to mass media. Reporters publish events they have personally seen with no interpretation. Until confirmed they show up as rumors. Witnesses confirm rumors they have witnessed and add their own details. Event details aggregate and become more accurate with the input of each new witness. Once a rumor has been confirmed by at least 2 witnesses it becomes news. The more witnesses the greater accuracy of news.
 15  
 16    
 17    
 18  
 19  ## Screenshots
 20  
 21    
 22  
 23    
 24  
 25  <a  display="inline"  href="./assets/how-it-works.png?raw=true">
 26  
 27    
 28  
 29  <img  src="./assets/how-it-works.png"  width="45%"  alt="Screenshot of how-it-works"  title="Screenshot of how-it-works">
 30  
 31    
 32  
 33  </a>
 34  
 35    
 36  
 37    
 38  
 39  <a  display="inline"  href="./assets/home.png?raw=true">
 40  
 41    
 42  
 43  <img  src="./assets/home.png"  width="45%"  alt="Screenshot of home"  title="Screenshot of home">
 44  
 45    
 46  
 47  </a>
 48  
 49    
 50  
 51    
 52  
 53  <a  display="inline"  href="./assets/report-event.png?raw=true">
 54  
 55    
 56  
 57  <img  src="./assets/report-event.png"  width="45%"  alt="Screenshot of report event"  title="Screenshot of report event">
 58  
 59    
 60  
 61  </a>
 62  
 63    
 64  
 65    
 66  
 67  <a  display="inline"  href="./assets/confirm-rumor.png?raw=true">
 68  
 69    
 70  
 71  <img  src="./assets/confirm-rumor.png"  width="45%"  alt="Screenshot of confirm rumor"  title="Screenshot of confirm rumor">
 72  
 73    
 74  
 75  </a>
 76  
 77    
 78  
 79    
 80  
 81  <a  display="inline"  href="./assets/rumors.png?raw=true">
 82  
 83    
 84  
 85  <img  src="./assets/rumors.png"  width="45%"  alt="Screenshot of rumors"  title="Screenshot of rumors">
 86  
 87    
 88  
 89  </a>
 90  
 91    
 92    
 93    
 94  
 95  <a  display="inline"  href="./assets/news.png?raw=true">
 96  
 97    
 98  
 99  <img  src="./assets/news.png"  width="45%"  alt="Screenshot of news"  title="Screenshot of news">
100  
101    
102  
103  </a>
104  
105  ## Features
106  
107    
108  
109    
110  
111  *  ### Report events
112      
113      Provide details about the event.
114      
115  -   ### Confirm rumors
116      
117      Browse reported events, confirm what you have witnessed and provide more details.
118      
119  -   ### Event details aggregation
120      
121      The more witnesses the better the accuracy the higher the chance a rumor is real news.
122      
123  -   ### Read the real news
124      
125      Your personal news feed at your fingertips. All witnessed. No ads, paywalls, censorship or fact checkers.
126      
127  -   ### Anonymity by default
128      
129      Anonymity guarantees everyone is protected.
130      
131  -   ### Flat interactions
132      
133      No centralized control, no fact checkers and no ads.
134  
135  ## Community
136  
137    
138  
139  https://www.reddit.com/r/CyberWitness/
140  
141    
142    
143  
144  ## How to Play
145  
146    
147  
148    
149  
150  The simulator runs on the public IPFS network. In order to play it follow the steps below:
151  
152    
153  
154    
155  
156  1. Install the official IPFS Desktop http://docs.ipfs.io/install/ipfs-desktop/
157  
158    
159  
160  2. Install IPFS Companion http://docs.ipfs.io/install/ipfs-companion/
161  
162    
163  
164  3. Clone https://github.com/stateless-minds/kubo to your local machine, build it with `make build` and run it with the following command: `~/cmd/ipfs/ipfs daemon --enable-pubsub-experiment`
165  
166    
167  
168  4. Follow the instructions here to open your config file: https://github.com/ipfs/kubo/blob/master/docs/config.md. Usually it's `~/.ipfs/config` on Linux. Add the following snippet to the `HTTPHeaders`:
169  
170    
171  
172  ```{
173  
174    
175  
176  "API": {
177  
178    
179  
180  "HTTPHeaders": {
181  
182    
183  
184  "Access-Control-Allow-Origin": ["webui://-", "http://localhost:3000", "http://k51qzi5uqu5dlk6jzkipcho28z9v1v1fogi2sw5il1t1tilklfn573kbtuw6o3.ipns.localhost:8080", "http://127.0.0.1:5001", "https://webui.ipfs.io"],
185  
186    
187  
188  "Access-Control-Allow-Credentials": ["true"],
189  
190    
191  
192  "Access-Control-Allow-Methods": ["PUT", "POST"]
193  
194    
195  
196  }
197  
198    
199  
200  },
201  
202    
203  
204  ```
205  
206    
207  
208  5. Navigate to <a  href="https://ipfs.io/ipns/k51qzi5uqu5dlk6jzkipcho28z9v1v1fogi2sw5il1t1tilklfn573kbtuw6o3">Cyber Witness</a> and let's simulate the future together!
209  
210    
211  
212  6. If you like the simulator consider pinning it to your local node so that you become a permanent host of it while you have IPFS daemon running
213  
214    
215  
216  ![SetPinning](./assets/pin.png)
217  
218    
219  
220  ![PinToLocalNode](./assets/pin-to-local-node.png)
221  
222    
223  
224    
225  
226  Please note the simulator has been developed on a WQHD resolution(2560x1440) and is currently not responsive or optimized for mobile devices. For best gaming experience if you play in FHD(1920x1080) please set your browser zoom settings to 150%.
227  
228  ## Acknowledgments
229  
230    
231  
232    
233  
234  1.  <a  href="https://go-app.dev/">go-app</a>
235  
236    
237  
238  2.  <a  href="https://ipfs.io/">IPFS</a>
239  
240    
241  
242  3.  <a  href="https://berty.tech/">Berty</a>
243  
244    
245  
246  4. All the rest of the authors who worked on the dependencies used! Thanks a lot!
247  
248    
249  
250    
251  
252  ## Contributing
253  
254    
255  
256    
257  
258  <a  href="https://github.com/stateless-minds/cyber-witness/issues">Open an issue</a>
259  
260    
261  
262    
263  
264  ## License
265  
266    
267  
268    
269  
270  Stateless Minds (c) 2022 and contributors
271  
272    
273  
274    
275  
276  MIT License