{"id":22144966,"url":"https://github.com/jim/otp","last_synced_at":"2026-05-13T12:42:39.890Z","repository":{"id":66404229,"uuid":"84993802","full_name":"jim/otp","owner":"jim","description":"Scripts to add a phone icon to your Slack name when you're on a call.","archived":false,"fork":false,"pushed_at":"2018-02-26T21:24:48.000Z","size":9,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-29T17:24:54.487Z","etag":null,"topics":["applescript","osx","ruby","slack"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/jim.png","metadata":{"files":{"readme":"README.markdown","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-14T20:24:53.000Z","updated_at":"2019-07-12T16:00:43.000Z","dependencies_parsed_at":"2023-06-02T18:15:14.896Z","dependency_job_id":null,"html_url":"https://github.com/jim/otp","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/jim%2Fotp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jim%2Fotp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jim%2Fotp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jim%2Fotp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jim","download_url":"https://codeload.github.com/jim/otp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245267567,"owners_count":20587459,"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":["applescript","osx","ruby","slack"],"created_at":"2024-12-01T22:36:41.890Z","updated_at":"2025-10-20T05:10:33.635Z","avatar_url":"https://github.com/jim.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"This hodgepodge of scripts will append a phone icon to the end of your Slack last name, so that it appears like \"Firstname Lastname 📞\" when you are on a Zoom, Skype, or appear.in call.\n\n## Prerequisites\n\n* You need a recent version of Ruby and Rubygems installed.\n* This program requires the `osascript` executable that ships on OS X.\n* `otp_start.sh` assumes you are using chruby to manage Ruby versions. It will probably need to be adjusted for other Ruby version managers.\n\n## Setup\n\n1. Run `bundle` within the project directory to install all Ruby dependencies.\n\n2. Go to System Preferences \u003e Security \u0026 Privacy \u003e Accessibility \u003e Privacy and add Terminal.app to the list of apps allowed to control your computer.\n\n3. Go to [this page](https://api.slack.com/docs/oauth-test-tokens) and request a Slack testing token. The admin of your\n    slack account will need to approve this request.\n\n4. Add the token from #1 to a `.env` file like this:\n\n    ```\n    TOKEN=the-testing-token-from-slack\n    ```\n\n5. Run `bundle exec ruby get_slack_user_id.rb` and add the value that is\n   printed out to `.env`:\n\n    ```\n    TOKEN=the-testing-token-from-slack\n    USER_ID=ABCD1234\n    ```\n\n6. Then run `bundle exec ruby otp.rb` to start the script. You can use `DEBUG=1 bundle exec ruby otp.rb` if things aren't working and you want some debug output.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjim%2Fotp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjim%2Fotp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjim%2Fotp/lists"}