{"id":15718041,"url":"https://github.com/ahmedhalat/servermanager","last_synced_at":"2025-03-30T22:21:37.815Z","repository":{"id":137965072,"uuid":"251464106","full_name":"AhmedHalat/ServerManager","owner":"AhmedHalat","description":"Discord bot for starting and stoping VM","archived":false,"fork":false,"pushed_at":"2021-08-27T01:22:06.000Z","size":32,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-06T03:22:04.962Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AhmedHalat.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-31T00:52:51.000Z","updated_at":"2023-09-30T00:42:26.000Z","dependencies_parsed_at":"2023-07-03T15:01:07.654Z","dependency_job_id":null,"html_url":"https://github.com/AhmedHalat/ServerManager","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/AhmedHalat%2FServerManager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AhmedHalat%2FServerManager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AhmedHalat%2FServerManager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AhmedHalat%2FServerManager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AhmedHalat","download_url":"https://codeload.github.com/AhmedHalat/ServerManager/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246386418,"owners_count":20768831,"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-10-03T21:51:59.829Z","updated_at":"2025-03-30T22:21:37.789Z","avatar_url":"https://github.com/AhmedHalat.png","language":"JavaScript","readme":"# ServerManager\nDiscord bot for starting and stoping VM\n- 2 commands are set up by default, one for a pixelmon server, and one for a vanilla server\n- The dialogflow branch has one for a windows server, and a text matcher for any server with the user specified name. Try @ServerManager start ${instance_name}\n- Create custom commands by changing the variable names at the top for pixelmon and vanilla or creating more command functions\n\n## Installation\n- Download the project onto your machine\n- Run `npm i` to install to get the necessary packages\n- Downlaod a gcloud service account credientials as a JSON. Make sure the account has access to google cloud compute instances, [Google Authentication](https://cloud.google.com/docs/authentication/getting-started)\n\n## Preparation\n- Store your discord token and name to the token and name variable in Servermanager.js\n- Run `export GOOGLE_APPLICATION_CREDENTIALS=\"/path-to-file/Servers-432f295fec07.json\"` in the project where \"Servers-432f295fec07.json\" is the name of your downloaded service account JSON\n\n## Running \n- `node ServerManager.js`\n- Be sure to leave the server running if you want the bot to stay online\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmedhalat%2Fservermanager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahmedhalat%2Fservermanager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmedhalat%2Fservermanager/lists"}