Code Medium

Code Medium

Extends the Medium writer interface to quickly create and edit Github Gists, without having to leave the editor.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAhUUr0Z4y8DxD5WIezuYeGW3zDZkvGXST+uviv4jtXwkNVZI5XTUrs/pfYoYsOKdnrxkE47/mI+TiumUj7buB1pC+qeWYjVEshDD5Wum6J44RhXmAo7eb1e3u+IG0BmFvQOO+ENtRxIacZ/M8gexGRIlVWJKuRtcLREc7EkwxtWN58fPrWcYsuXfO3NDEkvrSz7hCCNgeVf/y0MKIz7ZRje8Afb1cRa2PtVAFJ2KUFikzghNFyAY8DVmXXZzrvUDbkeKxA/ja2+5TePhVhKBE+DpFGNUBhb1bEi+pl7ysssxFxjdwiW5/9q58JJeh1Mcu1lnoGIVQTspcd5fbioMNNQIDAQAB",
  "manifest_version": 3,
  "minimum_chrome_version": "102",
  "name": "Code Medium",
  "version": "0.6.0",
  "description": "Extends the Medium writer interface to quickly create and edit Github Gists, without having to leave the editor.",
  "icons": {
    "48": "assets/icon.png",
    "128": "assets/icon.png"
  },
  "author": "Manuel Dell'Elce",
  "short_name": "code-medium",
  "background": {
    "service_worker": "background/background.js"
  },
  "action": {
    "default_icon": {
      "19": "assets/icon.png",
      "38": "assets/icon.png"
    }
  },
  "content_scripts": [
    {
      "matches": [
        "https://medium.com/**"
      ],
      "js": [
        "content/content.js"
      ],
      "css": [
        "content/content.css"
      ],
      "run_at": "document_idle"
    },
    {
      "matches": [
        "https://medium.com/media/*"
      ],
      "js": [
        "content/content_iframe.js"
      ],
      "all_frames": true,
      "run_at": "document_idle"
    }
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "app/*.*"
      ],
      "matches": [
        "https://medium.com/*"
      ]
    }
  ],
  "commands": {
    "medium-create-gist": {
      "suggested_key": {
        "default": "Alt+Shift+0"
      },
      "description": "Create a Gist in the Medium Editor"
    }
  },
  "permissions": [
    "identity",
    "storage"
  ],
  "host_permissions": [
    "https://github.com/*",
    "https://gist.github.com/*"
  ]
}