{"repo":"IgorKowalczyk/discord-ssh","free":true,"listed":false,"github":"https://github.com/IgorKowalczyk/discord-ssh","clone":"git clone https://github.com/IgorKowalczyk/discord-ssh.git","description":"🚀 Discord bot for using shell commands remotely through Discord","language":"TypeScript","stars":45,"topics":["nodejs","discord","ssh","discord-js","javascript","discord-bot"],"license":"MIT","category":"chat-messaging","readme_excerpt":"--- 💡 Why I made this? My ISP won't let me open some ports on my router so I can't use SSH to connect to my server. I created this bot to run shell commands on my server remotely through Discord. I can also use it to run commands on my local machine. Modern problems require modern solutions 📦 Installation 1. Clone the repo git clone https://github.com/igorkowalczyk/discord-ssh.git 2. Install dependencies pnpm install or npm install 3. Create .env file in the root directory 4. Copy the content from .env config 5. Fill the .env file with your data 6. Run the bot pnpm run start or npm run start (or pnpm run dev or npm run dev for development) 7. Invite the bot to your server (see Discord Developer Portal) 8. Send command in channel which you set in .env file 9. Wait for the response, that's it! [!IMPORTANT] You have to enable Message Content intent in your Discord Developer Portal to use this bot! [!NOTE] Bot will not respond to messages in other channels or other members than you (bot owner) unless you change it in the .env file or in the code 🔐 .env config Variable Description Required ------------ ------------------------------------------------- -------- CHANNEL ID Channel ID where bot will listen for commands ✅ Yes OWNERS IDS Users IDs who can use the bot (separated by , ) ✅ Yes TOKEN Discord bot token ✅ Yes CUSTOM CWD Default directory for SSH commands (Default: / ) ❌ No [!NOTE] You can get your Discord user ID/Cannel ID by enabling Developer Mode in Discord settings an","default_branch":null,"files":null,"tree":[],"storefront":"/r/IgorKowalczyk","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/IgorKowalczyk/discord-ssh/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}