{"id":15107606,"url":"https://github.com/estebanlm/pharo-remoteinterface","last_synced_at":"2026-03-17T23:06:49.827Z","repository":{"id":76083310,"uuid":"583063726","full_name":"estebanlm/pharo-remoteinterface","owner":"estebanlm","description":"The remote interface is a very simple framework to spawn and comunicate pharo processes (images), through the standard IO","archived":false,"fork":false,"pushed_at":"2023-07-10T13:37:15.000Z","size":112,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T15:39:24.975Z","etag":null,"topics":["glib","pharo"],"latest_commit_sha":null,"homepage":"","language":"Smalltalk","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/estebanlm.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-28T16:49:57.000Z","updated_at":"2023-01-20T19:42:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"da31eeef-a91f-4806-9a77-1adfa385075b","html_url":"https://github.com/estebanlm/pharo-remoteinterface","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/estebanlm/pharo-remoteinterface","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estebanlm%2Fpharo-remoteinterface","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estebanlm%2Fpharo-remoteinterface/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estebanlm%2Fpharo-remoteinterface/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estebanlm%2Fpharo-remoteinterface/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/estebanlm","download_url":"https://codeload.github.com/estebanlm/pharo-remoteinterface/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estebanlm%2Fpharo-remoteinterface/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30635156,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T22:38:22.569Z","status":"ssl_error","status_checked_at":"2026-03-17T22:38:11.804Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["glib","pharo"],"created_at":"2024-09-25T21:40:28.939Z","updated_at":"2026-03-17T23:06:49.812Z","avatar_url":"https://github.com/estebanlm.png","language":"Smalltalk","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pharo Remote Interface\n\nThe Pharo Remote Interface (RI) is a very simple framework to spawn and comunicate pharo processes (images), using the standard IO files and STON ([Smalltalk Object Notation](https://github.com/svenvc/ston)) as communicating pipes.\n\n[![CI](https://github.com/estebanlm/pharo-remoteinterface/actions/workflows/runTests.yml/badge.svg)](https://github.com/estebanlm/pharo-remoteinterface/actions/workflows/runTests.yml)\n\nThe RI package uses the GIO functionality present in Glib ([bindings can be found here](https://github.com/pharo-spec/gtk-bindings)) to spawn and communicate process.\n\n## Install\n\n```Smalltalk\nMetacello new\n\trepository: 'github://estebanlm/pharo-remoteinterface';\n\tbaseline: 'PharoRI';\n\tload.\n```\n\n## Usage\n\nThe easiest way to use it is just executing:\n\n```Smalltalk\nrunner := RmRemoteRunner new.\nrunner spawn.\n```\n\nand then you can execute commands synchronously: \n\n```Smalltalk\nrunner runCommand: [ 42 factorial ]\n```\n\nor asynchronously: \n\n```Smalltalk\nrunner \n\trunCommand: [ 42 factorial ]\n\tonSuccess: [ :result | result inspect ]\n```\n\n**IMPORTANT:** The blocks passed to the spawned image need to be \"clean blocks\", for obvious reasons they can't have references to `self`, `super` or local variables.  \n\n## Monitoring the remote image\n\nThere is a small tool that help to monitor what happens in the spawned image, you can open it by executing: \n\n```Smalltalk\nRmRunnerMonitorPresenter open.\n```\n\nTo use it, you need first to enable the logging on the remote image: \n\n```Smalltalk\nrunner listenToLog.\n```\n\n## Using PharoRI for testing\n\nTODO\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Festebanlm%2Fpharo-remoteinterface","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Festebanlm%2Fpharo-remoteinterface","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Festebanlm%2Fpharo-remoteinterface/lists"}