{"id":13705024,"url":"https://github.com/mkovatsc/Copper","last_synced_at":"2025-05-05T12:32:56.078Z","repository":{"id":152879596,"uuid":"1467987","full_name":"mkovatsc/Copper","owner":"mkovatsc","description":"Copper (Cu) CoAP user-agent (JavaScript implementation)","archived":false,"fork":false,"pushed_at":"2018-10-18T17:43:50.000Z","size":988,"stargazers_count":94,"open_issues_count":8,"forks_count":43,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-08-03T22:14:16.819Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://people.inf.ethz.ch/mkovatsc/copper.php","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mkovatsc.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}},"created_at":"2011-03-11T13:32:45.000Z","updated_at":"2024-07-31T13:05:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"4cf4c61d-f79b-4910-8b52-b9a7af4d8347","html_url":"https://github.com/mkovatsc/Copper","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkovatsc%2FCopper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkovatsc%2FCopper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkovatsc%2FCopper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkovatsc%2FCopper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkovatsc","download_url":"https://codeload.github.com/mkovatsc/Copper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224448837,"owners_count":17313127,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-08-02T22:00:30.072Z","updated_at":"2024-11-13T12:31:17.908Z","avatar_url":"https://github.com/mkovatsc.png","language":"JavaScript","readme":"Copper (Cu) CoAP user-agent\r\n===========================\r\n\r\nImplements [RFC7252](http://tools.ietf.org/html/rfc7252)\r\n\r\nAlso see [Copper (Cu4Cr)](https://github.com/mkovatsc/Copper4Cr)\r\n\r\n## Not supported by Firefox 56+ / WebExtensions API\r\n\r\nMozilla changed their add-on model to the [WebExtensions API](https://developer.mozilla.org/Add-ons/WebExtensions), which does not allow implementing protocol handlers.\r\n\r\n**Copper cannot be fixed** to work again unless Mozilla changes the internals of Firefox again -- not to the old one, but a safe one that allows for protocol handler add-ons.\r\n\r\n### Alternatives\r\n\r\n* [Copper4Cr](https://github.com/mkovatsc/Copper4Cr): Chrome also uses the WebExtensions API, but has a loophole through [discontinued Apps](https://blog.chromium.org/2016/08/from-chrome-apps-to-web.html) installed in developer mode\r\n* [Californium (Cf) Browser](https://github.com/eclipse/californium.tools/tree/master/cf-browser): Java-based tool, yet without the debug options support\r\n* [Firefox 55 Portable](https://sourceforge.net/projects/portableapps/files/Mozilla%20Firefox%2C%20Portable%20Ed./Mozilla%20Firefox%2C%20Portable%20Edition%2055.0.3/): Downgrade, but only use for add-ons, not browsing...\r\n   1. Ensure to start offline (no Internet connection!) and disable auto updates\r\n   2. Open \u003ca href=\"about:config\"\u003e`about:config`\u003c/a\u003e\r\n   3. Search `browser.tabs.remote.autostart` and `browser.tabs.remote.autostart.2`\r\n   4. Set both to `false`\r\n\r\n## A Firefox add-on to browse the Internet of Things\r\n\r\n### How to integrate the Copper sources into Firefox:\r\n\r\n1. Get the sources from Github: `clone git://github.com/mkovatsc/Copper.git`\r\n2. Add a text file named `copper@vs.inf.ethz.ch` to your extension directory of your profile:\r\n - Windows: `C:\\Users\\\u003cusername\u003e\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\xxxxxxxx.default\\extensions\\`\r\n - Linux: `~/.mozilla/firefox/xxxxxxxx.default/extensions/`\r\n - MacOS: `~/Library/Application Support/Firefox/Profiles/xxxxxxxx.default/extensions/`\r\n3. Write the path to the Copper sources (i.e., the directory that contains `install.rdf` and `chrome.manifest`) with (back)slash at the end to the file (e.g., `D:\\Projects\\Git\\Copper\\`).\r\n4. Since Firefox 43 you need to **allow unsigned add-ons** by opening [about:config](about:config) and setting `xpinstall.signatures.required` to false.\r\n5. Restart Firefox.\r\n6. Optionally use [about:config](about:config) with the filter \"copper\" to clean up old configurations.\r\n\r\nCopper should show up in the add-ons list. You can now enter CoAP URIs (e.g., [coap://californium.eclipse.org/](coap://californium.eclipse.org/)) into the address bar and will have a user interface to interact with the CoAP resources on a server. The detailed log output is available through the rectangular button on the top right, next to the preferences button.\r\n\r\n### See also:\r\n\r\n - [Setting up Extension Development Environment](https://developer.mozilla.org/en/setting_up_extension_development_environment)\r\n - [Firefox Profile Manager](https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles)\r\n \r\n","funding_links":[],"categories":["Tools","Protocol Library","Network and Web Protocols"],"sub_categories":["Browser Plugin","CoAP"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkovatsc%2FCopper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkovatsc%2FCopper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkovatsc%2FCopper/lists"}