{"action":"created","issue":{"url":"https://api.github.com/repos/deltachat/deltachat-desktop/issues/54","repository_url":"https://api.github.com/repos/deltachat/deltachat-desktop","labels_url":"https://api.github.com/repos/deltachat/deltachat-desktop/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/deltachat/deltachat-desktop/issues/54/comments","events_url":"https://api.github.com/repos/deltachat/deltachat-desktop/issues/54/events","html_url":"https://github.com/deltachat/deltachat-desktop/issues/54","id":362285215,"node_id":"MDU6SXNzdWUzNjIyODUyMTU=","number":54,"title":"ways to arrange C-core / Electron communication ...","user":{"login":"hpk42","id":73579,"node_id":"MDQ6VXNlcjczNTc5","avatar_url":"https://avatars2.githubusercontent.com/u/73579?v=4","gravatar_id":"","url":"https://api.github.com/users/hpk42","html_url":"https://github.com/hpk42","followers_url":"https://api.github.com/users/hpk42/followers","following_url":"https://api.github.com/users/hpk42/following{/other_user}","gists_url":"https://api.github.com/users/hpk42/gists{/gist_id}","starred_url":"https://api.github.com/users/hpk42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hpk42/subscriptions","organizations_url":"https://api.github.com/users/hpk42/orgs","repos_url":"https://api.github.com/users/hpk42/repos","events_url":"https://api.github.com/users/hpk42/events{/privacy}","received_events_url":"https://api.github.com/users/hpk42/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-20T17:20:10Z","updated_at":"2018-09-20T17:49:01Z","closed_at":null,"author_association":"NONE","body":"hum, i wonder if we could do a \"line-chat\" protocol where the core streams events to some file stream and JS reads it, treating each new line as an event.  wouldn't this remove the need to do tricky c/js/electron business?  you basically say \"dc_set_event_stream(FD)\" and delta writes out one line per event to that FD.  Can electron treat new lines from that FD as events in its eventloop? \r\n\r\nand then on \"DC_EVENT_HTTP_GET\" dcn (the js-deltachat-c layer) writes out to that event stream, and listens to an incoming stream (maybe even polling that). \r\n\r\njust throwing it out -- hope it makes some sense. feel free to try shoot it down :)"},"comment":{"url":"https://api.github.com/repos/deltachat/deltachat-desktop/issues/comments/423273913","html_url":"https://github.com/deltachat/deltachat-desktop/issues/54#issuecomment-423273913","issue_url":"https://api.github.com/repos/deltachat/deltachat-desktop/issues/54","id":423273913,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzI3MzkxMw==","user":{"login":"ralphtheninja","id":308049,"node_id":"MDQ6VXNlcjMwODA0OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/308049?v=4","gravatar_id":"","url":"https://api.github.com/users/ralphtheninja","html_url":"https://github.com/ralphtheninja","followers_url":"https://api.github.com/users/ralphtheninja/followers","following_url":"https://api.github.com/users/ralphtheninja/following{/other_user}","gists_url":"https://api.github.com/users/ralphtheninja/gists{/gist_id}","starred_url":"https://api.github.com/users/ralphtheninja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ralphtheninja/subscriptions","organizations_url":"https://api.github.com/users/ralphtheninja/orgs","repos_url":"https://api.github.com/users/ralphtheninja/repos","events_url":"https://api.github.com/users/ralphtheninja/events{/privacy}","received_events_url":"https://api.github.com/users/ralphtheninja/received_events","type":"User","site_admin":false},"created_at":"2018-09-20T17:49:01Z","updated_at":"2018-09-20T17:49:01Z","author_association":"MEMBER","body":"This would probably work, but would be yet another temporary solution, replacing a temporary solution. So not sure if it's really worth the effort."}}
{"actor":{"display_login":"ralphtheninja"}}