{"id":29399711,"url":"https://github.com/lehtojo/webgate","last_synced_at":"2026-04-15T14:32:50.105Z","repository":{"id":302939761,"uuid":"1006295526","full_name":"lehtojo/webgate","owner":"lehtojo","description":"Linux image builder that creates bootable ramdisk systems for running Chromium with DRM/GBM graphics acceleration and minimal dependencies.","archived":false,"fork":false,"pushed_at":"2025-07-24T10:36:36.000Z","size":80,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-24T14:55:48.270Z","etag":null,"topics":["chromium","docker","drm","gbm","initramfs","linux","operating-systems"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lehtojo.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}},"created_at":"2025-06-21T23:52:02.000Z","updated_at":"2025-07-24T10:36:40.000Z","dependencies_parsed_at":"2025-07-04T22:27:26.722Z","dependency_job_id":"1fc0449e-2818-4601-8596-bbc8d3c9a67a","html_url":"https://github.com/lehtojo/webgate","commit_stats":null,"previous_names":["lehtojo/webgate"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lehtojo/webgate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lehtojo%2Fwebgate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lehtojo%2Fwebgate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lehtojo%2Fwebgate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lehtojo%2Fwebgate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lehtojo","download_url":"https://codeload.github.com/lehtojo/webgate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lehtojo%2Fwebgate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31845703,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T13:28:40.153Z","status":"ssl_error","status_checked_at":"2026-04-15T13:28:29.396Z","response_time":63,"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":["chromium","docker","drm","gbm","initramfs","linux","operating-systems"],"created_at":"2025-07-10T14:00:51.055Z","updated_at":"2026-04-15T14:32:50.097Z","avatar_url":"https://github.com/lehtojo.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Webgate\n\nA Linux image builder that creates a bootable system operating entirely from an initial ramdisk (initrd), designed to launch Chromium in DRM/GBM mode with minimal dependencies.\n\n## Overview\n\nWebgate builds a Linux environment that:\n- Boots directly into a ramdisk-based system\n- Provides essential components required to run Chromium reliably\n- Uses DRM (Direct Rendering Manager) and GBM (Generic Buffer Management) for hardware-accelerated graphics\n- Reduces dependencies between the Linux kernel and Chromium browser while maintaining functionality\n- Creates bootable UEFI images for bare-metal deployment\n\n## Architecture\n\nThe system consists of several core components:\n\n### Core Modules\n- **Linux Kernel** - Custom configured kernel with DRM/GBM support\n- **libdrm** - Direct Rendering Manager userspace library\n- **Mesa** - 3D graphics library with hardware-specific Gallium drivers\n- **libglvnd** - OpenGL Vendor-Neutral Dispatch library\n- **Linux Firmware** - GPU firmware files for various hardware\n\n### Build System\n- **Dockerized Environment** - Reproducible builds using Debian Trixie\n- **Modular Architecture** - Each component has independent build, setup, and install scripts\n- **UEFI Boot Support** - Creates bootable EFI images using systemd-ukify\n\n## Prerequisites\n\n- Docker\n- Privileged container support (for loop device mounting)\n\n## Quick Start\n\n1. **Clone the repository:**\n   ```bash\n   git clone https://github.com/lehtojo/webgate\n   cd webgate\n   ```\n\n2. **Build the complete system:**\n   ```bash\n   ./build.sh\n   ```\n\n3. **The build process will:**\n   - Sync module source code\n   - Configure and build all components\n   - Create a functional root filesystem\n   - Package everything into a bootable UEFI image\n\n4. **Output:**\n   - `out/system.img` - Bootable disk image\n   - `out/bootloader.efi` - UEFI bootloader\n   - `out/filesystem.cpio` - Initial ramdisk\n\n## Manual Build Process\n\nFor more control, you can run individual build phases:\n\n```bash\n./control.sh sync attach setup build install postinstall filesystem bootloader image\n```\n\n### Build Phases\n\n- **sync** - Download/update module source code\n- **attach** - Prepare module dependencies\n- **setup** - Configure build systems (Meson, Make)\n- **build** - Compile all modules\n- **install** - Install to staging directory\n- **postinstall** - Copy additional files and finalize\n- **filesystem** - Create initrd archive\n- **bootloader** - Generate UEFI bootloader\n- **image** - Create bootable disk image\n\n## Configuration\n\n### GPU Support\nGraphics hardware support through Mesa drivers:\n- Intel integrated graphics (i915, iris)\n- NVIDIA graphics (Nouveau)\n- Software rendering fallback (LLVMpipe, Softpipe)\n- AMD graphics (RadeonSI, AMDGPU)\n- Additional hardware support via Mesa's Gallium drivers\n\n### Module Configuration\nEach module contains configuration files:\n- `config.json` - Git repository and commit information\n- `setup.sh` - Build system configuration\n- `build.sh` - Compilation commands\n- `install.sh` - Installation scripts\n\n### Customization\n- Add custom root filesystem files to `extra/` directory\n- Modify kernel command line in `data/commandline/commandline.txt`\n- Adjust module configurations in respective `setup.sh` scripts\n\n## Development\n\n### Adding New Modules\n1. Create module directory in `modules/`\n2. Add required scripts: `setup.sh`, `build.sh`, `install.sh`\n3. Optionally add `config.json` for Git-based modules\n\n## Goals\n\nThis project aims to create a path from Linux kernel to Chromium browser, reducing system complexity while maintaining hardware compatibility and functionality.\n\n## License\n\nSee LICENSE file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flehtojo%2Fwebgate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flehtojo%2Fwebgate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flehtojo%2Fwebgate/lists"}