blob: a238ea60a32d48ab71cda142e4709c14af8b2c2f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
* librejserver: a server program serving librejs compliance info
*WIP - it does not work yet*.
The program should return librejs report for a given page. It should
return a JSON for a given url:
http://localhost:5678/https://fsf.org
This should return a JSON report of the compliance of https://fsf.org.
A more advanced version of this program should take user input url
(url to a webpage, not a javascript file), run librejs compliance, and
return the report to user. If the user is ok for the report to be
shared, it will also be added to a database. The server can then
serve a filtered / sorted list of urls by compliance, popularity etc.
This can help users discover sites that are librejs-compliant.
An even more advanced version of this program should list reasons for
non-compliance of free javascript, and librejs devs can use this data
and statistics to determine how to update the compliance check to
cover more free javascript. A more advanced librejs can download the
database, and add javascript to whitelist depending on some threshold
from the data.
Problem:
1. This is an SaaSS
2. Without moderation or approval, user will submit nonfree javascript
|