{"id":13483396,"url":"https://github.com/tacesrever/frida-tsplugin","last_synced_at":"2025-03-27T14:31:16.858Z","repository":{"id":59617302,"uuid":"251129349","full_name":"tacesrever/frida-tsplugin","owner":"tacesrever","description":"typescript autocomplete plugin for frida's java warpper","archived":false,"fork":false,"pushed_at":"2024-02-18T10:31:27.000Z","size":144,"stargazers_count":36,"open_issues_count":0,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-30T17:47:48.971Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/tacesrever.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":"2020-03-29T20:38:40.000Z","updated_at":"2024-09-11T08:39:17.000Z","dependencies_parsed_at":"2024-01-13T18:24:51.404Z","dependency_job_id":"4e817255-761e-49ef-8328-9c1c46b02524","html_url":"https://github.com/tacesrever/frida-tsplugin","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/tacesrever%2Ffrida-tsplugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tacesrever%2Ffrida-tsplugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tacesrever%2Ffrida-tsplugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tacesrever%2Ffrida-tsplugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tacesrever","download_url":"https://codeload.github.com/tacesrever/frida-tsplugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245863071,"owners_count":20684784,"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-07-31T17:01:10.777Z","updated_at":"2025-03-27T14:31:16.509Z","avatar_url":"https://github.com/tacesrever.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","JavaScript (485)","TypeScript"],"sub_categories":[],"readme":"\r\n# frida-tsplugin  \r\nAutoComplete plugin for frida's java warpper.  \r\n\r\n![](./example.png)\r\n\r\n# Usage  \r\n## install  \r\n```\r\n$ git clone https://github.com/tacesrever/frida-tsplugin.git\r\n$ cd frida-tsplugin\r\n$ npm install\r\n```\r\n## load  \r\nwith frida ^14.0.0:\r\n```\r\n$ frida -U -l agent/tsplugin.js target  \r\n$ adb forward tcp:28042 tcp:28042  \r\n```\r\nor you can edit the port in agent/tsplugin.ts and compile it by frida-compile.  \r\n\r\nadd plugin in `frida-agent-example/tsconfig.json` after setup [frida-agent-example](https://github.com/oleavr/frida-agent-example):  \r\n\r\n```\r\n{\r\n    \"compilerOptions\": {\r\n        ...\r\n        ,\r\n        \"plugins\": [{\r\n            \"name\": path to tsplugin,\r\n            \"host\"?: ip of target device, default is \"127.0.0.1\"(use adb forward tcp:port tcp:port)\r\n            \"port\"?: listen port in tsplugin.ts, default is 28042\r\n            \"logfile\"?: path to logfile\r\n        }]\r\n    }\r\n}\r\n```\r\n## debug  \r\n\r\nif nothing happen after load, you can:  \r\n- Ensure plugin is loaded  \r\n\u003e set logfile path mentioned above, if the logfile didn't created, the plugin may fail to load.  \r\n\u003e press F1, type 'Ty' then click Typescript: Open TS Server log, find 'frida-tsplugin' to see if plguin load sucessed.  \r\n\u003e \r\n- Ensure frida-tsplugin's typescript version same as vscode's.  \r\n\u003e check typescript version in vscode's install dir `Microsoft VS Code( Insiders)/resources/app/extensions/node_modules/typescript/package.json` and in frida-tsplugin/package.json's dependencies, if not same, you should run `npm i typescript@version from vscode` then `tsc -p .` under frida-tsplugin.  \r\n- Ensure agent service is on  \r\n\u003e open http://127.0.0.1:28042/getJavaClassInfo?className=java.lang.String to see if any content. The target app may need be in the foreground with phone's screen on for service to response.  ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftacesrever%2Ffrida-tsplugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftacesrever%2Ffrida-tsplugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftacesrever%2Ffrida-tsplugin/lists"}