{"id":32173566,"url":"https://github.com/jayjun/clipboard","last_synced_at":"2026-02-20T16:01:35.287Z","repository":{"id":46336837,"uuid":"96406044","full_name":"jayjun/clipboard","owner":"jayjun","description":"An Elixir package to copy and paste from system clipboard","archived":false,"fork":false,"pushed_at":"2022-09-18T14:22:19.000Z","size":13,"stargazers_count":35,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-01T08:14:19.855Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/jayjun.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-06T08:18:29.000Z","updated_at":"2025-10-18T14:08:21.000Z","dependencies_parsed_at":"2022-08-29T20:00:46.408Z","dependency_job_id":null,"html_url":"https://github.com/jayjun/clipboard","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jayjun/clipboard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jayjun%2Fclipboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jayjun%2Fclipboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jayjun%2Fclipboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jayjun%2Fclipboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jayjun","download_url":"https://codeload.github.com/jayjun/clipboard/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jayjun%2Fclipboard/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29656589,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T09:27:29.698Z","status":"ssl_error","status_checked_at":"2026-02-20T09:26:12.373Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["hacktoberfest"],"created_at":"2025-10-21T18:58:26.297Z","updated_at":"2026-02-20T16:01:35.273Z","avatar_url":"https://github.com/jayjun.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Clipboard\n\n![](https://github.com/jayjun/clipboard/workflows/CI/badge.svg)\n\nCopy and paste from system clipboard.\n\nSick of `IO.puts(json)` then manually selecting your terminal? Try `Clipboard.copy(json)`!\n\nWraps ports to system-specific utilities responsible for clipboard access. It uses the default\nclipboard utilities on macOS, Linux and Windows but can be configured to call any executable.\n\n## Examples\n\n```elixir\nClipboard.copy(\"Hello, World!\") # Copied to clipboard\n\n\"Hello, World!\"\n|\u003e Clipboard.copy() # Insert into pipelines\n|\u003e business_as_usual()\n\n# And paste too!\ngreeting = Clipboard.paste()\n```\n\n## Options\n\nClipboard uses these utilities by default.\n\n| OS      | Utilities            |\n| ------- | -------------------- |\n| macOS   | `pbcopy` \u0026 `pbpaste` |\n| Linux   | `xclip`              |\n| Windows | `clip`               |\n\nHowever, you can instruct Clipboard to use another command by setting `config.exs`.\n\n```elixir\nconfig :clipboard,\n  unix: [\n    copy: {\"xsel\", [\"-i\"]},\n    paste: {\"xsel\", [\"-o\"]}\n  ]\n```\n\nSupported operating systems are `:macos`, `:unix` and `:windows`.\n\n## Installation\n\nAdd `clipboard` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:clipboard, \"\u003e= 0.0.0\", only: [:dev]}\n  ]\nend\n```\n\nDon’t forget to update your dependencies.\n\n```\n$ mix deps.get\n```\n\n## Caveats\n\nPasting on Windows doesn’t work out of the box because `clip` only supports copying.\n\n## Links\n\n- [Documentation][1]\n- [Hex][2]\n\n## License\n\nClipboard is released under [MIT][3] license.\n\n[1]: https://hexdocs.pm/clipboard/Clipboard.html\n[2]: https://hex.pm/packages/clipboard\n[3]: https://github.com/jayjun/clipboard/blob/master/LICENSE.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjayjun%2Fclipboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjayjun%2Fclipboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjayjun%2Fclipboard/lists"}