BLA
BLA (Blind LLM Agents) is the open-source Blue Defense MCP and CLI built to protect software artifacts against automated AI reverse-engineering workflows.
Automate and secure your home infrastructure with a declarative, zero-trust container stack.
SecurityPython · JinjaGitHub @MelvinLoosOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗This repository contains the Infrastructure-as-Code (IaC) for deploying a self-hosted media stack on an Intel N100 Mini-PC running Debian 13 "Trixie". The architecture emphasizes zero-trust micro-segmentation, atomic hardlinks for media management, and hardware-accelerated transcoding.
This project implements a robust, spec-driven media server solution designed for resilience and efficient media processing. It leverages Docker Compose for service orchestration and Ansible for host provisioning, adhering to strict architectural and security guidelines.
CONSTITUTION.md, PRODUCT_SPECIFICATION.md, ARCHITECTURE.md).mediasvc system user with UID/GID 5000./opt/mediastack/appdata/.The media stack consists of the following services, categorized by their Bounded Contexts:
The system mandates a single root directory (/opt/mediastack/) for all media data to enable Atomic Hardlinks (instant, zero-space moves).
/opt/mediastack/
├── docker-compose.yml
├── .env
├── appdata/ <-- Config state (Must reside on fast SSD)
│ ├── jellyfin/
│ ├── radarr/
│ └── ...
└── data/ <-- The Media Payload (Resides on High-Capacity Drive)
├── usenet/ <-- SABnzbd active downloads
└── media/
├── movies/ <-- Final destination for Radarr
└── tv/ <-- Final destination for Sonarr
Before running Ansible, the Intel N100 Mini-PC must be manually prepared:
useradd -m -s /bin/bash ansible
passwd ansible
usermod -aG sudo ansible
ssh-copy-id ansible@<host-ip>
lsblk
# Note the path, e.g., /dev/sdb. This is used in the inventory.
ls -l /dev/dri/renderD128
Ensure your control machine has Ansible installed along with the required collections:
ansible-galaxy collection install community.general ansible.posix community.docker ansible.utils
Python dependency: the
ansible.utilscollection'sipaddrfilter (used for automatic LAN subnet detection) requires thenetaddrPython package in your Ansible control environment (pip install netaddr, orpipx inject ansible-core netaddrwhen Ansible runs from pipx).
Clone the repository:
git clone https://github.com/MelvinLoos/CineVault.git
cd CineVault
Inventory: Edit ansible/inventory/hosts.ini and ensure media_drive_device matches your drive path from step 1.4.
Bootstrapping (Day 1 vs. Day 2)
- Day 1 (Bootstrap): The Host does not run Avahi/mDNS yet, so
mediacenter.localcannot resolve. Target its DHCP address directly for the first run, e.g.ansible-playbook -i "192.168.1.150," -u ansible ansible/playbooks/provision_host.yml -K.- Day 2 (Normal Ops): The playbook sets the role-based hostname and installs Avahi. Afterwards, point the inventory at the mDNS name — resilient to DHCP address changes:
[the_host] mediacenter.local ansible_user=ansible media_drive_device=/dev/sdb
Environment Variables: Copy .env.example to .env and set your TZ and CLOUDFLARED_TOKEN.
cp .env.example .env
Run the master provision playbook. This handles system updates, user creation, filesystem formatting, security hardening, and starts the media stack.
ansible-playbook -i ansible/inventory/hosts.ini ansible/playbooks/provision_host.yml -K
Note on Ingress: By default, the Cloudflare Tunnel container is in the
ingressprofile. To ensure it starts if you run compose manually, usedocker compose --profile ingress up -d. The Ansible playbook handles this automatically.
Once deployed, the following services are available on The Host:
| Service | Port | Bounded Context | Ingress Access via Tunnel |
|---|---|---|---|
| Homepage | 80 | Dashboard | Yes (dashboard.example.com — served by homepage-remote) |
| Seerr | 5055 | Request / Identity | Yes (request.example.com) |
| Jellyfin | 8096 | Delivery | Yes (example.com) |
| Wizarr | 5690 | Request / Identity | Yes (join.example.com) |
| Radarr | 7878 | Acquisition | No |
| Sonarr | 8989 | Acquisition | No |
| Bazarr | 6767 | Acquisition | No |
| Prowlarr | 9696 | Indexers | No |
| Spotweb | 8085 | Indexers | No |
| SABnzbd | 8080 | Processing | No |
| qBittorrent | 8090 | Processing | No |
| Tdarr Server | 8266 | Processing |
The dashboard runs twice: the LAN instance (
mediacenter.local:80) keeps local links, whiledashboard.example.com(Cloudflare Access-protected) is served by the internal-onlyhomepage-remoteinstance, whose tiles link to the public*.example.comhostnames — see Homepage Dashboard and Observability Dashboard. Dozzle remains a LAN-only operational tool (WebUI port UFW-scoped to the local subnet,mediacenter.local:8888); Uptime Kuma is reachable atstatus.example.combehind Cloudflare Access.
This project uses Molecule with Testinfra to validate the infrastructure against the specifications.
To run tests:
cd CineVault
molecule test
Tests verify:
mediasvc ownership)This project is licensed under the MIT License - see the LICENSE file for details.
/api/mcpNo (Local /24 only — laptop GPU node control plane) |
| Maintainerr | 6246 | Maintenance | No (Local /24 only — library cleanup WebUI) |
| Dozzle | 8888 | Observability | No (Local /24 only — log viewer WebUI) |
| Uptime Kuma | 3001 | Observability | Yes (status.example.com) |
| SingPulse | 3000 | Entertainment | Yes (sing.example.com — Party Token, no Access policy; Local /24 for The Stage) |