{"id":15914903,"url":"https://github.com/san650/desktop_url_file","last_synced_at":"2026-03-14T12:39:52.925Z","repository":{"id":70307665,"uuid":"142226221","full_name":"san650/desktop_url_file","owner":"san650","description":"Elixir library for generating desktop url files that points to websites. These files are supported by Windows and OSX operating systems.","archived":false,"fork":false,"pushed_at":"2018-07-25T00:30:59.000Z","size":4,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-01T20:11:12.816Z","etag":null,"topics":["desktop","elixir","links"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/san650.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-25T00:23:55.000Z","updated_at":"2018-07-25T13:29:14.000Z","dependencies_parsed_at":"2023-02-25T03:00:15.210Z","dependency_job_id":null,"html_url":"https://github.com/san650/desktop_url_file","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/san650%2Fdesktop_url_file","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/san650%2Fdesktop_url_file/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/san650%2Fdesktop_url_file/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/san650%2Fdesktop_url_file/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/san650","download_url":"https://codeload.github.com/san650/desktop_url_file/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244257252,"owners_count":20424131,"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":["desktop","elixir","links"],"created_at":"2024-10-06T17:20:34.754Z","updated_at":"2026-03-14T12:39:52.880Z","avatar_url":"https://github.com/san650.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DesktopUrlFile\n\nElixir library for generating desktop url files that points to websites. These files are supported by Windows and OSX operating systems.\n\n## Synopsis\n\n```elixir\nDesktopUrlFile.make(\"https://github.com/san650/desktop_url_file#readme\")\n{:ok,\n\"\"\"\n[InternetShortcut]\nURL=https://github.com/desktop_url_file#readme\n\"\"\"\n}\n```\n\n## Integrating with Plug\n\n```elixir\n\ndef create(conn, _params) do\n  conn\n  |\u003e send_desktop_url_file(\"documentation.pdf.url\", \"https://example.com/documentation.pdf\")\nend\n\ndef send_desktop_url_file(conn, file_name, url) do\n  conn\n  |\u003e put_resp_content_type(DesktopUrlFile.mime)\n  |\u003e put_resp_header(\"Content-Disposition\", \"attachment; filename=#{file_name}\")\n  |\u003e send_resp(200, DesktopUrlFile.make(url))\nend\n```\n\n## Installation\n\nAdd `desktop_url_file` to your `mix.exs` deps:\n\n```elixir\ndef deps do\n  [{:desktop_url_file, \"~\u003e 0.1.0\"}]\nend\n```\n\n## License\n\ndesktop_url_file is licensed under the MIT license.\n\nSee [LICENSE](./LICENSE) for the full license text.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsan650%2Fdesktop_url_file","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsan650%2Fdesktop_url_file","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsan650%2Fdesktop_url_file/lists"}