{"id":49319993,"url":"https://github.com/do-2k24-27/rusty-initramfs-builder","last_synced_at":"2026-04-26T17:02:58.190Z","repository":{"id":335530065,"uuid":"1144416130","full_name":"DO-2K24-27/rusty-initramfs-builder","owner":"DO-2K24-27","description":"A Rusty CLI tool to convert Docker/OCI images into bootable initramfs for microVMs.","archived":false,"fork":false,"pushed_at":"2026-03-12T17:01:16.000Z","size":1513,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-12T23:00:03.245Z","etag":null,"topics":["initramfs","lambda","microvms","serverless"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/initramfs-builder","language":"Rust","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/DO-2K24-27.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-28T17:06:42.000Z","updated_at":"2026-02-26T21:32:35.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/DO-2K24-27/rusty-initramfs-builder","commit_stats":null,"previous_names":["damien-mathieu1/rusty-initramfs-builder","do-2k24-27/rusty-initramfs-builder"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/DO-2K24-27/rusty-initramfs-builder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DO-2K24-27%2Frusty-initramfs-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DO-2K24-27%2Frusty-initramfs-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DO-2K24-27%2Frusty-initramfs-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DO-2K24-27%2Frusty-initramfs-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DO-2K24-27","download_url":"https://codeload.github.com/DO-2K24-27/rusty-initramfs-builder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DO-2K24-27%2Frusty-initramfs-builder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32305043,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T09:34:17.070Z","status":"ssl_error","status_checked_at":"2026-04-26T09:34:00.993Z","response_time":129,"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":["initramfs","lambda","microvms","serverless"],"created_at":"2026-04-26T17:02:58.064Z","updated_at":"2026-04-26T17:02:58.173Z","avatar_url":"https://github.com/DO-2K24-27.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003ch1\u003erusty-initramfs-builder\u003c/h1\u003e\nA Rusty CLI tool to convert Docker/OCI images into bootable initramfs for microVMs 🦀\n\n![builder](./docs/builder.png)\n\n\u003cdiv\u003e\n\n  ![Stars](https://img.shields.io/github/stars/DO-2K24-27/rusty-initramfs-builder?logo=github) ![Downloads](https://img.shields.io/crates/d/initramfs-builder?logo=rust)[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![GitHub release](https://img.shields.io/github/v/release/DO-2K24-27/rusty-initramfs-builder?color=success)](https://github.com/DO-2K24-27/rusty-initramfs-builder/releases/latest)\n  \u003c/div\u003e\n\u003c/div\u003e\n\n## Installation\n\n```bash\ncargo install initramfs-builder\n```\n\n## Quick Start\n\n```bash\n# Build an initramfs from a Docker image\ninitramfs-builder build python:3.12-alpine -o python.cpio.gz\n\n# Inject a custom binary and init script\ninitramfs-builder build python:3.12-alpine \\\n  --inject ./my-agent:/usr/bin/my-agent \\\n  --init ./init.sh \\\n  -o python-lambda.cpio.gz\n```\n\n## Usage\n\n```bash\n# Build initramfs\ninitramfs-builder build \u003cIMAGE\u003e [OPTIONS]\n\nOptions:\n  -o, --output \u003cFILE\u003e       Output file [default: initramfs.cpio.gz]\n  --inject \u003cSRC:DEST\u003e       Inject file into initramfs (can be repeated)\n  --init \u003cSCRIPT\u003e           Custom init script (placed at /init)\n  --exclude \u003cPATTERN\u003e       Exclude files matching pattern\n  --platform-arch \u003cARCH\u003e    Target architecture [default: amd64]\n  -c, --compression \u003cFMT\u003e   gzip, zstd, or none [default: gzip]\n\n# Inspect image\ninitramfs-builder inspect \u003cIMAGE\u003e\n\n# List layers\ninitramfs-builder list-layers \u003cIMAGE\u003e\n```\n\n## Example init script\n\n```bash\n#!/bin/sh\nmount -t proc proc /proc\nmount -t sysfs sysfs /sys\nmount -t devtmpfs devtmpfs /dev\nexec /usr/bin/my-agent\n```\n\n## Documentation\n\nSee [docs/](docs/) for detailed documentation:\n\n- [Architecture](docs/architecture.md) - How it works internally\n- [Integration](docs/integration.md) - Using with rust-vmm/Firecracker\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdo-2k24-27%2Frusty-initramfs-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdo-2k24-27%2Frusty-initramfs-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdo-2k24-27%2Frusty-initramfs-builder/lists"}