New software and a few changes!
This commit is contained in:
parent
205b2a1a86
commit
14b5facbd1
5 changed files with 157 additions and 18 deletions
42
apps/fedora.json
Normal file
42
apps/fedora.json
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
{
|
||||||
|
"comment": "Fedora is a GNU / Linux distribution developed by the community-supported Fedora Project and Red Hat. Fedora GNU / Linux contains software distributed under a free and open-source license and aims to be on the leading edge of such technologies. Fedora has a reputation for focusing on innovation, integrating new technologies early on and working closely with upstream GNU / Linux communities. ",
|
||||||
|
"formats_read": [],
|
||||||
|
"formats_write": [],
|
||||||
|
"generic_name": [
|
||||||
|
"Operating System",
|
||||||
|
"GNU/Linux"
|
||||||
|
],
|
||||||
|
"interface": [
|
||||||
|
"Gnome",
|
||||||
|
"KDE",
|
||||||
|
"Xfce",
|
||||||
|
"LXDE",
|
||||||
|
"MATE"
|
||||||
|
],
|
||||||
|
"issues": [
|
||||||
|
"Suggests Installation Of Non-Free Software",
|
||||||
|
"Non-Free Firmware"
|
||||||
|
],
|
||||||
|
"languages": [],
|
||||||
|
"licenses": [
|
||||||
|
"GPL-3.0",
|
||||||
|
"LGPL-3.0",
|
||||||
|
"MPL-2.0",
|
||||||
|
"GPL-2.0"
|
||||||
|
],
|
||||||
|
"links": {
|
||||||
|
"git": "https://src.fedoraproject.org/",
|
||||||
|
"icon": "https://upload.wikimedia.org/wikipedia/commons/thumb/8/8f/Fedora_logo_%282021%29.svg/768px-Fedora_logo_%282021%29.svg.png",
|
||||||
|
"website": "https://fedoraproject.org/",
|
||||||
|
"wikipedia": "https://en.wikipedia.org/wiki/Fedora_Linux"
|
||||||
|
},
|
||||||
|
"names": [
|
||||||
|
"Fedora",
|
||||||
|
"Fedora GNU / Linux"
|
||||||
|
],
|
||||||
|
"networks_read": [],
|
||||||
|
"networks_write": [],
|
||||||
|
"platforms": [
|
||||||
|
"PC"
|
||||||
|
]
|
||||||
|
}
|
37
apps/popos.json
Normal file
37
apps/popos.json
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
{
|
||||||
|
"comment": "Pop!_OS is an Ubuntu-based GNU / Linux distribution featuring a custom GNOME desktop. Pop!_OS is designed to have a minimal amount of clutter on the desktop without distractions in order to allow the user to focus on work. The distribution is developed by GNU / Linux computer retailer System76.",
|
||||||
|
"formats_read": [],
|
||||||
|
"formats_write": [],
|
||||||
|
"generic_name": [
|
||||||
|
"Operating System",
|
||||||
|
"GNU/Linux"
|
||||||
|
],
|
||||||
|
"interface": [
|
||||||
|
"Cosmic",
|
||||||
|
"Gnome"
|
||||||
|
],
|
||||||
|
"issues": [
|
||||||
|
"Suggests Installation Of Non-Free Software"
|
||||||
|
],
|
||||||
|
"languages": [],
|
||||||
|
"licenses": [
|
||||||
|
"GPL-3.0",
|
||||||
|
"LGPL-3.0",
|
||||||
|
"MPL-2.0",
|
||||||
|
"GPL-2.0"
|
||||||
|
],
|
||||||
|
"links": {
|
||||||
|
"git": "https://github.com/pop-os",
|
||||||
|
"icon": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/c5/Pop_OS-Logo-nobg.svg/1200px-Pop_OS-Logo-nobg.svg.png",
|
||||||
|
"website": "https://pop.system76.com/",
|
||||||
|
"wikipedia": "https://en.wikipedia.org/wiki/Pop!_OS"
|
||||||
|
},
|
||||||
|
"names": [
|
||||||
|
"Pop!_OS"
|
||||||
|
],
|
||||||
|
"networks_read": [],
|
||||||
|
"networks_write": [],
|
||||||
|
"platforms": [
|
||||||
|
"PC"
|
||||||
|
]
|
||||||
|
}
|
36
apps/ubuntu.json
Normal file
36
apps/ubuntu.json
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
{
|
||||||
|
"comment": "Ubuntu is a complete desktop GNU / Linux operating system, freely available with both community and professional support. The Ubuntu community is built on the ideas enshrined in the Ubuntu Manifesto: that software should be available free of charge, that software tools should be usable by people in their local language and despite any disabilities, and that people should have the freedom to customise and alter their software in whatever way they see fit. \"Ubuntu\" is an ancient African word, meaning \"humanity to others\". The Ubuntu distribution brings the spirit of Ubuntu to the software world.",
|
||||||
|
"formats_read": [],
|
||||||
|
"formats_write": [],
|
||||||
|
"generic_name": [
|
||||||
|
"Operating System",
|
||||||
|
"GNU/Linux"
|
||||||
|
],
|
||||||
|
"interface": [
|
||||||
|
"Gnome"
|
||||||
|
],
|
||||||
|
"issues": [
|
||||||
|
"Suggests Installation Of Non-Free Software"
|
||||||
|
],
|
||||||
|
"languages": [],
|
||||||
|
"licenses": [
|
||||||
|
"GPL-3.0",
|
||||||
|
"LGPL-3.0",
|
||||||
|
"MPL-2.0",
|
||||||
|
"GPL-2.0"
|
||||||
|
],
|
||||||
|
"links": {
|
||||||
|
"git": "https://code.launchpad.net/ubuntu",
|
||||||
|
"icon": "https://upload.wikimedia.org/wikipedia/commons/1/16/Ubuntu_and_Ubuntu_Server_Icon.png",
|
||||||
|
"website": "https://ubuntu.com/",
|
||||||
|
"wikipedia": "https://en.wikipedia.org/wiki/Ubuntu"
|
||||||
|
},
|
||||||
|
"names": [
|
||||||
|
"Ubuntu"
|
||||||
|
],
|
||||||
|
"networks_read": [],
|
||||||
|
"networks_write": [],
|
||||||
|
"platforms": [
|
||||||
|
"PC"
|
||||||
|
]
|
||||||
|
}
|
|
@ -1,17 +1,33 @@
|
||||||
{"names":["Windows",
|
{
|
||||||
"Microsoft Windows"],
|
"comment": "A proprietary Operating System from Microsoft.",
|
||||||
"comment":"A proprietary Operating System from Microsoft.",
|
"formats_read": [],
|
||||||
"links":{"website":"microsoft.com",
|
"formats_write": [],
|
||||||
"wikipedia":"https://en.wikipedia.org/wiki/Windows",
|
"generic_name": [
|
||||||
"icon":"https://upload.wikimedia.org/wikipedia/commons/9/94/M_box.svg"},
|
"Operating System"
|
||||||
"platforms":["PC"],
|
],
|
||||||
"interface":["windows"],
|
"interface": [
|
||||||
"networks_read":[],
|
"windows"
|
||||||
"networks_write":[],
|
],
|
||||||
"formats_read":[],
|
"issues": [
|
||||||
"formats_write":[],
|
"Surveillance",
|
||||||
"generic_name":["Operating System"],
|
"Subscription",
|
||||||
"issues":["Surveillance",
|
"Non-Free Software",
|
||||||
"Subscription",
|
"DRM"
|
||||||
"Non-Free Software",
|
],
|
||||||
"DRM"]}
|
"languages": [],
|
||||||
|
"licenses": [],
|
||||||
|
"links": {
|
||||||
|
"icon": "https://upload.wikimedia.org/wikipedia/commons/thumb/8/87/Windows_logo_-_2021.svg/1024px-Windows_logo_-_2021.svg.png",
|
||||||
|
"website": "microsoft.com",
|
||||||
|
"wikipedia": "https://en.wikipedia.org/wiki/Windows"
|
||||||
|
},
|
||||||
|
"names": [
|
||||||
|
"Windows",
|
||||||
|
"Microsoft Windows"
|
||||||
|
],
|
||||||
|
"networks_read": [],
|
||||||
|
"networks_write": [],
|
||||||
|
"platforms": [
|
||||||
|
"PC"
|
||||||
|
]
|
||||||
|
}
|
10
server.py
10
server.py
|
@ -153,6 +153,10 @@ class handler(BaseHTTPRequestHandler):
|
||||||
|
|
||||||
# The css file
|
# The css file
|
||||||
|
|
||||||
|
self.send_response(200)
|
||||||
|
self.send_header('Content-type', 'text/css')
|
||||||
|
self.end_headers()
|
||||||
|
|
||||||
cssfile = open("default.css", "rb")
|
cssfile = open("default.css", "rb")
|
||||||
cssfile = cssfile.read()
|
cssfile = cssfile.read()
|
||||||
self.wfile.write(cssfile)
|
self.wfile.write(cssfile)
|
||||||
|
@ -168,7 +172,7 @@ class handler(BaseHTTPRequestHandler):
|
||||||
elif self.path in ["/faq", "/faq?"]:
|
elif self.path in ["/faq", "/faq?"]:
|
||||||
|
|
||||||
# The font file
|
# The font file
|
||||||
|
|
||||||
faqfile = open("faq.html")
|
faqfile = open("faq.html")
|
||||||
faqfile = faqfile.read()
|
faqfile = faqfile.read()
|
||||||
faqfile = render.search_widget(faqfile, ADDRESS)
|
faqfile = render.search_widget(faqfile, ADDRESS)
|
||||||
|
@ -199,6 +203,10 @@ class handler(BaseHTTPRequestHandler):
|
||||||
|
|
||||||
elif "/logo" == self.path:
|
elif "/logo" == self.path:
|
||||||
|
|
||||||
|
self.send_response(200)
|
||||||
|
self.send_header('Content-type', 'image/png')
|
||||||
|
self.end_headers()
|
||||||
|
|
||||||
icon = open("favicon.png", "rb")
|
icon = open("favicon.png", "rb")
|
||||||
icon = icon.read()
|
icon = icon.read()
|
||||||
self.wfile.write(icon)
|
self.wfile.write(icon)
|
||||||
|
|
Loading…
Reference in a new issue