{"id":18256134,"url":"https://github.com/serapath/ghostmodeify","last_synced_at":"2025-04-08T22:26:51.406Z","repository":{"id":66204116,"uuid":"42832529","full_name":"serapath/ghostmodeify","owner":"serapath","description":"my custom watching build pipeline","archived":false,"fork":false,"pushed_at":"2015-09-23T04:16:42.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T03:34:09.086Z","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/serapath.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-09-20T22:44:59.000Z","updated_at":"2015-09-21T19:45:27.000Z","dependencies_parsed_at":"2023-02-20T00:05:25.697Z","dependency_job_id":null,"html_url":"https://github.com/serapath/ghostmodeify","commit_stats":null,"previous_names":["serapath/browsersyncify"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serapath%2Fghostmodeify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serapath%2Fghostmodeify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serapath%2Fghostmodeify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serapath%2Fghostmodeify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/serapath","download_url":"https://codeload.github.com/serapath/ghostmodeify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247937165,"owners_count":21021206,"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-11-05T10:20:09.324Z","updated_at":"2025-04-08T22:26:51.390Z","avatar_url":"https://github.com/serapath.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ghostmodeify\n\n*prepend browsersync-client script tag to bundle.js*\n\nIt will enable `ghost-mode` to synchronize `clicks`, `scrolls`, `location` and 'form' events across connected webviews (browsers, ...)\n\n## Install\n```sh\nnpm install ghostmodeify --save-dev\n```\n\n## Usage\n```js\nvar browserify      = require('browserify')\nvar ghostmodeify  = require('ghostmodeify')\n\nvar b = browserify()\nb.add('/path/to/your/source/file.js')\nb.plugin(ghostmodeify)\nb.bundle().pipe(process.stdout)\n```\nor\n```bash\nnpm install browserify ecstatic -g\necstatic \u0026 browserify index.js -p ghostmodeify \u003e bundle.js\n```\nor\n```bash\nnpm install watchify ecstatic -g\necstatic \u0026 watchify index.js -p ghostmodeify -o bundle.js -dv\n```\nwhere\n```html\n\u003c!-- index.html --\u003e\n\u003cbody\u003e\u003cscript src=\"bundle.js\"\u003e\u003c/script\u003e\u003c/body\u003e\n```\nso that `index.html` is served from `localhost`.\n\n## Roadmap\n* Rewride `ghostmodeify` so that it also works when `index.html` is just opened through \"doubleclick\", which needs a change to `browser-sync`. If you want to help with that, drop me a message \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserapath%2Fghostmodeify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fserapath%2Fghostmodeify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserapath%2Fghostmodeify/lists"}