{"id":17492943,"url":"https://github.com/mairu/meteor-electrify-client","last_synced_at":"2026-05-01T21:34:01.301Z","repository":{"id":57295833,"uuid":"97452430","full_name":"Mairu/meteor-electrify-client","owner":"Mairu","description":"Client for an electrified meteor application","archived":false,"fork":false,"pushed_at":"2019-03-20T07:17:44.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-29T11:33:43.551Z","etag":null,"topics":["electron","meteor"],"latest_commit_sha":null,"homepage":null,"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/Mairu.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","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-07-17T08:21:31.000Z","updated_at":"2020-08-07T23:37:10.000Z","dependencies_parsed_at":"2022-08-30T19:01:12.647Z","dependency_job_id":null,"html_url":"https://github.com/Mairu/meteor-electrify-client","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Mairu/meteor-electrify-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mairu%2Fmeteor-electrify-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mairu%2Fmeteor-electrify-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mairu%2Fmeteor-electrify-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mairu%2Fmeteor-electrify-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mairu","download_url":"https://codeload.github.com/Mairu/meteor-electrify-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mairu%2Fmeteor-electrify-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278551547,"owners_count":26005397,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["electron","meteor"],"created_at":"2024-10-19T11:08:13.544Z","updated_at":"2025-10-06T03:11:39.015Z","avatar_url":"https://github.com/Mairu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Electrify Meteor Client\n\n[![npm](https://img.shields.io/npm/v/meteor-electrify-client.svg?logo=npm)](https://www.npmjs.com/package/meteor-electrify-client)\n[![dependencies](https://img.shields.io/david/Mairu/meteor-electrify-client.svg)](https://david-dm.org/Mairu/meteor-electrify-client)\n\nThis is the client for communication with the Electron part of an electrified Meteor app,\nthat was created using the meteor-electrify package.\n\n## Integrating the client\n\nAt a startup script (for client and/or server) in your meteor application run the following code.\n\n```javascript\nimport { Meteor } from 'meteor/meteor';\nimport { Random } from 'meteor/random';\nimport { ElectrifyClient } from 'meteor-electrify-client';\n\nexport const Electrify = new ElectrifyClient(Meteor, Random);\n\n// now you can use the Electrify api methods\n```\n\nThe ElectrifyClient constructor can consume an optional options object as 3rd argument with:\n * **connectionWarning (boolean)**\n   \n   Show a warning if the meteor application is run without electrify/Electron.\n   Defaults to true.\n\n## Using the client\n\nThen, in your Meteor code (client and server), you can call this method like:\n\n````javascript\nimport { Electrify } from './file/where/electrify/is/exported.js';\n\n// Electrify.call(method_name, args, done_callback);\nElectrify.call('hello.world', ['anderson', 'arboleya'], function(err, msg) {\n  console.log(msg); // Hello anderson arboleya!\n});\n````\n\n\u003e **IMPORTANT**\n\u003e \n\u003e You can only call methods after the connection is made between Meteor and\n\u003e Electron, to make sure it's ready you can wrap your code in a startup block:\n\u003e \n\u003e ````javascript\n\u003e Electrify.startup(function(){\n\u003e   Electrify.call(...);\n\u003e });\n\u003e ````\n\nIf you want to run your Meteor application electrified and as server version,\nyou can check if it is running inside electron.\n\n```javascript\nif (Electrify.connected) {\n  Electrify.call(...);\n}\n```\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2017-2019 Sebastian Große\nElectrify originally created by Copyright (c) 2015 Anderson Arboleya","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmairu%2Fmeteor-electrify-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmairu%2Fmeteor-electrify-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmairu%2Fmeteor-electrify-client/lists"}