Add Last Update widget to Homepage via record-update script
record-update parses nvd diff after switch and writes latest.json; Homepage polls a local-only nginx listener and renders date/changes/ closure/kernel via a customapi widget. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
916c1d1c2d
commit
f57c6e99ec
5 changed files with 76 additions and 1 deletions
|
|
@ -22,6 +22,10 @@
|
|||
export PATH="${pkgs.jellyfin-ffmpeg}/bin:${pkgs.coreutils}/bin:${pkgs.findutils}/bin:${pkgs.gnugrep}/bin:${pkgs.gawk}/bin:${pkgs.bc}/bin:${pkgs.curl}/bin:$PATH"
|
||||
exec ${pkgs.bash}/bin/bash ${../scripts/transcode-hevc.sh} "$@"
|
||||
'')
|
||||
(pkgs.writeShellScriptBin "record-update" ''
|
||||
export PATH="${pkgs.nvd}/bin:${pkgs.coreutils}/bin:${pkgs.gnugrep}/bin:${pkgs.gnused}/bin:$PATH"
|
||||
exec ${pkgs.bash}/bin/bash ${../scripts/record-update.sh} "$@"
|
||||
'')
|
||||
];
|
||||
|
||||
# Basic networking
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue