{"id":17375905,"url":"https://github.com/drewml/hipchat-code-snippets","last_synced_at":"2025-03-27T19:48:58.492Z","repository":{"id":72799298,"uuid":"46532261","full_name":"DrewML/hipchat-code-snippets","owner":"DrewML","description":"A HipChat Connect Integration that enables users to post snippets of code that will be displayed with proper syntax highlighting","archived":false,"fork":false,"pushed_at":"2015-11-25T05:33:15.000Z","size":349,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T22:29:08.243Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/DrewML.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":"2015-11-20T01:52:42.000Z","updated_at":"2016-04-19T10:50:51.000Z","dependencies_parsed_at":"2023-02-24T02:16:02.714Z","dependency_job_id":null,"html_url":"https://github.com/DrewML/hipchat-code-snippets","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/DrewML%2Fhipchat-code-snippets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrewML%2Fhipchat-code-snippets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrewML%2Fhipchat-code-snippets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrewML%2Fhipchat-code-snippets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DrewML","download_url":"https://codeload.github.com/DrewML/hipchat-code-snippets/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245916256,"owners_count":20693389,"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":[],"created_at":"2024-10-16T04:04:12.889Z","updated_at":"2025-03-27T19:48:58.470Z","avatar_url":"https://github.com/DrewML.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HipChat Code Snippets\n\n![ScreenShot 1](screenshots/post.png)\n![ScreenShot 2](screenshots/notification.png)\n![ScreenShot 3](screenshots/view.png)\n\n## Technology Stack\n\n- [Express 4](http://expressjs.com/api.html)\n- [Redis](http://redis.io/)\n- [Babel](https://babeljs.io/)\n- [Rollup](http://rollupjs.org/)\n\n## How it Works\n\nWhen in a chatroom that has the integration installed, users can select the `Post Code Snippet` action. When the user chooses to `Post Snippet`, the following happens:\n\n1. The code is used to create a private GitHub Gist\n2. A notification in the chatroom is sent, notifying users of the new snippet\n3. Users can click on the notification, which will open a modal with the contents of the private Gist\n\n## Running Locally\n\n**Prerequisites**\n\n- Must be using a version of `node.js` \u003e 5.0.0\n- Must have Redis server running locally\n\n### Setup/Configuration\n\n1. Clone the repository\n2. Run `npm install` in the root of the repo\n3. Setup [ngrok](https://ngrok.com/) (or another local tunnel) to listen on port `3000`\n4. Open `config.json`, and change the `localBaseUrl` value to the hostname provided by `ngrok`\n5. Run `npm start`, which will build all assets and start the Integration's server\n\n### Installing in HipChat\n\n1. Open up one of your HipChat rooms in the `4.0.x` client, and click `Configure Integrations`\n2. Scroll to the bottom of the Integrations page that opened, and click `Install an integration from a descriptor URL`\n3. Select the room(s) you wish to install this integration for\n\n## Deploying to a SaaS or PaaS Host\n\n*Coming Soon...*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrewml%2Fhipchat-code-snippets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrewml%2Fhipchat-code-snippets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrewml%2Fhipchat-code-snippets/lists"}