{"id":16110107,"url":"https://github.com/calbabreaker/kontrolbot","last_synced_at":"2025-04-06T05:25:56.739Z","repository":{"id":165038151,"uuid":"382738426","full_name":"Calbabreaker/kontrolbot","owner":"Calbabreaker","description":"Control your computer through discord.","archived":false,"fork":false,"pushed_at":"2021-08-30T12:36:40.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T11:14:30.331Z","etag":null,"topics":["bot","discord","discord-bot","javascript","nodejs","remote-shell","shell"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Calbabreaker.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":"2021-07-04T01:19:22.000Z","updated_at":"2021-08-30T12:36:42.000Z","dependencies_parsed_at":"2024-07-26T20:19:27.595Z","dependency_job_id":null,"html_url":"https://github.com/Calbabreaker/kontrolbot","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/Calbabreaker%2Fkontrolbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Calbabreaker%2Fkontrolbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Calbabreaker%2Fkontrolbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Calbabreaker%2Fkontrolbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Calbabreaker","download_url":"https://codeload.github.com/Calbabreaker/kontrolbot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247439918,"owners_count":20939187,"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":["bot","discord","discord-bot","javascript","nodejs","remote-shell","shell"],"created_at":"2024-10-09T19:35:34.406Z","updated_at":"2025-04-06T05:25:56.720Z","avatar_url":"https://github.com/Calbabreaker.png","language":"JavaScript","readme":"# Kontrol Bot\n\nA cross platform application that allows you to control your computer through \ndiscord using shell commands.\n\n## Setup\n\n#### Getting the bot \n\nFirst go to the [applications control\npanel](https://discord.com/developers/applications), create an application,\nthen make a bot, then create a .env file with `BOT_TOKEN=put bot token here` as\nits contents. Then go to\n`http://discord.com/oauth2/authorize?client_id=APP_ID\u0026scope=bot` with APP_ID\nbeing the application ID to add it to a server.\n\n#### Running it\n\nFirst make sure you have [nodejs](https://nodejs.org/) and\n[yarn](https://yarnpkg.com/) installed. Then get the source code of this \nrepository (by doing `git clone https://github.com/Calbabreaker/kontrolbot/` \nor downloading as a zip) and then run `yarn` at the root directory \nof the repository.\n\nNow you can run it directly on your computer by running `yarn start`.\n\nYou can also run it inside of a docker container by doing `yarn start:docker -t\ncalbabreaker/kontrolbot`. You can also build a docker image with `yarn\nbuild:docker` and run the image with the same run command but with\ncalbabreaker/kontrolbot replaced with the built image tag.\n\n## Usage\n\nTo send a command, send a message with `\u003e` at the front and it will execute it while sending\nback the output. You can use `!kb kill` to kill the current command\nalthough it might not respond if it's stuck in a loop.\n\nBy default everyone can use kontrolbot but if you want to restrict usage,\n add `OWNERS=` on seperate line in the .env file and add your username#tag \nor anyone's username#tag as a comma seperated list to the right of the =.\n\nExample .env:\n\n```\nBOT_TOKEN=000000000000000.0000.00000000000000000\nOWNERS=User#1013,AmazingUser#2184\n```\n\nNow only the specified OWNERS can use kontrol bot. OWNERS can also allow other\npeople to use kontrol bot by sending `!kb allow username#tag` but that person\nthey cannot allow others. You can disallow them by doing `!kb disallow username#tag`. \nYou can also allow or disallow everyone by having the username#tag be `*`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalbabreaker%2Fkontrolbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcalbabreaker%2Fkontrolbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalbabreaker%2Fkontrolbot/lists"}