{"id":17242230,"url":"https://github.com/arronhunt/slack-status","last_synced_at":"2025-02-24T15:31:34.943Z","repository":{"id":23955707,"uuid":"88540568","full_name":"arronhunt/slack-status","owner":"arronhunt","description":"Use IFTTT to update your Slack status","archived":true,"fork":false,"pushed_at":"2023-06-20T21:09:31.000Z","size":326,"stargazers_count":11,"open_issues_count":11,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-12T13:54:51.462Z","etag":null,"topics":["express","ifttt","slack"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arronhunt.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-17T18:59:38.000Z","updated_at":"2023-08-14T13:29:34.000Z","dependencies_parsed_at":"2023-01-14T00:08:07.554Z","dependency_job_id":null,"html_url":"https://github.com/arronhunt/slack-status","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/arronhunt%2Fslack-status","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arronhunt%2Fslack-status/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arronhunt%2Fslack-status/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arronhunt%2Fslack-status/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arronhunt","download_url":"https://codeload.github.com/arronhunt/slack-status/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240503669,"owners_count":19812051,"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":["express","ifttt","slack"],"created_at":"2024-10-15T06:12:39.448Z","updated_at":"2025-02-24T15:31:34.669Z","avatar_url":"https://github.com/arronhunt.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About\nThis is a simple express web server that allows you to interface with the Slack status API from IFTTT. The reason that you need this service is because IFTTT does not play well with url encoded JSON in POST requests. Hopefully Slack will make this repo obsolete by publishing their own IFTTT integration.\n\n## Step 1. Get a Slack token\n\n1. Create a new slack app https://api.slack.com/apps\n2. In your app settings, navigate to Enable OAuth \u0026 Permissions\n3. Under \"Permission Scopes\", add the Modify users' profile scope `user.profile:write` and save changes\n4. Scroll to the top and click \"Install App to Team\".\n5. In the dialog, click \"Authorize\"\n6. Copy your OAuth Access Token and use it for the next step.\n\n## Step 2. Install\nSSH into your remote server. In terminal, run the following commands\n\n```\n$ git clone https://github.com/arronhunt/slack-status.git\n$ cd slack-status/\n$ npm install\n$ npm start\n```\n\n## Step 3. Update status\n\nTo update your status, make a POST request to the server with the following raw body\n\n```\n{\n\t\"status_text\": \"Getting coffee\",\n\t\"status_emoji\": \":coffee:\",\n\t\"token\": \"YOUR_TOKEN_HERE\"\n}\n```\n\n## Step 4. Use with IFTTT\n\n1. Create a new applet https://ifttt.com/create\n2. Select a service as your \"if\" trigger.\n3. For the \"then\" action, search for \"Maker Webhook\" and click \"Make a web request\".\n4. Enter the URL of your server. `http://myserver.com:3000/status/`.\n5. Change the method to `POST`.\n6. Change content type to `application/json`.\n7. In the body, paste the JSON from step 3.\n8. Click \"Create action\".\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farronhunt%2Fslack-status","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farronhunt%2Fslack-status","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farronhunt%2Fslack-status/lists"}