{"id":15830132,"url":"https://github.com/krzema12/hypergravity","last_synced_at":"2025-04-01T13:33:39.067Z","repository":{"id":28244004,"uuid":"115868712","full_name":"krzema12/hypergravity","owner":"krzema12","description":"Gravity simulation in Hyper terminal","archived":false,"fork":false,"pushed_at":"2022-12-06T20:15:18.000Z","size":2663,"stargazers_count":23,"open_issues_count":17,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-12T11:13:53.093Z","etag":null,"topics":["extension","gravity","hyper","physics","plugin"],"latest_commit_sha":null,"homepage":"","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/krzema12.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-12-31T14:52:33.000Z","updated_at":"2023-06-04T06:13:59.000Z","dependencies_parsed_at":"2023-01-14T08:26:41.867Z","dependency_job_id":null,"html_url":"https://github.com/krzema12/hypergravity","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krzema12%2Fhypergravity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krzema12%2Fhypergravity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krzema12%2Fhypergravity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krzema12%2Fhypergravity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krzema12","download_url":"https://codeload.github.com/krzema12/hypergravity/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222728944,"owners_count":17029698,"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":["extension","gravity","hyper","physics","plugin"],"created_at":"2024-10-05T11:04:57.310Z","updated_at":"2024-11-02T15:06:24.362Z","avatar_url":"https://github.com/krzema12.png","language":"JavaScript","readme":"# Hypergravity - gravity simulation in Hyper terminal\n\n![Animated demo](https://user-images.githubusercontent.com/3110813/35337934-d11d8afc-011c-11e8-9131-6c0bf23ec669.gif)\n\n[![npm](https://img.shields.io/npm/dw/hypergravity.svg)](https://www.npmjs.com/package/hypergravity)\n\n## Warning - not compatible with Hyper 2.0+\n\nIt's because Hyper now uses a canvas to draw the whole terminal content, and there's no access to invidual DOM elements like text line, words, etc.\nTracked in issue #20.\n\n## How to install and use it\n\n1. Open `~/.hyper.js` and add `hypergravity` in the proper place:\n```js\n  plugins: [\n    // some other plugins\n    'hypergravity'\n  ],\n```\n2. Run Hyper and press `Command + G` (or `Control + G` on Linux and Windows) to toggle gravity mode!\n\n## How to run it for development\n\n1. Clone the repo to `~/.hyper_plugins/local/hypergravity`\n2. Go to `hypergravity` folder.\n3. Run `yarn` to install the dependencies.\n4. Add this to your `.hyper.js`:\n```js\n  localPlugins: [\n    // maybe some other local plugins\n    'hypergravity'\n  ],\n```\n5. At the beginning and after each change in source files, run `yarn build` to (re)build `index.js` which is in fact loaded by Hyper.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrzema12%2Fhypergravity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrzema12%2Fhypergravity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrzema12%2Fhypergravity/lists"}