secubox-openwrt/package/secubox/luci-app-cyberfeed/Makefile
CyberMind-FR 22f6f26a01 feat(cyberfeed): Add CyberFeed RSS aggregator packages for OpenWrt
New packages:
- secubox-app-cyberfeed: Core RSS aggregator service
  - Pure shell script, OpenWrt compatible
  - Cyberpunk emoji injection based on content keywords
  - Caching with configurable TTL
  - JSON and HTML output with neon/glitch effects
  - RSS-Bridge support for social media (Facebook, Twitter, YouTube)

- luci-app-cyberfeed: LuCI dashboard with cyberpunk theme
  - Dashboard with stats, quick actions, recent items
  - Feed management with add/delete
  - RSS-Bridge templates for easy social media setup
  - Preview with category filtering
  - Settings page for service configuration

Features:
- Auto-emojification (security, tech, mystical themes)
- Dark neon UI with scanlines and glitch effects
- RSS-Bridge integration for Facebook/Twitter/YouTube
- Category-based filtering
- Auto-refresh via cron (5 min default)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 22:02:07 +01:00

40 lines
1.5 KiB
Makefile

# SPDX-License-Identifier: MIT
# LuCI App for CyberFeed
# Copyright (C) 2025 CyberMind.fr
include $(TOPDIR)/rules.mk
LUCI_TITLE:=LuCI CyberFeed Dashboard
LUCI_DESCRIPTION:=Cyberpunk-themed RSS feed aggregator dashboard with social media support
LUCI_DEPENDS:=+secubox-app-cyberfeed +luci-base +luci-compat
LUCI_PKGARCH:=all
PKG_NAME:=luci-app-cyberfeed
PKG_VERSION:=0.1.0
PKG_RELEASE:=1
PKG_MAINTAINER:=CyberMind <contact@cybermind.fr>
PKG_LICENSE:=MIT
include $(TOPDIR)/feeds/luci/luci.mk
define Package/luci-app-cyberfeed/install
$(INSTALL_DIR) $(1)/usr/libexec/rpcd
$(INSTALL_BIN) ./root/usr/libexec/rpcd/luci.cyberfeed $(1)/usr/libexec/rpcd/luci.cyberfeed
$(INSTALL_DIR) $(1)/usr/share/luci/menu.d
$(INSTALL_DATA) ./root/usr/share/luci/menu.d/luci-app-cyberfeed.json $(1)/usr/share/luci/menu.d/luci-app-cyberfeed.json
$(INSTALL_DIR) $(1)/usr/share/rpcd/acl.d
$(INSTALL_DATA) ./root/usr/share/rpcd/acl.d/luci-app-cyberfeed.json $(1)/usr/share/rpcd/acl.d/luci-app-cyberfeed.json
$(INSTALL_DIR) $(1)/www/luci-static/resources/cyberfeed
$(INSTALL_DATA) ./htdocs/luci-static/resources/cyberfeed/api.js $(1)/www/luci-static/resources/cyberfeed/api.js
$(INSTALL_DATA) ./htdocs/luci-static/resources/cyberfeed/dashboard.css $(1)/www/luci-static/resources/cyberfeed/dashboard.css
$(INSTALL_DIR) $(1)/www/luci-static/resources/view/cyberfeed
$(INSTALL_DATA) ./htdocs/luci-static/resources/view/cyberfeed/*.js $(1)/www/luci-static/resources/view/cyberfeed/
endef
$(eval $(call BuildPackage,luci-app-cyberfeed))