{"id":21169152,"url":"https://github.com/cosmicjs/cosmic-media-extension","last_synced_at":"2025-10-27T20:35:54.423Z","repository":{"id":189825377,"uuid":"671625058","full_name":"cosmicjs/cosmic-media-extension","owner":"cosmicjs","description":"Search millions of high-quality royalty-free stock photos, images, and videos from popular online media services.","archived":false,"fork":false,"pushed_at":"2024-02-14T21:02:36.000Z","size":881,"stargazers_count":48,"open_issues_count":0,"forks_count":8,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-05T05:11:25.620Z","etag":null,"topics":["content-management","developer-tools","media"],"latest_commit_sha":null,"homepage":"https://cosmicmedia.vercel.app","language":"TypeScript","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/cosmicjs.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":"2023-07-27T18:49:24.000Z","updated_at":"2025-03-16T12:07:19.000Z","dependencies_parsed_at":"2023-08-21T23:54:49.422Z","dependency_job_id":null,"html_url":"https://github.com/cosmicjs/cosmic-media-extension","commit_stats":null,"previous_names":["cosmicjs/cosmic-media-extension"],"tags_count":0,"template":false,"template_full_name":"cosmicjs/cosmic-next-template","purl":"pkg:github/cosmicjs/cosmic-media-extension","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmicjs%2Fcosmic-media-extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmicjs%2Fcosmic-media-extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmicjs%2Fcosmic-media-extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmicjs%2Fcosmic-media-extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cosmicjs","download_url":"https://codeload.github.com/cosmicjs/cosmic-media-extension/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmicjs%2Fcosmic-media-extension/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264502387,"owners_count":23618587,"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":["content-management","developer-tools","media"],"created_at":"2024-11-20T15:24:22.308Z","updated_at":"2025-10-27T20:35:49.383Z","avatar_url":"https://github.com/cosmicjs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cosmic Media\n\nSearch millions of high-quality, royalty-free stock photos, videos, images, and vectors from one convenient interface. Includes popular online media services: Unsplash, Pexels, Giphy, and Pixabay as well as OpenAI image generation from prompt. [Try it here](https://cosmicmedia.vercel.app/).\n\n\u003ca href=\"https://cosmicmedia.vercel.app\"\u003e\n  \u003cimg width=\"100%\" alt=\"cosmic-media\" src=\"https://imgix.cosmicjs.com/eee1bf40-3799-11ee-be3f-55e1752361d4-2.png?w=2000\u0026auto=compression\" /\u003e\n\u003c/a\u003e\n\u003ca href=\"https://cosmicmedia.vercel.app\"\u003e\n  \u003cimg width=\"100%\" alt=\"cosmic-media\" src=\"https://imgix.cosmicjs.com/b59dd520-3d4d-11ee-82b2-d53af1858037-cosmic-media.png?w=2000\u0026auto=compression\"/\u003e\n\u003ca/\u003e\n\n## How to use it\nYou can use Cosmic Media to search and download media manually, or you can install it in your [Cosmic](https://www.cosmicjs.com/) project as an extension to save media directly in your project.\n\n\n## How to install in Cosmic\n\n1. [Log in to Cosmic](https://app.cosmicjs.com/login).\n2. Go to _Project \u003e Extensions_.\n3. Find this extension and click \"Install\".\n\n## Service keys\n\nThe deployed app uses default API keys for Unsplash, Giphy, Pexels, Pixaby, and OpenAI. If you run into API rate-limit issues, you can update these to your own keys:\n\n1. `unsplash_key` Register for a key [here](https://unsplash.com/developers).\n2. `pexels_key` Register for a key [here](https://www.pexels.com/api).\n3. `pixabay_key` Register for a key [here](https://pixabay.com/service/about/api)\n4. `openai_key` Register for a key [here](https://platform.openai.com)\n5. `giphy_key` Register for a key [here](https://developers.giphy.com)\n\n### Using service keys\nKeys can be provided to the app in one of the following ways:\n\n1. As query params in the URL. For example: `?unsplash_key=YOUR_UNSPLASH_KEY\u0026pexels_key=YOUR_PEXELS_KEY`\n2. Using the `.env` file. See the `.env.example` file for env var format.\n3. If installed in Cosmic as an extension, go to Cosmic Media extension settings page by going to _Extensions \u003e Cosmic Media \u003e Settings_, find the Query Parameters section and update the following query params to your own keys:\n\n\u003ca href=\"https://app.cosmicjs.com/login\"\u003e\n  \u003cimg width=\"100%\" alt=\"query-params\" src=\"https://imgix.cosmicjs.com/faa928e0-4077-11ee-82b2-d53af1858037-query-params.png?w=2000\u0026auto=compression\"\u003e\n\u003c/a\u003e\n\n## Run locally\n\n```bash\ngit clone https://github.com/cosmicjs/cosmic-media-extension\ncd cosmic-media-extension\nyarn\nyarn dev\n```\n\n## Built with\n- [shadcn/ui](https://github.com/shadcn-ui/ui)\n- Next.js 13 App Directory\n- Radix UI Primitives\n- Tailwind CSS\n- Icons from [Lucide](https://lucide.dev)\n- Dark mode with `next-themes`\n- Tailwind CSS class sorting, merging and linting.\n\n## License\n\nLicensed under the [MIT license](https://github.com/cosmicjs/cosmic-media-extension/blob/main/LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosmicjs%2Fcosmic-media-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcosmicjs%2Fcosmic-media-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosmicjs%2Fcosmic-media-extension/lists"}