{"id":27638008,"url":"https://github.com/wonderwhy-er/chatgptservercommander","last_synced_at":"2025-06-26T03:35:17.772Z","repository":{"id":228741399,"uuid":"748851374","full_name":"wonderwhy-er/ChatGPTServerCommander","owner":"wonderwhy-er","description":"This project is a server that exposes terminal commands and file editing functionality as an API for ChatGPT Actions. In essence, it allows you to control any machine where you install this with ChatGPT. Install, run, and edit anything, even itself.","archived":false,"fork":false,"pushed_at":"2024-11-09T09:06:36.000Z","size":10130,"stargazers_count":32,"open_issues_count":0,"forks_count":12,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-06-24T07:58:39.835Z","etag":null,"topics":["ai","automation","chatgpt","coding","customgpt","nodejs","terminal"],"latest_commit_sha":null,"homepage":"","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/wonderwhy-er.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,"zenodo":null}},"created_at":"2024-01-26T21:55:07.000Z","updated_at":"2025-06-22T02:55:35.000Z","dependencies_parsed_at":"2024-04-03T12:27:52.822Z","dependency_job_id":"787cb5aa-d7db-405d-aa7f-17a283e02105","html_url":"https://github.com/wonderwhy-er/ChatGPTServerCommander","commit_stats":null,"previous_names":["wonderwhy-er/servercommander","wonderwhy-er/chatgptservercommander"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wonderwhy-er/ChatGPTServerCommander","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wonderwhy-er%2FChatGPTServerCommander","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wonderwhy-er%2FChatGPTServerCommander/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wonderwhy-er%2FChatGPTServerCommander/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wonderwhy-er%2FChatGPTServerCommander/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wonderwhy-er","download_url":"https://codeload.github.com/wonderwhy-er/ChatGPTServerCommander/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wonderwhy-er%2FChatGPTServerCommander/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261995483,"owners_count":23242202,"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":["ai","automation","chatgpt","coding","customgpt","nodejs","terminal"],"created_at":"2025-04-23T21:36:06.305Z","updated_at":"2025-06-26T03:35:17.738Z","avatar_url":"https://github.com/wonderwhy-er.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ChatGPT Server Commander\n\u003cimg src=\"https://raw.githubusercontent.com/wonderwhy-er/ChatGPTServerCommander/main/logo4.png\" width=\"350pxp\" height=\"350px\"/\u003e\nThis project is a server that exposes terminal commands and file editing functionality as an API for ChatGPT Actions. In essence, it allows you to control any machine where you install this with ChatGPT. Install, run, and edit anything, even itself.\n\n## Video Demo\n[![Watch here](https://img.youtube.com/vi/8wMOferdWeA/maxresdefault.jpg)]([https://youtu.be/VIDEO_ID](https://youtu.be/8wMOferdWeA?t=1333))\n\n## Features\n\n- Execute server commands through a REST API that is compatible with Custom ChatGPT actions\n- Interface with external APIs and services.\n- Local Tunnel integration for easy access to the server running on a local machine, making the API accessible to ChatGPT.\n\n## Work in Progress\n\n- Auto-generation of API schema with Swagger is in progress. For a detailed to-do list, please refer to [todo.md](./todo.md).\n\n## Requirements/Installation\n\n- Node.js v18+\n\nTo install the project dependencies, run:\n\n```bash\nnpm install\n```\n\n# Setup Instructions\n\n### 1.  First you will need to install Node.js, at time of writting its v20.16.0 https://nodejs.org/en\n### 2.  Checkout the code and open Terminal in the folder\n### 3.  install dependencies\n\n```bash\nnpm install\n```\n\n### 4. Start the server with:\n\n```bash\nnpm run start\n```\n### 5. On the first run, the setup process will guide you through configuring the port, determining whether it runs locally or on a server, and setting the domain.\n### 6. The setup will generate a secret key for use in CustomGPT called authKey, don't share it, it will be used later to allow ChatGPT to call your server or computer\n\n![image](https://github.com/user-attachments/assets/03570d60-3eea-4157-bb5f-785f05fe0ce7)\n\n### 7. Finally, create a CustomGPT here https://chatgpt.com/gpts/editor\n### 8. Add prompt to custom gpt from [prompt.md](./prompt.md)\n\n![image](https://github.com/user-attachments/assets/666f50ef-e264-4cd3-ab8a-6d1554b089c1)\n\n### 9. Add your URL to the generated OpenAPI spec, similar to this but with your domain: `https://appcookbook.wonderwhy-er.com/openapi.json`\n\n![image](https://github.com/user-attachments/assets/901a7f31-22b7-42bf-b698-db346a8cb8f1)\n\n### 10. Add API authentication, choose Bearer an add authKey from step 6   \n\n![image](https://github.com/user-attachments/assets/2b41d095-c329-417c-a18e-d83f0a979afb)\n\nFor more detailed instructions, please refer to the setup video (TODO: Add video).\n\n## Contributing\n\nContributions to the Server Commander project are welcome.\nI did not put in work yet to make it easy to contribute but I will if I see interest in that.\n\nFeel free to reach out to me on \n\nLinkedIn https://www.linkedin.com/in/eduardruzga/\n\nOr Discord https://discord.com/channels/wonderwhyer\n\nOr Twitter/X https://x.com/wonderwhy_er\n\n## License\n\nThe project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwonderwhy-er%2Fchatgptservercommander","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwonderwhy-er%2Fchatgptservercommander","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwonderwhy-er%2Fchatgptservercommander/lists"}