open-index/open-npm huggingface dataset:
npm package: @rendrkit/mcp
Description: MCP server for RendrKit — generate designed images from text
Latest version: 0.3.4

# @rendrkit/mcp

MCP (Model Context Protocol) server for RendrKit. Lets AI assistants like Claude Desktop and Cursor generate professionally designed images via the RendrKit API.

## Installation

### Claude Desktop

Add to your Claude Desktop config (`~/Library/Application Support/Claude/claude_desktop_config.json` on macOS, `%APPDATA%\Claude\claude_desktop_config.json` on Windows):

```json
{
  "mcpServers": {
    "rendrkit": {
      "command": "npx",
      "args": ["-y", "@rendrkit/mcp"],
      "env": {
        "RENDRKIT_API_KEY": "rk_your_api_key_here"
      }
    }
  }
}
```

### Cursor

Add to `.cursor/mcp.json` in your project root:

```json
{
  "mcpServers": {
    "rendrkit": {
      "command": "npx",
      "args": ["-y", "@rendrkit/mcp"],
      "env": {
        "RENDRKIT_API_KEY": "rk_your_api_key_here"
      }
    }
  }
}
```

### Windsurf

Add to your Windsurf MCP config (`~/.codeium/windsurf/mcp_config.json`):

```json
{
  "mcpServers": {
    "rendrkit": {
      "command": "npx",
      "args": ["-y", "@rendrkit/mcp"],
      "env": {
        "RENDRKIT_API_KEY": "rk_your_api_key_here"
      }
    }
  }
}
```

## Available Tools

### generate_image

Generate a professionally designed image from a text description. Creates production-ready images with clean layouts, crisp text, and consistent branding. Perfect for social media posts, banners, OG images, thumbnails, and more.

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `prompt` | string | Yes | Description of the image to generate |
| `size` | string | No | Image dimensions (e.g. `1080x1080`, `1200x628`, `1280x720`) |
| `style` | enum | No | Visual style: `modern`, `playful`, `corporate`, `dark`, `minimal`, `bold` |
| `brand_kit_id` | string | No | ID of a saved brand kit to use for consistent branding |

### get_image

Get details of a previously generated image.

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | The image ID |

### list_brand_kits

List all saved brand kits. Brand kits contain colors, fonts, and logos for consistent image generation. No parameters required.

### get_usage

Check current usage statistics including images generated this month and plan limits. No parameters required.

## Environment Variables

| Variable | Required | Default | Description |
|----------|----------|---------|-------------|
| `RENDRKIT_API_KEY` | Yes | - | Your RendrKit API key (starts with `rk_`) |
| `RENDRKIT_BASE_URL` | No | `https://api.rendrkit.dev` | API base URL (for self-hosted or development) |

## Development

```bash
# Build
npm run build

# Watch mode
npm run dev
```

## License

MIT
npm package: @rene-mueller/n8n-nodes-ics-parser
Description: ics-parser is a node that converts a iCalendar binary to a json-object
Author: René Müller
Latest version: 1.0.0

