{"id":18221826,"url":"https://github.com/karlicoss/open-in-editor","last_synced_at":"2026-03-05T09:32:56.414Z","repository":{"id":54264838,"uuid":"268024784","full_name":"karlicoss/open-in-editor","owner":"karlicoss","description":"Script to jump into files in you text editor, from your web browser","archived":false,"fork":false,"pushed_at":"2021-02-28T13:28:33.000Z","size":16,"stargazers_count":13,"open_issues_count":3,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-15T11:58:32.218Z","etag":null,"topics":["editor","emacs","mime","vim","xdg-open"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/karlicoss.png","metadata":{"files":{"readme":"README.org","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}},"created_at":"2020-05-30T06:44:17.000Z","updated_at":"2025-10-28T20:22:25.000Z","dependencies_parsed_at":"2022-08-13T10:21:00.931Z","dependency_job_id":null,"html_url":"https://github.com/karlicoss/open-in-editor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/karlicoss/open-in-editor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karlicoss%2Fopen-in-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karlicoss%2Fopen-in-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karlicoss%2Fopen-in-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karlicoss%2Fopen-in-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/karlicoss","download_url":"https://codeload.github.com/karlicoss/open-in-editor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karlicoss%2Fopen-in-editor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30117713,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T08:19:04.902Z","status":"ssl_error","status_checked_at":"2026-03-05T08:17:37.148Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["editor","emacs","mime","vim","xdg-open"],"created_at":"2024-11-03T22:04:39.253Z","updated_at":"2026-03-05T09:32:56.369Z","avatar_url":"https://github.com/karlicoss.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"#+begin_src python :exports results :results output drawer\nimport open_in_editor\nprint(open_in_editor.__doc__)\n#+end_src\n\n#+RESULTS:\n:results:\n\nThis scripts allows opening your text editor from a link on a webpage/within a browser extension via MIME.\nSee a short [[https://karlicoss.github.io/promnesia-demos/jump_to_editor.webm][demo]].\n\nIt handles URIs like:\n\n:    editor:///path/to/file:123\n:    editor:///path/to/file?line=456\n\nSee =test_parse_uri= for more examples.\n\nTo install (register the MIME handler), run\n\n:   python3 open_in_editor.py --install --editor emacs\n\nSee =--help= for the list of available editors. If you want to add other editors, the code should be easy to follow.\n\nYou can check that it works with\n\n:   xdg-open 'editor:///path/to/some/file'\n\nI haven't found any existing/mature scripts for this, *please let me know if you know of any*! I'd be quite happy to support one less script :)\n\nThe script was tested on *Linux only*! I'd be happy if someone contributes adjustments for OSX.\n\n:end:\n\n* Usage\n\n#+begin_src bash :exports results :results output verbatim\n./open_in_editor.py --help\n#+end_src\n\n#+RESULTS:\n#+begin_example\nusage: open_in_editor.py [-h] [--editor {emacs,vim,gvim,default}] [--install]\n                         [--run-tests]\n                         [uri]\n\npositional arguments:\n  uri                   URI to open + optional line number\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --editor {emacs,vim,gvim,default}\n                        Editor to use. 'default' means using your default GUI\n                        editor (discovered with open/xdg-open)\n  --install             Pass to install (i.g. register MIME in your system)\n  --run-tests           Pass to run unit tests\n#+end_example\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarlicoss%2Fopen-in-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkarlicoss%2Fopen-in-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarlicoss%2Fopen-in-editor/lists"}