{"id":16476214,"url":"https://github.com/softprops/opener","last_synced_at":"2026-05-11T08:56:18.759Z","repository":{"id":9991459,"uuid":"12022586","full_name":"softprops/opener","owner":"softprops","description":"everyone loves a good opener","archived":false,"fork":false,"pushed_at":"2014-08-11T00:38:26.000Z","size":152,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-11T05:46:39.813Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Scala","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/softprops.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}},"created_at":"2013-08-10T15:32:02.000Z","updated_at":"2021-03-19T20:38:37.000Z","dependencies_parsed_at":"2022-09-19T05:02:02.059Z","dependency_job_id":null,"html_url":"https://github.com/softprops/opener","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softprops%2Fopener","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softprops%2Fopener/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softprops%2Fopener/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softprops%2Fopener/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/softprops","download_url":"https://codeload.github.com/softprops/opener/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241144812,"owners_count":19917357,"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-10-11T12:41:48.330Z","updated_at":"2026-05-11T08:56:18.713Z","avatar_url":"https://github.com/softprops.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# opener\n\n\u003e open with something good\n\nOpener provides interfaces for opening files and URI's on your desktop using this [tool](http://docs.oracle.com/javase/6/docs/api/java/awt/Desktop.html) which may or may not be available depending on your environment. When it's not, that's okay too.\n\n## install\n\nVia the copy and paste method\n\n```scala\nresolvers += \"softprops-maven\" at \"http://dl.bintray.com/content/softprops/maven\"\n\nlibraryDependencies += \"me.lessis\" %% \"opener\" % \"0.1.0\"\n```\n\nVia [a more civilized method](https://github.com/softprops/ls#readme) which will do the same without all the manual work.\n\n    \u003e ls-install opener\n\nNote. If you are a [bintray-sbt](https://github.com/softprops/bintray-sbt#readme) user you can optionally specify the resolver as\n\n```scala\nresolvers += bintray.Opts.resolver.repo(\"softprops\", \"maven\")\n```\n\n## usage\n\nEach operation is exposed as an object with an apply for the type of input the operation expects. You can open with `opener.Browse`, `opener.Edit`, `opener.Mail`, and `opener.Open`. Each operation returns a `scala.util.Try` of the attempted operation. A few examples are given below.\n\nOpen this projects readme on github.com\n\n```scala\nopener.Browse(new java.net.URI(\"https://github.com/softprops/opener#readme\"))\n```\n\nTell your mom how much you miss her using a service that she'll understand ( email )\n\n```scala\nopener.Mail(new java.net.URI(\"mailto:mom@gmail.com?subject=hi%20mom\u0026body=miss%20you\"))\n```\n\nDoug Tangren (softprops) 2013\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftprops%2Fopener","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoftprops%2Fopener","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftprops%2Fopener/lists"}