Add title to projects

This commit is contained in:
Daniel Kluge 2022-10-01 14:05:26 +02:00
parent 998c1962b6
commit 13afd17b91
2 changed files with 22 additions and 11 deletions

View File

@ -1,10 +1,10 @@
[ [
{ {
"type": "project", "type": "project",
"name": "homepage", "name": "terminal",
"short_desc": "This website.", "short_desc": "The terminal on my website.",
"desc": [ "desc": [
"This is my homepage.", "This is part of my homepage.",
"What you see here should resemble an CLI. If you ever used Linux this should be pretty easy for you.", "What you see here should resemble an CLI. If you ever used Linux this should be pretty easy for you.",
"Everyone else: Have no fear. It is pretty simple. You just type in commands and the output is shown here or it does something on the webite.", "Everyone else: Have no fear. It is pretty simple. You just type in commands and the output is shown here or it does something on the webite.",
"To find out, which commands are available, you can type just %{help}.", "To find out, which commands are available, you can type just %{help}.",
@ -13,7 +13,8 @@
"", "",
"Have fun!" "Have fun!"
], ],
"repo": "https://git.c0ntroller.de/c0ntroller/frontpage" "repo": "https://git.c0ntroller.de/c0ntroller/frontpage",
"title": "Terminal"
}, },
{ {
"type": "project", "type": "project",
@ -24,7 +25,8 @@
"Then I created a webpage that fetches and shows various information.", "Then I created a webpage that fetches and shows various information.",
"Currently it includes time, weather, calendar, departures and more." "Currently it includes time, weather, calendar, departures and more."
], ],
"repo": "https://git.c0ntroller.de/c0ntroller/infoscreen" "repo": "https://git.c0ntroller.de/c0ntroller/infoscreen",
"title": "Infoscreen"
}, },
{ {
"type": "diary", "type": "diary",
@ -46,7 +48,8 @@
{ "title": "Crates & Modules", "filename": "07 - Management"}, { "title": "Crates & Modules", "filename": "07 - Management"},
{ "title": "Collections", "filename": "08 - Collections"}, { "title": "Collections", "filename": "08 - Collections"},
{ "title": "Errors und panic!", "filename": "09 - Errors und panic"} { "title": "Errors und panic!", "filename": "09 - Errors und panic"}
] ],
"title": "Rust Diary"
}, },
{ {
"type": "project", "type": "project",
@ -57,7 +60,8 @@
"It provides autologin to the most used portals, shortcuts, redirects, and more." "It provides autologin to the most used portals, shortcuts, redirects, and more."
], ],
"repo": "https://github.com/TUfast-TUD/TUfast_TUD", "repo": "https://github.com/TUfast-TUD/TUfast_TUD",
"more": "https://tu-fast.de/" "more": "https://tu-fast.de/",
"title": "TUfast TUD"
}, },
{ {
"type": "project", "type": "project",
@ -69,7 +73,8 @@
"Even the self-hosted community version has no such functionality.", "Even the self-hosted community version has no such functionality.",
"I decided that's BS and made my own script to sync a project to git." "I decided that's BS and made my own script to sync a project to git."
], ],
"repo": "https://git.c0ntroller.de/c0ntroller/overleaf-git-sync" "repo": "https://git.c0ntroller.de/c0ntroller/overleaf-git-sync",
"title": "Overleaf Git Sync"
}, },
{ {
"type": "project", "type": "project",
@ -80,7 +85,8 @@
"To get the initial tokens and the refresh token it is necessary to have a server that prints the POST body.", "To get the initial tokens and the refresh token it is necessary to have a server that prints the POST body.",
"This application does this." "This application does this."
], ],
"repo": "https://git.c0ntroller.de/c0ntroller/simple-callback-server" "repo": "https://git.c0ntroller.de/c0ntroller/simple-callback-server",
"title": "Simple Callback Server"
}, },
{ {
"type": "project", "type": "project",
@ -91,6 +97,7 @@
"To still use an album as screenaver etc. I wrote this script.", "To still use an album as screenaver etc. I wrote this script.",
"It syncs all your photos to your drive while giving you maximum privacy." "It syncs all your photos to your drive while giving you maximum privacy."
], ],
"repo": "https://git.c0ntroller.de/c0ntroller/simple-callback-server" "repo": "https://git.c0ntroller.de/c0ntroller/simple-callback-server",
"title": "Photo Sync"
} }
] ]

View File

@ -39,9 +39,13 @@
"repo": { "repo": {
"type": "string", "type": "string",
"format": "uri" "format": "uri"
},
"title": {
"type": "string",
"maxLength": 50
} }
}, },
"required": ["type", "name", "short_desc", "desc"] "required": ["type", "name", "short_desc", "desc", "title"]
}, },
"project": { "project": {
"type": "object", "type": "object",