{"id":26776974,"url":"https://github.com/mnkyarts/godrays-vue","last_synced_at":"2026-02-06T06:32:48.738Z","repository":{"id":269217337,"uuid":"906757036","full_name":"MnkyArts/godrays-vue","owner":"MnkyArts","description":" stunning and customizable God Rays (Light Rays) effect component for Vue applications.","archived":false,"fork":false,"pushed_at":"2024-12-21T20:51:58.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-22T12:37:46.974Z","etag":null,"topics":["animation","component","effects","godrays","lightrays","vue"],"latest_commit_sha":null,"homepage":"","language":"GLSL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MnkyArts.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2024-12-21T20:15:30.000Z","updated_at":"2024-12-21T21:25:29.000Z","dependencies_parsed_at":"2024-12-21T20:44:58.822Z","dependency_job_id":"d7825f5d-71f8-4212-80f0-dbca1c86c1db","html_url":"https://github.com/MnkyArts/godrays-vue","commit_stats":null,"previous_names":["mnkyarts/godrays-vue"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MnkyArts/godrays-vue","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MnkyArts%2Fgodrays-vue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MnkyArts%2Fgodrays-vue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MnkyArts%2Fgodrays-vue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MnkyArts%2Fgodrays-vue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MnkyArts","download_url":"https://codeload.github.com/MnkyArts/godrays-vue/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MnkyArts%2Fgodrays-vue/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29153863,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T02:39:25.012Z","status":"ssl_error","status_checked_at":"2026-02-06T02:37:22.784Z","response_time":59,"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":["animation","component","effects","godrays","lightrays","vue"],"created_at":"2025-03-29T04:37:25.025Z","updated_at":"2026-02-06T06:32:48.714Z","avatar_url":"https://github.com/MnkyArts.png","language":"GLSL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vue GodRays Component 🌟\n\n![GodRays Effect Demo](https://i.imgur.com/cBGQcKv.gif)\n\nA stunning and customizable God Rays (Light Rays) effect component for Vue applications. Create atmospheric lighting effects with ease, perfect for adding dramatic flair to your web projects.\n\n\u003e This component is a Vue implementation inspired by and based on the original [Framer University](https://framer.university/) [Light Rays](https://framer.university/resources/light-rays-component-for-framer) component. Special thanks to Framer University for their excellent original work.\n\n## ✨ Features\n\n- 🎨 Multiple color modes (single, multi, random)\n- ⚡ Smooth animation controls\n- 🎛️ Fully customizable rays (count, reach, intensity)\n- 📱 Responsive design\n- 🎯 Precise positioning control\n- 🎨 Custom background color support\n\n## 📦 Installation\n\n```bash\nnpm install vue-godrays\n# or\nyarn add vue-godrays\n```\n\n## 🚀 Quick Start\n\n```vue\n\u003ctemplate\u003e\n  \u003cGodRays\n    :animation=\"{ animate: true, speed: 1 }\"\n    :raysColor=\"{ mode: 'single', color: '#ffffff' }\"\n    :intensity=\"0.8\"\n    :rays=\"20\"\n  /\u003e\n\u003c/template\u003e\n\n\u003cscript\u003e\nimport { GodRays } from \"vue-godrays\";\n\nexport default {\n  components: {\n    GodRays,\n  },\n};\n\u003c/script\u003e\n```\n\n## 🎮 Props\n\n| Prop              | Type     | Default                                | Description                          |\n| ----------------- | -------- | -------------------------------------- | ------------------------------------ |\n| `animation`       | `Object` | `{ animate: true, speed: 1 }`          | Controls animation state and speed   |\n| `raysColor`       | `Object` | `{ mode: 'single', color: '#ffffff' }` | Defines ray coloring mode and colors |\n| `backgroundColor` | `string` | `'#000000'`                            | Background color of the component    |\n| `intensity`       | `number` | `0.7`                                  | Intensity of the rays (0.0 - 1.0)    |\n| `rays`            | `number` | `15`                                   | Number of light rays                 |\n| `reach`           | `number` | `1`                                    | How far the rays extend              |\n| `position`        | `number` | `50`                                   | Center position of rays (0 - 100)    |\n| `radius`          | `string` | `'50%'`                                | Radius of the light source           |\n| `style`           | `Object` | `{}`                                   | Additional CSS styles                |\n\n### 🎨 Color Modes\n\nThe component supports three color modes through the `raysColor` prop:\n\n1. **Single Color Mode**\n\n```javascript\n:raysColor=\"{ mode: 'single', color: '#ffffff' }\"\n```\n\n2. **Multi Color Mode**\n\n```javascript\n:raysColor=\"{\n  mode: 'multi',\n  color1: '#ff0000',\n  color2: '#00ff00'\n}\"\n```\n\n3. **Random Color Mode**\n\n```javascript\n:raysColor=\"{ mode: 'random' }\"\n```\n\n## 🎯 Examples\n\n### Basic Usage\n\n```vue\n\u003cGodRays\n  :animation=\"{ animate: true, speed: 1 }\"\n  :raysColor=\"{ mode: 'single', color: '#ffffff' }\"\n  :intensity=\"0.8\"\n  :rays=\"20\"\n/\u003e\n```\n\n### Dramatic Effect\n\n```vue\n\u003cGodRays\n  :animation=\"{ animate: true, speed: 0.5 }\"\n  :raysColor=\"{ mode: 'multi', color1: '#ff0000', color2: '#ffd700' }\"\n  :intensity=\"1\"\n  :rays=\"30\"\n  :reach=\"1.5\"\n  backgroundColor=\"#000000\"\n/\u003e\n```\n\n### Subtle Background Effect\n\n```vue\n\u003cGodRays\n  :animation=\"{ animate: true, speed: 0.3 }\"\n  :raysColor=\"{ mode: 'single', color: '#4a90e2' }\"\n  :intensity=\"0.4\"\n  :rays=\"15\"\n  :reach=\"0.8\"\n  backgroundColor=\"rgba(0,0,0,0.8)\"\n/\u003e\n```\n\n## 🛠️ TypeScript Support\n\nThe component includes full TypeScript support with the following interface:\n\n```typescript\nexport interface GodRaysProps {\n  animation?: {\n    animate: boolean;\n    speed: number;\n  };\n  raysColor?: {\n    mode: \"single\" | \"multi\" | \"random\";\n    color?: string;\n    color1?: string;\n    color2?: string;\n  };\n  backgroundColor?: string;\n  intensity?: number;\n  rays?: number;\n  reach?: number;\n  position?: number;\n  radius?: string;\n  style?: Record\u003cstring, string | number\u003e;\n}\n```\n\n## 🤝 Contributing\n\nContributions, issues, and feature requests are welcome! Feel free to check the [issues page](link-to-issues).\n\n## 📝 License\n\nMIT License - feel free to use this component in your projects!\n\n## 🙏 Credits\n\n- Original concept and design by [Framer University](https://framer.university/)\n- Vue implementation developed with ❤️ by Liam Robinson\n\n---\n\nIf you find this component useful, please consider giving it a ⭐️ on GitHub!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmnkyarts%2Fgodrays-vue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmnkyarts%2Fgodrays-vue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmnkyarts%2Fgodrays-vue/lists"}