{"id":22531264,"url":"https://github.com/max-te/barrels","last_synced_at":"2025-03-28T05:18:38.994Z","repository":{"id":265931682,"uuid":"895220083","full_name":"max-te/barrels","owner":"max-te","description":"A dwarven customary container format for Wine hoarding","archived":false,"fork":false,"pushed_at":"2025-02-23T19:46:29.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T20:31:42.410Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":false,"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/max-te.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}},"created_at":"2024-11-27T19:31:10.000Z","updated_at":"2025-02-23T19:46:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"e4ad28f8-7974-4fe0-a56a-903ba1c8ac8c","html_url":"https://github.com/max-te/barrels","commit_stats":null,"previous_names":["max-te/barrels"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-te%2Fbarrels","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-te%2Fbarrels/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-te%2Fbarrels/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-te%2Fbarrels/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/max-te","download_url":"https://codeload.github.com/max-te/barrels/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245972826,"owners_count":20702738,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-12-07T08:06:50.813Z","updated_at":"2025-03-28T05:18:38.988Z","avatar_url":"https://github.com/max-te.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Barrels - Customary dwarven Wine hoarding containers\n\nVersion 1: Alder\n\nA tool for creating portable, self-contained Wine environments using [dwarfs](https://github.com/mhx/dwarfs) compressed filesystem images. It allows you to package Windows applications (primarily games) into portable containers that can be easily distributed and run on Linux systems.\n\n## Overview\n\nBarrels packages Wine and Wine Mono ([Kron4ek builds](https://github.com/Kron4ek/Wine-Builds)) into a single compressed archives using the dwarfs filesystem. The main executable (`barrels`) serves as both a Wine environment and a driver for creating and running application containers, allowing you to create portable Windows application packages that can run anywhere with just the driver and the application's `.dwarfs` container.\n\n## Prerequisites\n\n- Linux system\n- dwarfs filesystem tools (`dwarfs`, `mkdwarfs`)\n- fuse-overlayfs\n- wget\n- Basic build tools (make, tar)\n\n## Building\n\nTo build the Wine environment driver:\n\n```bash\nmake barrels\n```\n\nThis will:\n1. Download the required Wine and Wine Mono versions\n2. Create a Wine prefix with necessary components\n3. Package everything into a compressed dwarfs filesystem\n4. Create a self-contained executable driver\n\n## Usage\n\n### Creating Application Containers\n\nTo create a new application container:\n\n```bash\n./barrels --create \u003capp\u003e.dwarfs\n```\n\nThis will set up the necessary mounts and Wine prefix.\nYou now need to do the following:\n1. Install your Windows application into the Wine prefix\n2. Create an `entrypoint.sh` script (example provided in `example-entrypoint.sh`)\nOnce you're done, exit the shell, and the application container will be created.\n\n### Editing Application Containers\n\nTo modify an existing application container:\n\n```bash\n./barrels --edit \u003capp\u003e.dwarfs\n```\n\nThis will mount the existing container and allow you to make changes to it.\nThe original container will be backed up as `\u003capp\u003e.dwarfs.backup` before creating\nthe new container with your changes.\n\n### Running Applications\n\nTo run a packaged application:\n\n```bash\n./barrels \u003capp\u003e.dwarfs [-- \u003cargs\u003e]\n```\n\nThe application container will be mounted and launched according to its entrypoint script.\nAny arguments after `--` will be passed to the entrypoint script.\n\nAlternatively, you can specify a command to run instead of the entrypoint:\n\n```bash\n./barrels \u003capp\u003e.dwarfs \u003ccommand\u003e [\u003cargs\u003e...]\n```\n\nUser data will be stored in `~/.local/share/dwarf-\u003capp\u003e`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmax-te%2Fbarrels","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmax-te%2Fbarrels","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmax-te%2Fbarrels/lists"}