{"id":20628741,"url":"https://github.com/anupam-git/paradox","last_synced_at":"2025-04-15T16:18:05.069Z","repository":{"id":78484479,"uuid":"150225215","full_name":"anupam-git/paradox","owner":"anupam-git","description":"A neat tool to run scripts on Server from Remote Clients","archived":false,"fork":false,"pushed_at":"2018-09-25T19:12:38.000Z","size":43,"stargazers_count":5,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T16:17:58.114Z","etag":null,"topics":["nodejs","pkg","remote","script"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/anupam-git.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2018-09-25T07:32:57.000Z","updated_at":"2022-11-29T00:36:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"998c9219-dd38-4964-a83c-79b563e2bddc","html_url":"https://github.com/anupam-git/paradox","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anupam-git%2Fparadox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anupam-git%2Fparadox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anupam-git%2Fparadox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anupam-git%2Fparadox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anupam-git","download_url":"https://codeload.github.com/anupam-git/paradox/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249105474,"owners_count":21213537,"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":["nodejs","pkg","remote","script"],"created_at":"2024-11-16T13:22:35.729Z","updated_at":"2025-04-15T16:18:05.063Z","avatar_url":"https://github.com/anupam-git.png","language":"TypeScript","readme":"# Paradox\nA neat tool to run scripts on a Server from Remote Clients.\nParadox is written in NodeJS and shipped as standalone executables for Linux, [unfortunately ;)] Windows and MacOS.\n\n### Install\nNo need to build from source code unless you absolutely want to.\nGrab the latest version from the [GitHub Releases](https://github.com/anupam-git/paradox/releases).\n\n### How it works\nTo run scripts on the server, you need to first add scripts.\n```\n./paradox add-script \u003cname\u003e \u003cscript\u003e\n```\n\nThe Clients need to authenticate to run scripts. To create user use the following command\n```\n./paradox add-user \u003cusername\u003e \u003cpassword\u003e\n```\n\nOnce the scripts and users are added, you can start the Paradox Server to listen to requests from Clients.\n```\n./paradox start-server \u003chost\u003e \u003cport\u003e\n```\n\nFrom Clients, use the `run-script` command to run scripts on the remote server\n```\n./paradox run-script -u \u003cusername\u003e -p \u003cpassword\u003e \u003chost\u003e \u003cport\u003e \u003cscript-name\u003e\n```\nThis will invoke the script at Server and exit.\n\nIf you want to receive the output of the scriptm then invoke the `run-scrupt` command with the `-w, --wait-for-output` option\n```\n./paradox run-script -u \u003cusername\u003e -p \u003cpassword\u003e \u003chost\u003e \u003cport\u003e \u003cscript-name\u003e\n```\n\n# Want To Treat Me? :)\nIf you want to show some love, you can Treat Me via Paypal. :)\n\n[![Treats Me via PayPal](https://cdn.rawgit.com/twolfson/paypal-github-button/1.0.0/dist/button.svg)](https://paypal.me/AnupamBasak)\n\n# Documentation\n```\nUsage: paradox [options] [command]\n\nOptions:\n\n  -v, --version                                     output the version number\n  -h, --help                                        output usage information\n\nCommands:\n\n  start-server \u003chost\u003e \u003cport\u003e                        Start Paradox Server\n  add-user \u003cusername\u003e \u003cpassword\u003e                    Add User to Paradox Server\n  remove-user \u003cusername\u003e                            Remove User from Paradox Server\n  add-script \u003cname\u003e \u003cscript\u003e                        Register a Script for Paradox Server [Requires Restart]\n  remove-script \u003cname\u003e                              Removes a Registered Script from Paradox Server [Requires Restart]\n  list-scripts \u003chost\u003e \u003cport\u003e                        Show List of Available Remote Scripts\n  run-script [options] \u003chost\u003e \u003cport\u003e \u003cscript-name\u003e  Run Script on Remote Paradox Server\n  reset-config                                      Resets the Paradox Server to initial state [Requires Restart]\n```\n\n## start-server\n```\nUsage: start-server [options] \u003chost\u003e \u003cport\u003e\n\nStart Paradox Server\n\nOptions:\n\n  -h, --help  output usage information\n```\n\n## add-user\n```\nUsage: add-user [options] \u003cusername\u003e \u003cpassword\u003e\n\nAdd User to Paradox Server\n\nOptions:\n\n  -h, --help  output usage information\n```\n\n## remove-user\n```\nUsage: remove-user [options] \u003cusername\u003e\n\nRemove User from Paradox Server\n\nOptions:\n\n  -h, --help  output usage information\n```\n\n## add-script\n```\nUsage: add-script [options] \u003cname\u003e \u003cscript\u003e\n\nRegister a Script for Paradox Server [Requires Restart]\n\nOptions:\n\n  -h, --help  output usage information\n```\n\n## remove-script\n```\nUsage: remove-script [options] \u003cname\u003e\n\nRemoves a Registered Script from Paradox Server [Requires Restart]\n\nOptions:\n\n  -h, --help  output usage information\n```\n\n## list-scripts\n```\nUsage: list-scripts [options] \u003chost\u003e \u003cport\u003e\n\nShow List of Available Remote Scripts\n\nOptions:\n\n  -h, --help  output usage information\n```\n## run-script\n```\nUsage: run-script [options] \u003chost\u003e \u003cport\u003e \u003cscript-name\u003e\n\nRun Script on Remote Paradox Server\n\nOptions:\n\n  -w, --wait-for-output      [Optional] Waits for output of Script\n  -u, --username \u003cusername\u003e  [Required]\n  -p, --password \u003cpassword\u003e  [Required]\n  -h, --help                 output usage information\n```\n\n## reset-config\n```\nUsage: reset-config [options]\n\nResets the Paradox Server to initial state [Requires Restart]\n\nOptions:\n\n  -h, --help  output usage information\n```","funding_links":["https://paypal.me/AnupamBasak"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanupam-git%2Fparadox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanupam-git%2Fparadox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanupam-git%2Fparadox/lists"}