embed live service sites (Llama.cpp, Jellyfin) inside desktop windows
This commit is contained in:
parent
eecf8cf339
commit
d5206d6607
5 changed files with 56 additions and 5 deletions
|
|
@ -22,6 +22,8 @@ interface Shortcut {
|
|||
appId?: string;
|
||||
desc?: string;
|
||||
image?: string;
|
||||
/** Show the real site in an iframe. Only for sites that allow framing. */
|
||||
embed?: boolean;
|
||||
}
|
||||
|
||||
interface IconEntry {
|
||||
|
|
@ -36,8 +38,8 @@ interface IconEntry {
|
|||
|
||||
const SERVICE_SHORTCUTS: Shortcut[] = [
|
||||
{ id: "svc-proxmox", icon: "🖥️", label: "Proxmox", appId: "alacritty", color: "#1257a0", desc: "Server Management" },
|
||||
{ id: "svc-ai", icon: "🦾", label: "Llama.cpp", url: "https://ai.dvorakmortonxd.dev/", color: "#157347", desc: "Local AI Server" },
|
||||
{ id: "svc-jellyfin", icon: "🎬", label: "Jellyfin", url: "https://jelly.dvorakmortonxd.dev/", color: "#6a4fb3", desc: "Local Media Server" },
|
||||
{ id: "svc-ai", icon: "🦾", label: "Llama.cpp", url: "https://ai.dvorakmortonxd.dev/", color: "#157347", desc: "Local AI Server", embed: true },
|
||||
{ id: "svc-jellyfin", icon: "🎬", label: "Jellyfin", url: "https://jelly.dvorakmortonxd.dev/", color: "#6a4fb3", desc: "Local Media Server", embed: true },
|
||||
{ id: "svc-smp", icon: "🎮", label: "SMP", url: "https://discord.gg/vyvhk7d8bX", color: "#c0392b", desc: "My Survival Minecraft Server" },
|
||||
{ id: "svc-navidrome", icon: "🎸", label: "Navidrome", url: "https://navidrome.dvorakmortonxd.dev/", color: "#b3005f", desc: "Music Streaming" },
|
||||
{ id: "svc-gitdxd", icon: "🐙", label: "GitDXD", url: "https://git.dvorakmortonxd.dev", color: "#6a4fb3", desc: "Best Git Hosting OAT" },
|
||||
|
|
@ -194,6 +196,7 @@ export default function WindowsDesktop() {
|
|||
desc: s.desc,
|
||||
icon: s.icon,
|
||||
image: s.image,
|
||||
embed: s.embed,
|
||||
});
|
||||
setDynamicApps((prev) => (prev[id] ? prev : { ...prev, [id]: app }));
|
||||
openAppDef(app);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue