{"action":"created","issue":{"url":"https://api.github.com/repos/observablehq/notebook-runtime/issues/140","repository_url":"https://api.github.com/repos/observablehq/notebook-runtime","labels_url":"https://api.github.com/repos/observablehq/notebook-runtime/issues/140/labels{/name}","comments_url":"https://api.github.com/repos/observablehq/notebook-runtime/issues/140/comments","events_url":"https://api.github.com/repos/observablehq/notebook-runtime/issues/140/events","html_url":"https://github.com/observablehq/notebook-runtime/issues/140","id":363441533,"node_id":"MDU6SXNzdWUzNjM0NDE1MzM=","number":140,"title":"Interactive editing of notebooks with dynamic data sources","user":{"login":"sjdv1982","id":8017841,"node_id":"MDQ6VXNlcjgwMTc4NDE=","avatar_url":"https://avatars1.githubusercontent.com/u/8017841?v=4","gravatar_id":"","url":"https://api.github.com/users/sjdv1982","html_url":"https://github.com/sjdv1982","followers_url":"https://api.github.com/users/sjdv1982/followers","following_url":"https://api.github.com/users/sjdv1982/following{/other_user}","gists_url":"https://api.github.com/users/sjdv1982/gists{/gist_id}","starred_url":"https://api.github.com/users/sjdv1982/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjdv1982/subscriptions","organizations_url":"https://api.github.com/users/sjdv1982/orgs","repos_url":"https://api.github.com/users/sjdv1982/repos","events_url":"https://api.github.com/users/sjdv1982/events{/privacy}","received_events_url":"https://api.github.com/users/sjdv1982/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-25T07:18:49Z","updated_at":"2018-09-25T08:09:52Z","closed_at":null,"author_association":"NONE","body":"First of all, great work! Observable is a fantastic (and potentially paradigm-shifting!) project. \r\nI love that interactive editing is reactive.  And I love that I can embed my notebook and hook it up to dynamic data sources (and data sinks) that are controlled by the embedding page. \r\n\r\nHowever, eventually, I will need to do both at the same time, and this seems to be not possible for the time being. \r\n\r\nIf I understand correctly, Observable consists of two parts: the back-end (Runtime + stdlib + Inspector), which is open-source, and the front-end (interactive web editor, preprocessor (dependency analysis, JS code generation) and REST services for import/download).\r\nIdeally, I would like to embed the entire front-end in my own web page and control its state. Will that be possible at some point in the future? \r\n\r\nIf not, it would be great if dynamic linking to external data sources would be possible. For example, if https://beta.observablehq.com/@user/frontend-notebook?EXTERN=www.mydomain.edu/jobID/ could put \"www.mydomain.edu/jobID\" in ```env[\"EXTERN\"]```, so that cell ```foo``` could poll data from there. This way, I could interactively develop the front-end notebook and my server at mydomain.edu at the same time. I would have multiple open tabs of https://beta.observablehq.com/@user/frontend-notebook, each with a different value of EXTERN, so that I can verify that the front-end works well for various data.\r\nOnce the notebook is done, I would embed it into my own web page mydomain.edu in the standard way, (re-)defining cell ```foo``` as a custom Runtime.variable.\r\n\r\nAre there any long-term plans to make this (or something similar) possible? "},"comment":{"url":"https://api.github.com/repos/observablehq/notebook-runtime/issues/comments/424247175","html_url":"https://github.com/observablehq/notebook-runtime/issues/140#issuecomment-424247175","issue_url":"https://api.github.com/repos/observablehq/notebook-runtime/issues/140","id":424247175,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDI0NzE3NQ==","user":{"login":"sjdv1982","id":8017841,"node_id":"MDQ6VXNlcjgwMTc4NDE=","avatar_url":"https://avatars1.githubusercontent.com/u/8017841?v=4","gravatar_id":"","url":"https://api.github.com/users/sjdv1982","html_url":"https://github.com/sjdv1982","followers_url":"https://api.github.com/users/sjdv1982/followers","following_url":"https://api.github.com/users/sjdv1982/following{/other_user}","gists_url":"https://api.github.com/users/sjdv1982/gists{/gist_id}","starred_url":"https://api.github.com/users/sjdv1982/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjdv1982/subscriptions","organizations_url":"https://api.github.com/users/sjdv1982/orgs","repos_url":"https://api.github.com/users/sjdv1982/repos","events_url":"https://api.github.com/users/sjdv1982/events{/privacy}","received_events_url":"https://api.github.com/users/sjdv1982/received_events","type":"User","site_admin":false},"created_at":"2018-09-25T08:09:52Z","updated_at":"2018-09-25T08:09:52Z","author_association":"NONE","body":"That's great! Thanks a lot for implementing this!\n\nOn Tue, Sep 25, 2018 at 9:59 AM Ilya Belsky <notifications@github.com>\nwrote:\n\n> Try this:\n>\n> extern = new URLSearchParams(html`<a href>`.search).get(\"EXTERN\")\n>\n> It will put \"www.mydomain.edu/jobID\" in extern variable.\n>\n> That feature was released just a few days ago:\n> https://beta.observablehq.com/@observablehq/changelog-2018-09-21\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/observablehq/notebook-runtime/issues/140#issuecomment-424244598>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AHpXsXAI_4AS918GmkicfRxW_wfZO8RCks5ueeJ6gaJpZM4W4Afl>\n> .\n>\n"}}
{"actor":{"display_login":"sjdv1982"}}