{"id":17456749,"url":"https://github.com/lukekarrys/mlb-slack-status","last_synced_at":"2026-05-18T00:02:04.156Z","repository":{"id":51348090,"uuid":"88326005","full_name":"lukekarrys/mlb-slack-status","owner":"lukekarrys","description":"Update your Slack status with a baseball score.","archived":false,"fork":false,"pushed_at":"2021-05-14T01:03:23.000Z","size":117,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-03T13:28:34.761Z","etag":null,"topics":["mlb","slack"],"latest_commit_sha":null,"homepage":null,"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/lukekarrys.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":"2017-04-15T05:23:01.000Z","updated_at":"2023-03-08T04:08:12.000Z","dependencies_parsed_at":"2022-09-10T18:10:28.852Z","dependency_job_id":null,"html_url":"https://github.com/lukekarrys/mlb-slack-status","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lukekarrys/mlb-slack-status","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukekarrys%2Fmlb-slack-status","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukekarrys%2Fmlb-slack-status/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukekarrys%2Fmlb-slack-status/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukekarrys%2Fmlb-slack-status/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lukekarrys","download_url":"https://codeload.github.com/lukekarrys/mlb-slack-status/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukekarrys%2Fmlb-slack-status/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33160167,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"ssl_error","status_checked_at":"2026-05-17T22:39:10.741Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["mlb","slack"],"created_at":"2024-10-18T02:51:14.748Z","updated_at":"2026-05-18T00:01:59.146Z","avatar_url":"https://github.com/lukekarrys.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mlb-slack-status\n\nSync you Slack status with an MLB team.\n\n[![Build Status](https://travis-ci.org/lukekarrys/mlb-slack-status.png?branch=master)](https://travis-ci.org/lukekarrys/mlb-slack-status)\n[![Greenkeeper badge](https://badges.greenkeeper.io/lukekarrys/mlb-slack-status.svg)](https://greenkeeper.io/)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)\n\n![go cubs](./screenshot.png)\n\n\n## Usage\n\n```sh\ngit clone git@github.com:lukekarrys/mlb-slack-status.git\ncd mlb-slack-status\nnpm install\ncp .env.example .env\n```\n\n1. Acquire a Slack token. You could setup a [Slack app](https://api.slack.com/docs/oauth) with a [`users.profile:write` scope](https://api.slack.com/methods/users.profile.set) (takes some work) or use a [legacy token](https://api.slack.com/custom-integrations/legacy-tokens) (not so much work)\n1. Edit `.env` with your `TOKEN` and other variables (like `TEAM`)\n1. __Bonus:__ upload your team's logo as an emoji in Slack and set it as `EMOJI` in `.env`\n1. `npm run deploy \u0026\u0026 npm run clean` (the `clean` part will remove any old deploys)\n\n\n## What it does\n\nYou should now have a server that updates your Slack status to your team's current result. That result will be one of the following:\n\n- **Scheduled**: `CHC – 8:05 EDT vs PIT`\n\n  If a game is scheduled for that day it will set your status to the time of the game. The server will then sleep until the start of the game before attempting to update your status again.\n\n- **In progress**: `CHC – 1-0 Top 4th 1 out vs PIT`\n\n  If a game is in progress it will set your status to the current result of the game. It will check on a [set interval](./.env.example#L4) until the game is complete.\n\n- **Completed**: `CHC – L 1-6 F/11 vs PIT`\n\n  Once the game is completed it will set your status the the final result of the game. The server will then sleep until [the next day](./.env.example#L5-L6) before trying to find the next game.\n\n- **Off day**: `CHC – No game today`\n\n  If there is no game scheduled, it will set your status as described. The server will then sleep until [the next day](./.env.example#L5-L6) before trying to find the next game.\n\n\n## LICENSE\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukekarrys%2Fmlb-slack-status","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flukekarrys%2Fmlb-slack-status","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukekarrys%2Fmlb-slack-status/lists"}