{"id":40047958,"url":"https://github.com/va-slyusarev/afs","last_synced_at":"2026-01-19T05:37:36.902Z","repository":{"id":57536436,"uuid":"184897112","full_name":"va-slyusarev/afs","owner":"va-slyusarev","description":"Another implementation of a virtual file system based on assets embedded in your code.","archived":false,"fork":false,"pushed_at":"2019-05-13T13:10:26.000Z","size":166,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-20T19:17:02.591Z","etag":null,"topics":["assets","code-generation","fileserver","filesystem"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/va-slyusarev.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}},"created_at":"2019-05-04T13:16:16.000Z","updated_at":"2024-01-10T15:57:23.000Z","dependencies_parsed_at":"2022-08-28T17:42:37.945Z","dependency_job_id":null,"html_url":"https://github.com/va-slyusarev/afs","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/va-slyusarev/afs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/va-slyusarev%2Fafs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/va-slyusarev%2Fafs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/va-slyusarev%2Fafs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/va-slyusarev%2Fafs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/va-slyusarev","download_url":"https://codeload.github.com/va-slyusarev/afs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/va-slyusarev%2Fafs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28561902,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T03:31:16.861Z","status":"ssl_error","status_checked_at":"2026-01-19T03:31:15.069Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["assets","code-generation","fileserver","filesystem"],"created_at":"2026-01-19T05:37:36.811Z","updated_at":"2026-01-19T05:37:36.895Z","avatar_url":"https://github.com/va-slyusarev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Assets File System (AFS)\nAnother implementation of a virtual file system based on assets embedded in your code.\nThe implementation uses *zlib* compression and *base64* encoding.\n\n## Install\n\n```sh\ngo get github.com/va-slyusarev/afs/...\n```\n\n## Use case\n1. Add assets to the catalog;\n2. Run `afs/afs` utility by adjusting the appropriate parameters;\n3. Add generated class to your code and use.\n\n```go\npackage main\n\nimport (\n\t\"log\"\n\t\"net/http\"\n\n\t\"github.com/va-slyusarev/afs\"\n\t_ \"your/path/which/was/generated\" // init assets for afs\n)\n\nfunc main() {\n\tif fs, err := afs.GetAFS(); err == nil {\n\t\tlog.Fatal(http.ListenAndServe(\":8080\", http.FileServer(fs)))\n\t}\n}\n```\n\n\nSee `_example`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fva-slyusarev%2Fafs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fva-slyusarev%2Fafs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fva-slyusarev%2Fafs/lists"}