{"id":20700381,"url":"https://github.com/s-a/discord-shell-slave","last_synced_at":"2025-09-27T09:31:07.746Z","repository":{"id":57212625,"uuid":"76483024","full_name":"s-a/discord-shell-slave","owner":"s-a","description":":globe_with_meridians: A discord shell client which posts piped shell data to specified guild and channel","archived":false,"fork":false,"pushed_at":"2016-12-15T20:53:31.000Z","size":31,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-17T21:18:23.829Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/s-a.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}},"created_at":"2016-12-14T17:46:40.000Z","updated_at":"2023-07-05T16:18:58.000Z","dependencies_parsed_at":"2022-09-07T09:50:32.957Z","dependency_job_id":null,"html_url":"https://github.com/s-a/discord-shell-slave","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-a%2Fdiscord-shell-slave","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-a%2Fdiscord-shell-slave/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-a%2Fdiscord-shell-slave/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-a%2Fdiscord-shell-slave/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/s-a","download_url":"https://codeload.github.com/s-a/discord-shell-slave/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234418168,"owners_count":18829583,"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-11-17T00:35:09.167Z","updated_at":"2025-09-27T09:31:07.409Z","avatar_url":"https://github.com/s-a.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# discord-shell-slave\n![alt tag](ericlemerdy-Callout-chat-300px.png)\n\n**Why?**  \n*I' d like to allow a shell process to send Discord chat  messages.*\n\n**How?**  \n*You just need to pipe text input into ```discord-shell-slave```.*\n\n\n**discord-shell-slave... Isn' t it a little bit long?**  \n*Yes it is. There exists an alias called ```dss```.*\n\n**I' d like to know more. What is it good for?**  \n*In fact any shell script can send a Discord chat message now. So you do not need any coder skills to use it. If you have coding skills [QWMI](https://github.com/s-a/qwmi) is an excelent usecase and a good example which supports the enhanced JSON structure.*\n\n**JSON structure?**  \n*```dss``` will parse piped string data into a  JSON object if it is a valid JSON string. If not it will take the string and send a simple text message. If it is JSON ```dss``` expects the following structure.*\n```javascript\n{\n  color : \"0x3498db\",\n  title : \"test\",\n  author : {name : \"discord-shell-slave\"},\n  fields : [{name:\"Message\", value: \"Hello\"}]\n}\n```\n\n**How to install it on my machine?**\n```bash\nnpm i -g discord-shell-slave\n```\n\n**No configuration?**  \n*For shure you need one. You need to create a file called ```.discord-shell-slave-rc``` in the current working directory of your shell or in one of its parent directories.*\n```javascript\n{\n    \"my-connection-name\" : {\n        \"channel\" : \"General\",\n        \"token\" : \"M*U4N*MwO****4NDg0M*I0.CzMGvA****iGcZW******\"\n    }\n}\n```\n\n**How to use it?**\n```bash\necho hello world | discord-shell-slave --connect my-connection-name\n```\n*If you want to pass the the configuration file as parameter you can use ```--config``` with an absolute or relative path to the current working directory.*\n```bash\necho hello world | discord-shell-slave --connect my-connection-name --config /path/to/my/.discord-shell-slave-rc\n```\n\n[for more details see  COMMANDLINE-ARGUMENTS.md](/COMMANDLINE-ARGUMENTS.md)\n\n\n**How is this software licensed?**\n*[MIT](/LICENSE)*","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs-a%2Fdiscord-shell-slave","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fs-a%2Fdiscord-shell-slave","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs-a%2Fdiscord-shell-slave/lists"}