{"id":20550057,"url":"https://github.com/thehandsomepanther/slag","last_synced_at":"2025-04-14T11:15:33.244Z","repository":{"id":57362837,"uuid":"77343956","full_name":"thehandsomepanther/slag","owner":"thehandsomepanther","description":"slack in the terminal using javascript","archived":false,"fork":false,"pushed_at":"2017-12-30T03:16:52.000Z","size":316,"stargazers_count":16,"open_issues_count":3,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-14T11:15:07.046Z","etag":null,"topics":["cli","slack"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/slag-cli","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/thehandsomepanther.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-25T21:44:17.000Z","updated_at":"2019-06-05T18:15:59.000Z","dependencies_parsed_at":"2022-09-13T22:42:03.533Z","dependency_job_id":null,"html_url":"https://github.com/thehandsomepanther/slag","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/thehandsomepanther%2Fslag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thehandsomepanther%2Fslag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thehandsomepanther%2Fslag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thehandsomepanther%2Fslag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thehandsomepanther","download_url":"https://codeload.github.com/thehandsomepanther/slag/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248868766,"owners_count":21174758,"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":["cli","slack"],"created_at":"2024-11-16T02:22:58.801Z","updated_at":"2025-04-14T11:15:33.203Z","avatar_url":"https://github.com/thehandsomepanther.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# slack terminal client\nuse slack in your terminal with an ncurses-style text-based gui.\n![markdown-preview](assets/slag.png)\n\n\n## what this client supports right now\n- chatting (public channels, private channels, DMs, etc)\n- slash-commands from slack's hidden api!!\n- @- and #-mentions\n- emoji 🙌🏽\n\n## what this client doesn't support/has trouble supporting (as of right now)\n- images/gifs (for obvious reasons)\n- files and links (they get printed out, but if they're too long they can go off the screen)\n\n## how to run:\nif you want to be able to run it from anywhere, make sure you have npm installed and run\n```\nnpm install -g slag-cli\n```\nyou'll need tokens for each team you'd like to use in slag. You can generate tokens for your team [here](https://api.slack.com/docs/oauth-test-tokens)\n\nto register a token with slag, type\n```\nslag --add-token \u003cyour-token\u003e --team \u003cteam-name\u003e\n```\n\nif you'd like to add multiple teams at once, you can simply make your own json file and type\n```\nslag --set-tokens \u003cpath-to-your-tokens-json\u003e\n```\n\nif you choose to set your json manually, it should be structured like this:\n```\n[\n  {\n    \"team\": \"ATEAM\",\n    \"token\": \"xoxp-***\"\n  },\n  {\n    \"team\": \"ANOTHER_TEAM\",\n    \"token\": \"xoxp-***\"\n  }\n]\n```\n\nonce you've registered at least one token, you should be able to run slag from anywhere (assuming you've installed it globally) in your command line by typing:\n```\nslag\n```\n\n## how to use\n|Key  |Action|\n|---\t|---\t|\n|Tab  |Switch between channel selection, message box, and team selection|\n|Ctrl+T|Cycle through teams|\n|Ctrl+C|Quit|\n|Esc  |Quit|\n\n## how to contribute\nclone this repo, then from inside the project directory run\n```\nnpm install\n```\nand have at it. do the tokens thing too though.\n\n## notes:\nthis project uses a json file generated by [jollygoodcode's emoji-keywords](https://github.com/jollygoodcode/emoji-keywords) to translate slack's `:emoji-code:` into unicode under the MIT license\n\n## license\nidk i guess we use the [MIT license](/license)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthehandsomepanther%2Fslag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthehandsomepanther%2Fslag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthehandsomepanther%2Fslag/lists"}