Added README To Do list and documentation json parameter.
This commit is contained in:
parent
cc28312487
commit
754b383dba
6 changed files with 30 additions and 1 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
port.json
|
19
README.md
19
README.md
|
@ -34,3 +34,22 @@ In the [apps](apps) folder there are a bunch of json files for software. Here is
|
||||||
"generic_name":["Video Player", "YouTube Client", "Music Player", "Publication"],
|
"generic_name":["Video Player", "YouTube Client", "Music Player", "Publication"],
|
||||||
"issues":["Surveillance", "Non-Free Software", "Non-Free JavaScript", "DRM"]}
|
"issues":["Surveillance", "Non-Free Software", "Non-Free JavaScript", "DRM"]}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# TO DO
|
||||||
|
- [ ] Add interfaces and language parameters to search
|
||||||
|
- [x] Documentation parameter in json
|
||||||
|
- [ ] Make a script to make it easier to when creating software json files
|
||||||
|
**New software ideas**
|
||||||
|
- [ ] Gitea
|
||||||
|
- [ ] Emacs
|
||||||
|
- [ ] Blender
|
||||||
|
- [ ] Krita
|
||||||
|
- [ ] PixelFeed
|
||||||
|
- [ ] Bibliogram
|
||||||
|
- [ ] Nitter
|
||||||
|
- [ ] proxitok
|
||||||
|
- [ ] librarian
|
||||||
|
- [ ] fastlbry-terminal
|
||||||
|
- [ ] lyberry-qt
|
||||||
|
**Nice to have**
|
||||||
|
- [ ] Make a way on the website editor to submit json files
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
"git":"https://gitlab.gnome.org/GNOME/gimp",
|
"git":"https://gitlab.gnome.org/GNOME/gimp",
|
||||||
"fsd":"https://directory.fsf.org/wiki/Gimp",
|
"fsd":"https://directory.fsf.org/wiki/Gimp",
|
||||||
"wikipedia":"https://en.wikipedia.org/wiki/GIMP",
|
"wikipedia":"https://en.wikipedia.org/wiki/GIMP",
|
||||||
|
"documentation":"https://www.gimp.org/docs/",
|
||||||
"icon":"https://upload.wikimedia.org/wikipedia/commons/thumb/4/45/The_GIMP_icon_-_gnome.svg/64px-The_GIMP_icon_-_gnome.svg.png"},
|
"icon":"https://upload.wikimedia.org/wikipedia/commons/thumb/4/45/The_GIMP_icon_-_gnome.svg/64px-The_GIMP_icon_-_gnome.svg.png"},
|
||||||
"licenses":["GPL3+"],
|
"licenses":["GPL3+"],
|
||||||
"platforms":["GNU/Linux",
|
"platforms":["GNU/Linux",
|
||||||
|
|
Binary file not shown.
|
@ -80,6 +80,14 @@ def html(page, json):
|
||||||
</form></th>
|
</form></th>
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
documentation = json.get("links",{}).get("documentation", "")
|
||||||
|
if documentation:
|
||||||
|
page = page + """
|
||||||
|
<th><form action=\""""+documentation+"""\">
|
||||||
|
<button type="submit">Documentation</button>
|
||||||
|
</form></th>
|
||||||
|
"""
|
||||||
|
|
||||||
page = page + "</tr></table>"
|
page = page + "</tr></table>"
|
||||||
|
|
||||||
# Details
|
# Details
|
||||||
|
|
|
@ -16,6 +16,7 @@ from modules import search
|
||||||
from modules import render
|
from modules import render
|
||||||
|
|
||||||
CSS = "https://zortazert.codeberg.page/style/styles.css"
|
CSS = "https://zortazert.codeberg.page/style/styles.css"
|
||||||
|
|
||||||
try:
|
try:
|
||||||
with open("port.json","r") as f:
|
with open("port.json","r") as f:
|
||||||
json_stuff = json.load(f)
|
json_stuff = json.load(f)
|
||||||
|
@ -30,7 +31,6 @@ except:
|
||||||
|
|
||||||
# Who fucking made this http.server so I need to use classes?
|
# Who fucking made this http.server so I need to use classes?
|
||||||
# I fucking hate who ever thought that it was a good idea...
|
# I fucking hate who ever thought that it was a good idea...
|
||||||
|
|
||||||
class handler(BaseHTTPRequestHandler):
|
class handler(BaseHTTPRequestHandler):
|
||||||
|
|
||||||
def start_page(self):
|
def start_page(self):
|
||||||
|
|
Loading…
Reference in a new issue