![Banner image](https://user-images.githubusercontent.com/10284570/173569848-c624317f-42b1-45a6-ab09-f0ea3c247648.png)

# n8n-nodes-ics-parser

This is an n8n community node. It lets you use ics-parser in your n8n workflows.

ics-parser is a node that converts a iCalendar binary to a json-object

[n8n](https://n8n.io/) is a [fair-code licensed](https://docs.n8n.io/reference/license/) workflow automation platform.

[Installation](#installation)  
[Operations](#operations)  
[Compatibility](#compatibility)  
[Resources](#resources)

## Installation

Follow the [installation guide](https://docs.n8n.io/integrations/community-nodes/installation/) in the n8n community nodes documentation.

## Operations

* converts a iCalendar binary to a json-object

## Compatibility

Tested with n8n at Version 0.195.5

## Resources

* [n8n community nodes documentation](https://docs.n8n.io/integrations/community-nodes/)
npm package: @renec-foundation/geoip
Description: A library for getting language from GeoIP in Next.js with LocalStorage fallback
Author: Your Name
Latest version: 1.0.2

# Language Detection Code

This TypeScript code uses [geoip-lite](https://www.npmjs.com/package/geoip-lite) to detect a user's country code from their IP address and map it to a valid language code ("vi" for Vietnamese or "en" for English). It also uses local storage to remember the user's preferred language for future visits.

## Usage

To use this code in your TypeScript project:

1. Install [geoip-lite](https://www.npmjs.com/package/geoip-lite) by running `npm install geoip-lite`.
2. Copy the code into your project, making sure to import the `getPreferredLanguage` function.
3. Call `getPreferredLanguage` to get the user's preferred language code.

## Code Explanation

### Type Definition

The `LanguageCode` type defines the two valid language codes: "vi" for Vietnamese and "en" for English.

### Constants

The `DEFAULT_LANGUAGE` constant specifies the language code to use if no other language is found.

### Functions

- `getLanguageFromStorage()`: This function gets the language from local storage, if it exists. It checks if the language code is valid and returns it, or returns `null` if the language code is invalid or doesn't exist.

- `getLanguageFromIP(ip: string)`: This function gets the language from the user's IP address, using `geoip-lite` to get the user's country code from their IP address. It maps the country code to a language code ("vi" for Vietnam or "en" for other countries). If the country code is unknown or not supported, it returns the default language.

- `getUserIP()`: This function gets the user's IP address from the browser, using a free API. It returns the IP address or `null` if an error occurs.

- `setLanguageToStorage(languageCode: LanguageCode)`: This function sets the language code in local storage.

- `getPreferredLanguage()`: This function gets the user's preferred language, using local storage if available, or falling back to the user's IP address. It first tries to get the language from local storage. If that fails, it tries to get the language from the user's IP address and sets it in local storage for future use. If that also fails, it returns the default language.

## Example

```typescript
import { getPreferredLanguage } from "./languageDetection";

async function example() {
  const language = await getPreferredLanguage();
  console.log(language);
}

example();
```

This code logs the user's preferred language to the console.
npm package: @renec-foundation/lang-provider
Description: A package that contains ReactJS components provide language support
Latest version: 1.1.0

# Language Provider

This package provides a **`LocaleProvider`** and a **`useLocaleContext`** hook that allows you to easily handle language switching in your Next.js application.

## Installation

```bash
npm install --save @renec-foundation/lang-provider
```

or

```bash
yarn add @renec-foundation/lang-provider
```

## Example

```typescript
import {
  LocaleProvider,
  useLocaleContext,
} from "@renec-foundation/lang-provider";

function MyApp({ Component, pageProps }) {
  return (
    <LocaleProvider geoApiUrl={".../api/geo"}>
      <MyLayout>
        <Component {...pageProps} />
      </MyLayout>
    </LocaleProvider>
  );
}

function MyComponent() {
  const { locale, handleLocaleChange } = useLocaleContext();

  return (
    <div>
      <p>Current locale: {locale}</p>
      <button onClick={() => handleLocaleChange("en")}>
        Switch to English
      </button>
      <button onClick={() => handleLocaleChange("fr")}>Switch to French</button>
    </div>
  );
}
```

## Example

### `LocaleProvider`

This is a component that should wrap your entire application. It sets up the **`LocaleContext`** and provides it to all child components.

#### Props

- **`children`** - ReactNode: The child components to render.
- **`geoApiUrl`** - string: The default geo api url (default is "/api/geo").

### `useLocaleContext`

This is a hook that allows you to access the **`LocaleContext`** anywhere in your application.

#### Props

An object containing:

- **`locale`** - - string: The current locale.
- **`handleLocaleChange`** - - (newLocale: string) => void: A function to change the current locale.
npm package: @renec-foundation/metaplex-js
Description: Metaplex JavaScript API
Author: Metaplex Maintainers
Latest version: 0.1.1

# @metaplex/js &middot; [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/metaplex/js/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/@metaplex/js.svg?style=flat)](https://www.npmjs.com/package/@metaplex/js)

🚨 **Deprecated library**

Please note that this library has been archived and is no longer being maintained. To integrate Metaplex's program with your JavaScript applications **please use the new JS SDK**:

- 🐙 [New JS SDK repository](https://github.com/metaplex-foundation/js)
- 📦 [New JS SDK NPM package](https://www.npmjs.com/package/@metaplex-foundation/js)

---

## Stability

[Stability: 1 - Experimental](https://docs.metaplex.com/stability)

> **In Development** - All interfaces are very likely to change very frequently.
Please use caution when making use of this library. Bugs or behavior changes may
surprise users when Experimental API modifications occur.

## Documentation

- [API Docs](https://metaplex-foundation.github.io/js)
- [Guides](https://docs.metaplex.com/sdk/js/getting-started)

## Community

Join our [Discussions](https://github.com/metaplex-foundation/js/discussions)

## Contributing
Visit [Contributing](CONTRIBUTING.md)

## Good First Issues

See the list of starter issues [here](https://github.com/metaplex-foundation/js/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22)