{"id":15373003,"url":"https://github.com/vi/execfuse","last_synced_at":"2025-04-14T10:21:32.438Z","repository":{"id":137140072,"uuid":"11381707","full_name":"vi/execfuse","owner":"vi","description":"Turn a bunch of scripts into a FUSE filesystem","archived":false,"fork":false,"pushed_at":"2024-11-29T13:44:15.000Z","size":69,"stargazers_count":31,"open_issues_count":3,"forks_count":12,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-27T23:33:02.729Z","etag":null,"topics":["bash","fuse","fuse-filesystem","shell-scripts"],"latest_commit_sha":null,"homepage":"","language":"C","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/vi.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":"2013-07-13T02:14:16.000Z","updated_at":"2025-01-10T02:37:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"b226a9ba-c24a-494e-bfd1-618d7a3bcf0f","html_url":"https://github.com/vi/execfuse","commit_stats":{"total_commits":61,"total_committers":4,"mean_commits":15.25,"dds":0.3770491803278688,"last_synced_commit":"cefa8af0f75e1e7fbe41b44c97dcab10a6031685"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vi%2Fexecfuse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vi%2Fexecfuse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vi%2Fexecfuse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vi%2Fexecfuse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vi","download_url":"https://codeload.github.com/vi/execfuse/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248860006,"owners_count":21173344,"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":["bash","fuse","fuse-filesystem","shell-scripts"],"created_at":"2024-10-01T13:54:00.475Z","updated_at":"2025-04-14T10:21:32.418Z","avatar_url":"https://github.com/vi.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"execfuse is a implement FUSE filesystems using a bunch of scripts.\n\nConsider it as a \"shell FUSE binding\".\n\nFor each FUSE call (except of ones that deals with file descriptors)\nexecfuse calls your script. For opening files it provides a bit higher\nlevel abstraction: \"read_file\" script is called when file should be read\nand \"write_file\" is called when file should be saved.\n\nExample:\n\n    $ mkdir -p m\n    $ ./execfuse examples/xmp m\n    $ ls -l m/bin/sh\n    lrwxrwxrwx 1 root root 4 Mar 26 00:26 m/bin/sh -\u003e bash\n    (executes \"examples/xmp/readlink /bin/bash\" for this)\n    $ ls m/etc/iproute2/\n    ematch_map  group  rt_dsfield  rt_protos  rt_realms  rt_scopes\trt_tables\n    (executes \"exampels/xmp/readdir /etc/iproute\" for this)\n    $ m/bin/echo qqq\n    qqq\n    $ mkdir -p m/tmp/1/2/3\n    $ echo 12345 \u003e m/tmp/12345\n    (executes \"exampels/xmp/write_file /tmp/12345\" with content piped to stdin)\n    $ rm -Rf m/tmp/1*\n    $ fusermount -u m\n\nLimitations:\n\n* Each file must fit in memory, can't write/read part of file\n* Slow by design\n* Limited error handling, especially for writing files\n* Modifications to files are visible only after file closing\n\nFilesystem examples:\n* `examples/xmp` - try to be fusexmp_fh\n* `examples/hello` - very simple demo filesystem\n* `examples/video_frames` - extract frames from video as `*.ppm` files and enumerate keyframes (using ffmpeg)\n\n# Buildroot instructions\n\nExecfuse is very useful on embedded tiny linuxsystems (which might have few a [shell]scripting languages instead of a fullblown c-compiler).\n\n1. put this repo into the 'packages`-folder (see buildroot manual)\n2. update the `EXECFUSE_SITE`-path accordingly.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvi%2Fexecfuse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvi%2Fexecfuse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvi%2Fexecfuse/lists"}