{"id":13744577,"url":"https://github.com/mesmotronic/as3-worker-untar","last_synced_at":"2026-02-15T17:03:28.132Z","repository":{"id":13507849,"uuid":"16198755","full_name":"mesmotronic/as3-worker-untar","owner":"mesmotronic","description":"ActionScript 3 Worker for extracting tar files in the background","archived":false,"fork":false,"pushed_at":"2019-04-23T16:19:16.000Z","size":45,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-09-06T21:42:35.870Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"ActionScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mesmotronic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-01-24T08:14:01.000Z","updated_at":"2022-12-26T09:08:27.000Z","dependencies_parsed_at":"2022-07-08T05:58:53.767Z","dependency_job_id":null,"html_url":"https://github.com/mesmotronic/as3-worker-untar","commit_stats":null,"previous_names":["mesmotronic/as3-untar-worker"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mesmotronic/as3-worker-untar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mesmotronic%2Fas3-worker-untar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mesmotronic%2Fas3-worker-untar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mesmotronic%2Fas3-worker-untar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mesmotronic%2Fas3-worker-untar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mesmotronic","download_url":"https://codeload.github.com/mesmotronic/as3-worker-untar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mesmotronic%2Fas3-worker-untar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274873613,"owners_count":25365824,"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","status":"online","status_checked_at":"2025-09-12T02:00:09.324Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-08-03T05:01:12.123Z","updated_at":"2026-02-15T17:03:28.101Z","avatar_url":"https://github.com/mesmotronic.png","language":"ActionScript","funding_links":[],"categories":["Utilities","File Formats"],"sub_categories":["Asynchronous"],"readme":"Untar Worker for Adobe AIR\n==========================\n\nUntar Worker for Adobe AIR is an ActionScript 3 Worker class used to extract \nuncompressed gnu-tar files, created using `tar -cf`, in the background.\n\nThe Worker runs once, then self-terminates on completion.\n\nReleased under BSD license. Requires AIR 3.4+.\n\nExample Project\n---------------\n\nA simple Flex project for Adobe AIR example Flash Builder project is included in the examples folder, which enables you to select and extract a tar to a chosen folder.\n\nCode Example\n------------\n\n```as3\nprotected var untarWorker:Worker;\nprotected var resultChannel:MessageChannel;\n\n[Embed(source=\"UntarWorker.swf\", mimeType=\"application/octet-stream\")]\nprotected var untarWorkerClass:Class;\n\nprotected function untar(sourcePath:String, targetPath:String):void\n{\n\t// giveAppPrivileges parameter MUST be set to true!\n\tuntarWorker = WorkerDomain.current.createWorker(new untarWorkerClass(), true);\n\tuntarWorker.addEventListener(Event.WORKER_STATE, untarWorker_workerState);\n\t\n\tresultChannel = untarWorker.createMessageChannel(Worker.current);\n\tresultChannel.addEventListener(Event.CHANNEL_MESSAGE, resultChannel_channelMessage);\n\t\n\tuntarWorker.setSharedProperty(\"sourcePath\", sourcePath);\n\tuntarWorker.setSharedProperty(\"targetPath\", targetPath);\t\t\t\t\n\tuntarWorker.setSharedProperty(\"resultChannel\", resultChannel);\t\t\t\t\n\t\n\tuntarWorker.start();\n}\n\nprotected function untarWorker_workerState(event:Event):void\n{\n\ttrace(\"untarWorker.state =\", untarWorker.state);\n}\n\nprotected function resultChannel_channelMessage(event:Event):void\n{\n\tvar success:Boolean = resultChannel.receive() as Boolean;\n\t\n\tswitch (success)\n\t{\n\t\tcase true:\n\t\t\ttrue(\"Success!\");\n\t\t\tbreak;\n\t\t\t\n\t\tdefault:\n\t\t\ttrace(\"Error: are you sure that was a tar?\");\n\t\t\tbreak;\n\t}\n}\n```\n\nMake a donation\n---------------\n\nIf you find this project useful, why not buy us a coffee (or as many as you think it's worth)?\n\n[![Make a donation](https://www.paypalobjects.com/en_US/GB/i/btn/btn_donateCC_LG.gif)](http://bit.ly/2GBa6DY)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmesmotronic%2Fas3-worker-untar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmesmotronic%2Fas3-worker-untar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmesmotronic%2Fas3-worker-untar/lists"}