{"id":15705366,"url":"https://github.com/hummusonrails/dev_orbit","last_synced_at":"2025-05-12T18:21:51.483Z","repository":{"id":52618103,"uuid":"345361920","full_name":"hummusonrails/dev_orbit","owner":"hummusonrails","description":"Integrate your DEV community interactions into your Orbit workspace","archived":false,"fork":false,"pushed_at":"2021-05-03T06:02:18.000Z","size":77,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-01T01:39:24.019Z","etag":null,"topics":["api-client","devto","orbit","ruby","ruby-gem"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/hummusonrails.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-07T14:04:31.000Z","updated_at":"2021-04-23T07:12:32.000Z","dependencies_parsed_at":"2022-08-25T21:41:27.017Z","dependency_job_id":null,"html_url":"https://github.com/hummusonrails/dev_orbit","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hummusonrails%2Fdev_orbit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hummusonrails%2Fdev_orbit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hummusonrails%2Fdev_orbit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hummusonrails%2Fdev_orbit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hummusonrails","download_url":"https://codeload.github.com/hummusonrails/dev_orbit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253795273,"owners_count":21965510,"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":["api-client","devto","orbit","ruby","ruby-gem"],"created_at":"2024-10-03T20:15:34.078Z","updated_at":"2025-05-12T18:21:51.460Z","avatar_url":"https://github.com/hummusonrails.png","language":"Ruby","readme":"# DEV.to Interactions to Orbit Workspace\n\n![Build Status](https://github.com/bencgreenberg/dev_orbit/workflows/CI/badge.svg)\n[![Gem Version](https://badge.fury.io/rb/dev_orbit.svg)](https://badge.fury.io/rb/dev_orbit)\n[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.0-4baaaa.svg)](code_of_conduct.md)\n\nThis is a Ruby gem that can be used to integrate your DEV interactions, like DEV comments on blog posts, into your organization's Orbit workspace.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'dev_orbit'\n```\n\n## Usage\n\n### Instantiation of the Client\n\nTo instantiate a DevOrbit client, you can either pass along your credentials for DEV and Orbit directly to the instantiation or retain them in your environment variables.\n\nThe following are the expected environment variables:\n\n```ruby\nORBIT_API_KEY\nORBIT_WORKSPACE_ID\nDEV_API_KEY\nDEV_USERNAME\n```\n\nWith the credentials as environment variables:\n\n```ruby\nclient = DevOrbit::Client.new\n```\n\nPassing in the credentials directly into the instantiation:\n\n```ruby\nclient = DevOrbit::Client.new(\n  orbit_api_key: '...',\n  orbit_workspace: '...',\n  dev_api_key: '...',\n  dev_username: '...'\n)\n```\n\n### Post New DEV Comments to Orbit Workspace\n\nYou can use the gem to get new DEV comments on your DEV user or organization by invoking the `#comments` method on your `client` instance:\n\n```ruby\nclient.comments\n```\n\nThis method will fetch all your articles from DEV, gather their respective comments, filter them for anything within the past day, and then send them to your Orbit workspace via the Orbit API.\n\n\n### Post New DEV Followers to Orbit Workspace\n\nYou can use the gem to get new DEV followers by invoking the `#followers` method on your `client` instance:\n\n```ruby\nclient.followers\n```\n\nYou can run this either of those or any one of them as a daily cron job, for example, to add your newest DEV comments and/or followers as activities and members in your Orbit workspace.\n\n### CLI\n\nYou can also use the built-in CLI to perform the following operations:\n\n* Check for new DEV comments and post them to Orbit\n\n```bash\n$ ORBIT_API_KEY='...' ORBIT_WORKSPACE='...' DEV_API_KEY='...' DEV_USERNAME='...' bundle exec dev_orbit --check-comments\n```\n\n* Check for new DEV followers and post them to Orbit\n\n```bash\n$ ORBIT_API_KEY='...' ORBIT_WORKSPACE='...' DEV_API_KEY='...' DEV_USERNAME='...' bundle exec dev_orbit --check-followers\n```\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/bencgreenberg/dev_orbit. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/bencgreenberg/dev_orbit/blob/master/CODE_OF_CONDUCT.md).\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/bencgreenberg/dev_orbit/blob/master/CODE_OF_CONDUCT.md).\n","funding_links":[],"categories":["Ruby"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhummusonrails%2Fdev_orbit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhummusonrails%2Fdev_orbit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhummusonrails%2Fdev_orbit/lists"}