{"html_url": "https://github.com/simonw/datasette/issues/401#issuecomment-455445069", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/401", "id": 455445069, "node_id": "MDEyOklzc3VlQ29tbWVudDQ1NTQ0NTA2OQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-01-18T06:49:07Z", "updated_at": "2019-01-18T06:49:07Z", "author_association": "OWNER", "body": "I've released a new version of the datasette-cluster-map plugin to illustrate how plugin configuration can work: https://github.com/simonw/datasette-cluster-map/commit/fcc86c450e3df3e6b81c41f31df458923181527a", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 400229984, "label": "How to pass configuration to plugins?"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/401#issuecomment-455520561", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/401", "id": 455520561, "node_id": "MDEyOklzc3VlQ29tbWVudDQ1NTUyMDU2MQ==", "user": {"value": 1055831, "label": "dazzag24"}, "created_at": "2019-01-18T11:48:13Z", "updated_at": "2019-01-18T11:48:13Z", "author_association": "NONE", "body": "Thanks. I'll take a look at your changes.\r\nI must admit I was struggling to see how to pass info from the python code in __init__.py into the javascript document.addEventListener function.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 400229984, "label": "How to pass configuration to plugins?"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/403#issuecomment-455445392", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/403", "id": 455445392, "node_id": "MDEyOklzc3VlQ29tbWVudDQ1NTQ0NTM5Mg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-01-18T06:51:14Z", "updated_at": "2019-01-18T06:51:14Z", "author_association": "OWNER", "body": "I talk about that a bit here: https://simonwillison.net/2018/Oct/4/datasette-ideas/#Bundling_the_data_with_the_code\r\n\r\nOne of the key ideas behind Datasette is that if your data is read-only you can package it up with the rest of your code - so the normal limitations that apply with hosting services like now.sh no longer prevent you from including a database. The SQLite database is just another static binary file that gets packaged up as part of your deployment.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 400511206, "label": "How does persistence work?"}, "performed_via_github_app": null}