{"id":22549146,"url":"https://github.com/datl4g/jsunpacker","last_synced_at":"2025-04-10T01:52:52.060Z","repository":{"id":128635869,"uuid":"509740201","full_name":"DatL4g/JsUnpacker","owner":"DatL4g","description":"A javascript unpacker written in Kotlin, available for all platforms","archived":false,"fork":false,"pushed_at":"2023-11-15T14:29:57.000Z","size":122,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T03:34:52.405Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DatL4g.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null},"funding":{"github":"DatL4g","patreon":"datlag","custom":["paypal.me/datlag"]}},"created_at":"2022-07-02T11:43:58.000Z","updated_at":"2025-03-08T03:30:12.000Z","dependencies_parsed_at":"2023-03-24T19:19:10.557Z","dependency_job_id":null,"html_url":"https://github.com/DatL4g/JsUnpacker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DatL4g%2FJsUnpacker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DatL4g%2FJsUnpacker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DatL4g%2FJsUnpacker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DatL4g%2FJsUnpacker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DatL4g","download_url":"https://codeload.github.com/DatL4g/JsUnpacker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248142940,"owners_count":21054671,"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-07T16:07:58.758Z","updated_at":"2025-04-10T01:52:52.038Z","avatar_url":"https://github.com/DatL4g.png","language":"Kotlin","funding_links":["https://github.com/sponsors/DatL4g","https://patreon.com/datlag","paypal.me/datlag"],"categories":[],"sub_categories":[],"readme":"# Kotlin Multiplatform Javascript Unpacker\n\n[![Issues](https://img.shields.io/github/issues/DATL4G/JsUnpacker.svg?style=for-the-badge)](https://github.com/DATL4G/JsUnpacker/issues)\n[![Stars](https://img.shields.io/github/stars/DATL4G/JsUnpacker.svg?style=for-the-badge)](https://github.com/DATL4G/JsUnpacker/stargazers)\n[![Forks](https://img.shields.io/github/forks/DATL4G/JsUnpacker.svg?style=for-the-badge)](https://github.com/DATL4G/JsUnpacker/network/members)\n[![Contributors](https://img.shields.io/github/contributors/DATL4G/JsUnpacker.svg?style=for-the-badge)](https://github.com/DATL4G/JsUnpacker/graphs/contributors)\n[![License](https://img.shields.io/github/license/DATL4G/JsUnpacker.svg?style=for-the-badge)](https://github.com/DATL4G/JsUnpacker/blob/master/LICENSE)\n\nThis a rebuilt unpacker for JavaScript blocks that were packed with [Dean Edwards JavaScript's Packer](http://dean.edwards.name/packer/).\n\nThe project is based on [php-javascript-unpacker](https://github.com/rkaradas/php-javascript-unpacker).\n\n## Installation\n\nThis project is available on maven central\n\n```gradle\nimplementation(\"dev.datlag.jsunpacker:jsunpacker:1.0.1\")\n```\n\n## Usage\n\nThe purpose of this script is to unpack automated data, e.g. site scraping, where you need to get the unpacked version of a packed JavaScript to parse out link or something like that.\n\n**The UnpackUnitTest class provides some small examples and shows some limitations on how to use it.**\n\n```kotlin\nval isPacked = JsUnpacker.detect(\"some string here\")\nval unpacked = JsUnpacker.unpackAndCombine(\"simple example\")\n\nprintln(isPacked)\nprintln(unpacked)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatl4g%2Fjsunpacker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatl4g%2Fjsunpacker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatl4g%2Fjsunpacker/lists"}