{"id":25797063,"url":"https://github.com/klassm/raycast-slack","last_synced_at":"2025-02-27T14:57:06.884Z","repository":{"id":60067609,"uuid":"537840671","full_name":"klassm/raycast-slack","owner":"klassm","description":"Raycast extension to Search slack, including conversations and bookmarks","archived":false,"fork":false,"pushed_at":"2023-03-17T11:06:49.000Z","size":400,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-07-30T20:12:08.796Z","etag":null,"topics":["extensions","macos","raycast","raycast-extension","slack"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/klassm.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2022-09-17T14:55:09.000Z","updated_at":"2024-01-02T15:33:38.000Z","dependencies_parsed_at":"2023-01-20T07:46:48.589Z","dependency_job_id":null,"html_url":"https://github.com/klassm/raycast-slack","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/klassm%2Fraycast-slack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klassm%2Fraycast-slack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klassm%2Fraycast-slack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klassm%2Fraycast-slack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/klassm","download_url":"https://codeload.github.com/klassm/raycast-slack/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241026946,"owners_count":19896718,"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":["extensions","macos","raycast","raycast-extension","slack"],"created_at":"2025-02-27T14:57:06.372Z","updated_at":"2025-02-27T14:57:06.878Z","avatar_url":"https://github.com/klassm.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Slack\n\n## Features\n\n* Open channels and users\n* List and open conversations with multiple users\n* Open bookmarks of slack channels\n* Show unread messages directly in Raycast, mark them as read with just one command\n\n### Usage\n\nSay you want to search for you direct conversations with Max Mustermann in Slack. Just activate this plug-in via command\nor alias, press space and type in `Max Mustermann`. This will display all direct messages between you and Max in\nall of your workspaces.\n\nIf you want to narrow down the results by workspace, e.g. you only want results in workspace 'Foo', then all you need to\ndo is prepend a prefix of that space name to your search: `-fo Max M`. This will only display the relevant results from\nthat workspace.\n\n## Installation\n\nClone this repository and run `npm install \u0026\u0026 npm run dev`\n\nThe app uses two kinds of information - tokens and a cookie.\n\nUsually you have to install a Slack app to obtain an API token. This is quite tedious, as your administrator\nhas to approve a Slack app only for you - which will hardly ever happen.\n\nBut there's a different option - the webinterface also needs to authenticate itself with the Slack backend. And\nthis is what this plugin also uses.\nAll data can be obtained when opening Slack in the browser, logging in and opening the dev console.\n\n## Obtaining the parameters\n\n### Token\n\n* Open Slack in your browser, log in\n* [Open the dev console](https://developer.chrome.com/docs/devtools/open/), then open the console tab\n* Execute the following snippet:\n\n```\n# Get the tokens\nObject.values(JSON.parse(window.localStorage[\"localConfig_v2\"]).teams).map(team =\u003e team.token).join(\",\")\n```\n\n### Cookie\n\nGetting the cookie is a bit more difficult, as `document.cookie` does not return the value we want - for whatever reason.\nInstead:\n* Open Slack in your browser, log in\n* [Open the dev console](https://developer.chrome.com/docs/devtools/open/), then open the network tab\n* Open some arbitrary request. When scrolling down to the request headers, there will be a key value pair with the name \"Cookie\". Copy the value. You are good to go!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklassm%2Fraycast-slack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fklassm%2Fraycast-slack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklassm%2Fraycast-slack/lists"}