{"id":21335151,"url":"https://github.com/pollinations/karma","last_synced_at":"2025-03-16T01:42:30.038Z","repository":{"id":257227429,"uuid":"814819114","full_name":"pollinations/karma","owner":"pollinations","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-15T10:30:20.000Z","size":351,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-10T15:53:02.807Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/pollinations.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}},"created_at":"2024-06-13T19:15:12.000Z","updated_at":"2024-09-15T10:30:23.000Z","dependencies_parsed_at":"2024-09-15T12:25:42.049Z","dependency_job_id":"dd6c37a2-c24a-45f1-ae5f-78648d1ce2db","html_url":"https://github.com/pollinations/karma","commit_stats":null,"previous_names":["pollinations/karma"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pollinations%2Fkarma","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pollinations%2Fkarma/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pollinations%2Fkarma/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pollinations%2Fkarma/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pollinations","download_url":"https://codeload.github.com/pollinations/karma/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243814855,"owners_count":20352037,"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-11-21T23:39:32.981Z","updated_at":"2025-03-16T01:42:30.018Z","avatar_url":"https://github.com/pollinations.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chat with Pollinations.ai 🌟 React Components\n\nThis project showcases the integration of [Next.js](https://nextjs.org) with [Pollinations.ai](https://pollinations.ai) for creating generative content using React components.\n\n## 🚀 Getting Started\n\n![Generative Image](https://image.pollinations.ai/prompt/Visualize%20a%20natural%20scene%20inspired%20by%20the%20concept%20of%20'lotus'%2C%20featuring%20blooming%20lotus%20flowers%20that%20symbolize%20user%20growth.%20Interlace%20futuristic%20codes%20resembling%20the%20Matrix%20and%20TypeScript%2C%20flowing%20like%20a%20stream%20to%20represent%20the%20seamless%20integration%20of%20Next.js%20and%20Pollinations.ai.%20Include%20the%20text%20'karma.pollinations.ai'%20in%20a%20stylish%2C%20modern%20font%2C%20enhancing%20the%20atmosphere%20of%20creativity%20and%20technology.?width=768\u0026height=768\u0026model=flux\u0026seed=18\u0026nologo=true\u0026enhance=false)\n\nFollow these steps to get the project up and running:\n\n1. **Clone the repository**:\n\n    ```bash\n    git clone https://github.com/pollinations/karma\n    cd karma\n    ```\n\n2. **Install dependencies**:\n\n    Choose your preferred package manager:\n\n    ```bash\n    npm install    # or yarn install\n    pnpm install   # or bun install\n    ```\n\n3. **Run the development server**:\n\n    Start the development environment:\n\n    ```bash\n    npm run dev    # or yarn dev\n    pnpm dev       # or bun dev\n    ```\n\n4. **View the project**:\n\n    Open [http://localhost:3000](http://localhost:3000) in your browser to see the application running. You can start modifying the code by editing the `app/page.tsx` file. Changes are reflected automatically.\n\n---\n\n## 🧩 Pollinations.ai Components\n\nTake advantage of Pollinations.ai to generate dynamic content with ease. Here are some examples of the available components:\n\n### `PollinationsText`\n\nThis component generates and displays plain text based on a prompt and seed using the Pollinations API.\n\n```javascript\nimport React from 'react';\nimport { PollinationsText } from '@pollinations/react';\n\nconst TermsAndConditions = () =\u003e (\n  \u003cPollinationsText seed={42}\u003e\n    Write out Pollinations.AI terms and conditions in Chinese.\n  \u003c/PollinationsText\u003e\n);\n\nexport default TermsAndConditions;\n```\n\n### `PollinationsMarkdown`\n\nGenerates and displays markdown-formatted text from a prompt.\n\n```javascript\nimport React from 'react';\nimport { PollinationsMarkdown } from '@pollinations/react';\n\nconst AdSlogan = () =\u003e (\n  \u003cPollinationsMarkdown seed={42}\u003e\n    Create a great advertising slogan with cool formatting about Pollinating in markdown.\n  \u003c/PollinationsMarkdown\u003e\n);\n\nexport default AdSlogan;\n```\n\n### `PollinationsImage`\n\nGenerates and displays an image based on a text prompt and a seed.\n\n```javascript\nimport React from 'react';\nimport { PollinationsImage } from '@pollinations/react';\n\nconst SunsetImage = () =\u003e (\n  \u003cPollinationsImage prompt=\"A beautiful sunset over the ocean\" width={800} height={600} seed={42} /\u003e\n);\n\nexport default SunsetImage;\n```\n\n---\n\n## 💡 Learn More\n\n- Check out [README](https://pollinations.ai/readme) / [KARMA.YT](https://karma.yt)\n\n### Made with ❤️ by pollinations.ai","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpollinations%2Fkarma","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpollinations%2Fkarma","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpollinations%2Fkarma/lists"}