{"id":43001930,"url":"https://github.com/bad-antics/glowbarn-os","last_synced_at":"2026-01-31T04:08:43.523Z","repository":{"id":334493020,"uuid":"1141606923","full_name":"bad-antics/glowbarn-os","owner":"bad-antics","description":"GlowBarn OS - Paranormal Research Operating System built with Buildroot","archived":false,"fork":false,"pushed_at":"2026-01-25T19:04:14.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-25T19:05:12.593Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bad-antics.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-25T04:52:28.000Z","updated_at":"2026-01-25T19:04:18.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/bad-antics/glowbarn-os","commit_stats":null,"previous_names":["bad-antics/glowbarn-os"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/bad-antics/glowbarn-os","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bad-antics%2Fglowbarn-os","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bad-antics%2Fglowbarn-os/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bad-antics%2Fglowbarn-os/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bad-antics%2Fglowbarn-os/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bad-antics","download_url":"https://codeload.github.com/bad-antics/glowbarn-os/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bad-antics%2Fglowbarn-os/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28928907,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T04:05:25.756Z","status":"ssl_error","status_checked_at":"2026-01-31T04:02:35.005Z","response_time":128,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-31T04:08:42.024Z","updated_at":"2026-01-31T04:08:43.510Z","avatar_url":"https://github.com/bad-antics.png","language":"Python","funding_links":[],"categories":["Distributions","OS Images"],"sub_categories":["Traditional Distributions"],"readme":"# 🌟 GlowBarn OS - Paranormal Research Operating System\n\n\u003e A specialized, lightweight operating system for paranormal investigation, environmental monitoring, and multi-modal anomaly detection research.\n\n## 🎯 Project Vision\n\nGlowBarn OS is a custom Linux-based operating system designed to run the GlowBarn Paranormal Detection Suite as a first-class citizen. Built for deployment on:\n\n- **Live USB** - Boot on any x86_64 machine without installation\n- **Raspberry Pi** - ARM-based field deployment\n- **Lightweight Machines** - Intel NUC, mini PCs, old laptops\n- **Dedicated Research Stations** - Purpose-built detection hardware\n\n## 🏗️ Architecture\n\n```mermaid\nflowchart TB\n    subgraph stack[\"GlowBarn OS Stack\"]\n        subgraph app[\"Application Layer\"]\n            A1[Visual Console - egui native]\n            A2[Sensor Fusion Engine]\n            A3[Real-time Analysis]\n            A4[Security \u0026 Encryption]\n        end\n        \n        subgraph framework[\"Framework Layer\"]\n            F1[Hardware Abstraction Layer - HAL]\n            F2[Sensor Drivers - I2C, SPI, GPIO, USB]\n            F3[GPU Compute Interface - wgpu/Vulkan]\n            F4[Network Stack - MQTT, WebSocket, BLE]\n        end\n        \n        subgraph firmware[\"Firmware Layer\"]\n            W1[Custom initramfs]\n            W2[Minimal systemd services]\n            W3[Real-time kernel - PREEMPT_RT]\n            W4[Secure boot chain]\n        end\n        \n        subgraph base[\"Base System\"]\n            B1[Linux Kernel 6.x - custom config]\n            B2[Musl libc / glibc]\n            B3[BusyBox / CoreUtils]\n            B4[SquashFS root - read-only, verified]\n        end\n    end\n    \n    app --\u003e framework\n    framework --\u003e firmware\n    firmware --\u003e base\n```\n\n## 📋 Roadmap\n\n### Phase 1: GlowBarn Application (CURRENT)\n- [x] Core engine architecture\n- [x] 50+ sensor type implementations\n- [x] Analysis algorithms (entropy, anomaly detection)\n- [x] Multi-sensor fusion (Bayesian, Dempster-Shafer)\n- [x] Security module (AES-256-GCM, Argon2id)\n- [x] Visual console UI\n- [x] Streaming (MQTT, WebSocket)\n- [ ] Compilation \u0026 testing\n- [ ] Code signing\n- [ ] GitHub release\n\n### Phase 2: Hardware Abstraction Layer\n- [x] I2C sensor interface (HMC5883L, BME280, MLX90614)\n- [x] SPI sensor interface (ADS1256, MCP3008)\n- [x] GPIO control (PIR, laser grid, PWM)\n- [x] USB device enumeration (serial, HID)\n- [x] Audio capture (EVP, infrasound, spirit box)\n- [x] Camera/thermal imaging (V4L2, FLIR, night vision)\n- [x] Software-defined radio (RTL-SDR, EMF analyzer)\n\n### Phase 3: Sensor Fusion Library\n- [x] Statistical baseline tracking\n- [x] Z-score anomaly detection\n- [x] Multi-sensor event correlation\n- [x] Sliding window analysis\n- [x] EMA trend detection\n- [x] CUSUM change point detection\n- [x] Isolation Forest multivariate detection\n- [x] Pattern matching\n\n### Phase 4: Application Framework\n- [x] Main application daemon\n- [x] CLI management tool\n- [x] Event recording \u0026 playback\n- [x] Trigger system\n- [x] Configuration management\n- [x] Session export\n\n### Phase 5: Firmware Foundation\n- [ ] Custom Linux kernel config\n- [ ] PREEMPT_RT patches for real-time\n- [ ] Minimal initramfs\n- [ ] SquashFS root filesystem\n- [ ] Overlay filesystem for persistence\n- [ ] Secure boot integration\n\n### Phase 4: Live USB Image\n- [ ] ISO generation pipeline\n- [ ] UEFI + Legacy BIOS boot\n- [ ] Persistence partition support\n- [ ] Auto-detection of sensors\n- [ ] Network configuration UI\n- [ ] First-boot wizard\n\n### Phase 5: Raspberry Pi Support\n- [ ] ARM64 cross-compilation\n- [ ] Pi-specific kernel config\n- [ ] GPIO sensor integration\n- [ ] Pi Camera support\n- [ ] Pi Sense HAT integration\n- [ ] SD card image generation\n\n### Phase 6: Distribution\n- [ ] Package repositories (APT, RPM, Pacman)\n- [ ] OTA update mechanism\n- [ ] Telemetry (opt-in)\n- [ ] Community sensor plugins\n- [ ] Research data sharing network\n\n## 🛠️ Technology Stack\n\n| Component | Technology |\n|-----------|------------|\n| **Application** | Rust, egui, wgpu |\n| **Build System** | Buildroot / Yocto |\n| **Kernel** | Linux 6.x + PREEMPT_RT |\n| **Init System** | systemd (minimal) or s6 |\n| **Filesystem** | SquashFS + OverlayFS |\n| **Bootloader** | systemd-boot / GRUB2 |\n| **Containers** | Podman (optional) |\n\n## 🔧 Development Setup\n\n```bash\n# Clone the repository\ngit clone https://github.com/bad-antics/glowbarn-os.git\ncd glowbarn-os\n\n# Install build dependencies (Debian/Ubuntu)\nsudo apt install build-essential git wget cpio unzip rsync bc \\\n    libncurses5-dev libssl-dev flex bison\n\n# Initialize Buildroot\nmake setup\n\n# Configure for target\nmake menuconfig\n\n# Build the image\nmake build\n\n# Create bootable USB\nsudo dd if=output/glowbarn-os.img of=/dev/sdX bs=4M status=progress\n```\n\n## 📁 Project Structure\n\n```\nglowbarn-os/\n├── Cargo.toml              # Rust workspace manifest\n├── hal/                    # Hardware Abstraction Layer (Rust)\n│   ├── Cargo.toml\n│   ├── src/\n│   │   ├── lib.rs          # Core traits \u0026 HardwareManager\n│   │   ├── i2c.rs          # I2C sensors\n│   │   ├── spi.rs          # SPI devices\n│   │   ├── gpio.rs         # GPIO control\n│   │   ├── usb.rs          # USB enumeration\n│   │   ├── audio.rs        # Audio capture\n│   │   ├── camera.rs       # Camera/thermal\n│   │   └── sdr.rs          # Software-defined radio\n│   └── examples/\n├── sensors/                # Sensor Fusion Library (Rust)\n│   ├── Cargo.toml\n│   └── src/\n│       ├── lib.rs          # Event types\n│       ├── fusion.rs       # Multi-sensor fusion\n│       ├── anomaly.rs      # Anomaly detection\n│       ├── recording.rs    # Session recording\n│       └── triggers.rs     # Trigger automation\n├── app/                    # Application (Rust)\n│   ├── Cargo.toml\n│   └── src/\n│       ├── main.rs         # Daemon\n│       ├── cli.rs          # CLI tool\n│       └── config.rs       # Configuration\n├── buildroot/              # Buildroot external tree\n│   ├── board/glowbarn/     # Board-specific files\n│   ├── configs/            # Defconfigs for targets\n│   ├── package/            # Custom packages\n│   └── overlay/            # Root filesystem overlay\n├── kernel/                 # Kernel patches and configs\n├── firmware/               # Firmware blobs (if needed)\n├── tools/                  # Build and deployment tools\n├── docs/                   # Documentation\n└── tests/                  # Integration tests\n```\n\n## 🎯 Target Platforms\n\n| Platform | Architecture | Status |\n|----------|-------------|--------|\n| Generic x86_64 | x86_64 | Planned |\n| Raspberry Pi 4/5 | ARM64 | Planned |\n| Raspberry Pi Zero 2W | ARM64 | Planned |\n| Intel NUC | x86_64 | Planned |\n| NVIDIA Jetson Nano | ARM64 | Future |\n\n## 🔐 Security Features\n\n- **Secure Boot** - Signed bootloader and kernel\n- **dm-verity** - Verified root filesystem\n- **Full Disk Encryption** - LUKS2 for data partitions\n- **Measured Boot** - TPM integration\n- **Minimal Attack Surface** - No unnecessary services\n- **Automatic Updates** - Signed OTA updates\n\n## 📜 License\n\nGNU General Public License v3.0 (GPLv3)\n\n## 🔗 Related Projects\n\n- [glowbarn-rs](https://github.com/bad-antics/glowbarn-rs) - Main application\n- [glowbarn](https://github.com/bad-antics/glowbarn) - Original Python prototype\n\n---\n\n**Status:** � Active Development - Rust HAL, Sensors, and Application crates complete\n\n**Last Updated:** 2026-01-26\n\n---\n\n## Rust Workspace\n\nThe core GlowBarn system is implemented as a Rust workspace with three crates:\n\n```\n├── hal/                    # Hardware Abstraction Layer\n│   ├── src/\n│   │   ├── lib.rs          # Core HAL traits \u0026 HardwareManager\n│   │   ├── i2c.rs          # I2C: HMC5883L, BME280, MLX90614\n│   │   ├── spi.rs          # SPI: ADS1256, MCP3008\n│   │   ├── gpio.rs         # GPIO: PIR, laser grid, PWM\n│   │   ├── usb.rs          # USB: serial, HID devices\n│   │   ├── audio.rs        # Audio: EVP, infrasound, spirit box\n│   │   ├── camera.rs       # Camera: V4L2, thermal, night vision\n│   │   └── sdr.rs          # SDR: RTL-SDR, EMF analyzer\n│   └── examples/\n│       ├── sensor_demo.rs\n│       └── emf_scanner.rs\n├── sensors/                # Sensor Fusion \u0026 Analysis\n│   └── src/\n│       ├── lib.rs          # Event types, ParanormalEvent\n│       ├── fusion.rs       # FusionEngine, multi-sensor correlation\n│       ├── anomaly.rs      # Z-score, EMA, CUSUM, IsolationForest\n│       ├── recording.rs    # EventRecorder, session management\n│       └── triggers.rs     # TriggerManager, automated responses\n└── app/                    # Main Application\n    └── src/\n        ├── main.rs         # Daemon entry point\n        ├── cli.rs          # CLI management tool\n        └── config.rs       # AppConfig\n```\n\n### Building\n\n```bash\n# Build release binaries\ncargo build --release\n\n# Binaries are in target/release/\n# - glowbarn       (daemon)\n# - glowbarn-cli   (CLI tool)\n```\n\n### CLI Usage\n\n```bash\n# Show system information\nglowbarn-cli info\n\n# List recording sessions\nglowbarn-cli sessions\n\n# Show events from a session\nglowbarn-cli events \u003csession-id\u003e\n\n# Export session to JSON\nglowbarn-cli export \u003csession-id\u003e --format json\n\n# Generate sample config\nglowbarn-cli config \u003e /etc/glowbarn/config.toml\n```\n\n### Configuration\n\n```toml\n# /etc/glowbarn/config.toml or ~/.config/glowbarn/config.toml\n\nlocation = \"Investigation Site Alpha\"\nsession_name = \"session_001\"\ndata_directory = \"/var/lib/glowbarn/data\"\npoll_interval_ms = 100\nanomaly_threshold = 3.0\nmin_confidence = 0.7\nauto_record = true\n```\n\n---\n\n## Quick Start\n\n### Prerequisites\n- Linux build system (Ubuntu 22.04+ recommended)\n- 20GB+ free disk space\n- 4GB+ RAM\n\n### Build Steps\n\n```bash\n# Install dependencies\nmake deps\n\n# Setup Buildroot\nmake setup\n\n# Build for Raspberry Pi 4\nmake build-rpi4\n\n# Or build for x86_64 PC\nmake build-x86\n```\n\n### Write to SD Card\n\n```bash\nsudo dd if=buildroot-2024.02.9/output/images/glowbarn-os-rpi4.img of=/dev/sdX bs=4M status=progress\n```\n\n### Default Login\n- **Username:** root\n- **Password:** paranormal\n\n### Access Web Dashboard\nOpen browser to: `http://\u003cdevice-ip\u003e:8765`\n\n---\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nGNU General Public License v3.0 - see [LICENSE](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbad-antics%2Fglowbarn-os","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbad-antics%2Fglowbarn-os","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbad-antics%2Fglowbarn-os/lists"}