Introduce flat-file UCI-style NFO manifest format for Streamlit apps and MetaBlog sites. Enables AI context integration, search indexing, and mesh publishing metadata. New features: - NFO parser library with parse/validate/update/export functions - NFO validator with type-specific schema validation (streamlit/metablog) - Batch generation: slforge nfo init-all, metablogizerctl nfo init-all - RPCD methods: nfo_read, nfo_write, nfo_validate - Reusable LuCI NFO viewer component with collapsible sections - LuCI editor modal in Streamlit Forge overview - Hub generator enhanced with NFO metadata (descriptions, capabilities) - Metacatalog search with --category and --capability filters New files: - nfo-parser.sh, nfo-validator.sh (shell libraries) - nfo-viewer.js (LuCI component) - NFO-SPEC.md (specification) - install.sh (universal NFO-based installer) - nfo-template.nfo (templates for streamlit/metablog) Deployed and tested: 136 NFO files generated (107 MetaBlogs, 29 Streamlit) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
37 lines
1021 B
Makefile
37 lines
1021 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=secubox-app-metablogizer
|
|
PKG_VERSION:=1.1.0
|
|
PKG_RELEASE:=1
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/secubox-app-metablogizer
|
|
SECTION:=secubox
|
|
CATEGORY:=SecuBox
|
|
TITLE:=MetaBlogizer Static Site Publisher
|
|
DEPENDS:=+git +uhttpd
|
|
PKGARCH:=all
|
|
endef
|
|
|
|
define Package/secubox-app-metablogizer/description
|
|
Static site publisher with auto-vhost creation.
|
|
Supports uhttpd (default) and nginx LXC runtimes.
|
|
KISS ULTIME MODE: One-command DNS + SSL + Mesh workflow.
|
|
endef
|
|
|
|
define Build/Compile
|
|
endef
|
|
|
|
define Package/secubox-app-metablogizer/install
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
$(INSTALL_BIN) ./files/usr/sbin/metablogizerctl $(1)/usr/sbin/
|
|
$(INSTALL_DIR) $(1)/etc/config
|
|
$(INSTALL_CONF) ./files/etc/config/metablogizer $(1)/etc/config/
|
|
# NFO module manifest template
|
|
$(INSTALL_DIR) $(1)/usr/share/metablogizer
|
|
$(INSTALL_DATA) ./files/usr/share/metablogizer/nfo-template.nfo $(1)/usr/share/metablogizer/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,secubox-app-metablogizer))
|