open-index/open-npm huggingface dataset:
npm package: @shellybits/v-chacheli
Description: A fancy Vue.js dashboard designer
Author: shellyBits
Latest version: 0.1.1

# @shellybits/v-chacheli

A Vue.js component to create and display custom dashboard-like grid layouts.


'Chacheli', the diminutive of the word 'tile' in Swiss German.

## Getting started

### Development

  * Install dependencies

	```
	$ yarn install
	```

  * Serve with hot reload at localhost:8080

	```
	$ yarn run dev
	```

  * Build for production with minification

	```
	$ yarn run build
	```


### Usage

See `example` for a minimal app using the designer and the layout components.

[Online demo](https://shellybits.gitlab.io/v-chacheli/)


## Documentation

Soon-ish...meanwhile have a look at the example app.


## License

This project is released under the [MIT license](LICENSE).
npm package: @shellybits/vue-i18next
Description: i18next integration for Vue 2.x
Author: Daniel Ritz
Latest version: 0.1.2

# @shellybits/vue-i18next

## Why

"Why? There are already two other packages by that name..so?"

We wanted an i18next integration that fulfills these criteria:

* As small as possible
* Integrates well with Rails, i.e. make it possible to re-use i18n YML files
* Load on demand using webpack's code splitting
* Reactive in Vue


## Usage example

For a Rails application with webpack, Vue, code splitting, dynamically loaded
locales.


  * Dependencies in `package.json`

	```json
	"@shellybits/vue-i18next": "^0.1.2",
	"i18next": "^8.4.3",
	"yml-loader": "^2.1.0"
	```

	This package has only peer dependencies von Vue and i18next, so you have to
	include those yourself.

  * In `webpack.conf.js`:

	```js
	...
	module: {
		rules: [
			{
				test: /\.ya?ml$/,
				loader: 'yml-loader'
			},

			...
		]
	}
	...
	```

  * In the entry or commons file

	```js
	import Vue from 'vue'
	import VueI18Next from '@shellybits/vue-i18next'

	VueI18Next(Vue).init({
		fallbackLng: 'en',
		interpolation: {
			prefix: "${",
			suffix: "}"
		},
		backend: {
			load(language, ns) {
				// delete if you don't have namespaces
				if (ns != 'translation')
					return import(`../../../config/locales/${ns}/${language}.yml`)

				return import(`../../../config/locales/${language}.yml`)
			}
		}
	})
	```

	VueI18Next is just a function, exported by this module. It takes Vue as its
	single argument and returns the `i18next`, set up with a `Promise` based
	backend. This backend needs a `load()` function supplied that returns a
	`Promise`.

	When using the webpack `import` function, the limitations described in the
	webpack documentation apply. Namely it's a string, not an expression. During
	compile time, the above example is basically interpreted as a glob pattern
	`../../../config/locales/*.yml`. For this reason, it's not (easily) possible
	to use a configuration option pointing at the files.

	An alternative to use webpack code splitting and the `yml-loader` is to load
	JSON files by other means like, e.g. using Axios.

  * Translation in Vue components

	In any Vue template, the function `i18next.t` is available as `$t`, and it's
	reactive when the language is changed:

	```vue
	<p>{{ $t('rails.key') }}</p>
	```

	This kinda implies that in Vue JS code, it's accessible as `this.$t`.

  * Loading an additional namespace

	Namespaces can be dynamically loaded. Whenever a translation from a
	namespace is needed:

	```js
	...
	beforeMount() {
		this.$i18n.loadNamespaces('name')
	}
	...
	```

	When executed, the backend will automatically fetch the translation (if
	required) by triggering the supplied `load()` function.

	This also shows that the `i18next` instance is available in each Vue
	instance as `$i18n`.


## License

This project is released under the [MIT license](LICENSE).
npm package: @shelm/wikipedia-mcp-server
Description: MCP server for Wikipedia API interactions
Author: shelm
Latest version: 1.0.1

# Wikipedia MCP Server

An MCP (Model Context Protocol) server for Wikipedia API interactions.

## Overview

This server provides tools for interacting with the Wikipedia API through the Model Context Protocol. It allows AI assistants to access Wikipedia content, search for articles, get historical events, and retrieve images.

## Features

The server provides the following tools:

- **onThisDay**: Get historical events that occurred on a specific date
- **findPage**: Search for Wikipedia pages matching a query
- **getPage**: Get content of a Wikipedia page by title
- **getImagesForPage**: Get images from a Wikipedia page by title

## Installation

```bash
npm install @shelm/wikipedia-mcp-server
```

For development:

```bash
git clone https://github.com/scotthelm/wikipedia-mcp-server.git
cd wikipedia-mcp-server
npm install
npm run build
```

## Usage

### Running the Server

```bash
npx @shelm/wikipedia-mcp-server
```

This will start the MCP server, which communicates over stdio.

### Using Programmatically

You can also use the package programmatically in your own projects:

```javascript
import {
  WikipediaServer,
  isValidOnThisDayArgs,
  isValidFindPageArgs,
  isValidGetPageArgs,
  isValidGetImagesForPageArgs,
} from "@shelm/wikipedia-mcp-server";

// Create a new server instance
const server = new WikipediaServer();

// Run the server
server.run().catch(console.error);

// Or use the validation functions and handlers directly
if (isValidOnThisDayArgs({ date: "2023-01-01" })) {
  const result = await server.handleOnThisDay({ date: "2023-01-01" });
  console.log(result);
}
```

### Example Client

An example client is provided to demonstrate how to interact with the server:

```bash
node example-client.js
```

This will:

1. Start the server
2. Query for available tools
3. Demonstrate each tool with sample queries
4. Display the results in a simple web interface at http://localhost:3000

## Development

### Building

```bash
npm run build
```

### Running in Development Mode

```bash
npm run dev
```

### Testing

This project can be tested manually using the example client:

```bash
node example-client.js
```

This will demonstrate all the available tools with sample queries.

## MCP Server Configuration

To use this server with Claude or other MCP-compatible assistants, add it to your MCP configuration:

```json
{
  "mcpServers": {
    "wikipedia": {
      "command": "npx",
      "args": ["@shelm/wikipedia-mcp-server"],
      "env": {}
    }
  }
}
```

## Attribution

This would not be possible without the great work done by the folks who created the [wikipedia package](https://github.com/dopecodez/wikipedia)

## License

MIT