{"id":22898596,"url":"https://github.com/jclem/electron-effect","last_synced_at":"2025-04-01T01:53:10.661Z","repository":{"id":265868870,"uuid":"797275340","full_name":"jclem/electron-effect","owner":"jclem","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-17T22:31:52.000Z","size":267,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T10:52:51.192Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/jclem.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-07T14:25:24.000Z","updated_at":"2024-05-07T14:25:34.000Z","dependencies_parsed_at":"2024-12-01T09:43:58.965Z","dependency_job_id":"d70bbc3d-0bc1-4aaa-8181-574096f39b00","html_url":"https://github.com/jclem/electron-effect","commit_stats":null,"previous_names":["jclem/electron-effect"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jclem%2Felectron-effect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jclem%2Felectron-effect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jclem%2Felectron-effect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jclem%2Felectron-effect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jclem","download_url":"https://codeload.github.com/jclem/electron-effect/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246569008,"owners_count":20798341,"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-12-14T00:34:09.503Z","updated_at":"2025-04-01T01:53:10.635Z","avatar_url":"https://github.com/jclem.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Effect / Electron IPC Handlers\n\nThis repository demonstrates a problem that arises when one wants to use\nservices created with Effect inside of Electron IPC handlers, which are event\nlisteners whose callbacks must return a value, and that value is then sent back\nto the renderer process by the Electron runtime.\n\n## Running\n\nNote that I have only tested this on macOS.\n\n```sh\n$ git clone https://github.com/jclem/electron-effect\n$ cd electron-effect\n$ npm install\n$ npm start\n```\n\n## Tour\n\n- `src/main.ts` is the main Electron process. It sets up our Effect program and IPC handlers.\n- `src/renderer.ts` is the renderer process. It sends a message to the main process and logs the response.\n- `src/preload.ts` defines our IPC API.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjclem%2Felectron-effect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjclem%2Felectron-effect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjclem%2Felectron-effect/lists"}