open-index/open-npm huggingface dataset:
npm package: @hoodie/account
Description: Hoodie Account core module
Author: The Hoodie Community and other contributors | http://hood.ie/
Latest version: 2.1.1

# hoodie-account

> Hoodie Account core module

[![Build Status](https://travis-ci.org/hoodiehq/hoodie-account.svg?branch=master)](https://travis-ci.org/hoodiehq/hoodie-account)
[![Dependency Status](https://david-dm.org/hoodiehq/hoodie-account.svg)](https://david-dm.org/hoodiehq/hoodie-account)
[![devDependency Status](https://david-dm.org/hoodiehq/hoodie-account/dev-status.svg)](https://david-dm.org/hoodiehq/hoodie-account#info=devDependencies)

`hoodie-account` combines [account-client](https://github.com/hoodiehq/hoodie-account-client),
[account-server](https://github.com/hoodiehq/hoodie-account-server) and
exposes a generic account UI.

## Usage

Start the demo server

```
npm start
```

If you want to use the account module as plugin of your [Hapi](http://hapijs.com/)
server, check out [example/index.js](exmaple/index.js) to see how to register
the [account-server](https://github.com/hoodiehq/hoodie-account-server) and how
to bundle and server the [account-client](https://github.com/hoodiehq/hoodie-account-client)

## Testing

Local setup

```
git clone https://github.com/hoodiehq/hoodie-account.git
cd hoodie-account
npm install
```

Run end-to-end tests with selenium

```
npm test
```

## Contributing

Have a look at the Hoodie project's [contribution guidelines](https://github.com/hoodiehq/hoodie/blob/master/CONTRIBUTING.md).
If you want to hang out you can join our [Hoodie Community Chat](http://hood.ie/chat/).

## License

[Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0)
npm package: @hoodie/account-server
Description: Account JSON API backed by PouchDB
Author: The Hoodie Community and other contributors | http://hood.ie/
Latest version: 6.1.5

# hoodie-account-server

> Account JSON API backed by PouchDB

[![Build Status](https://api.travis-ci.org/hoodiehq/hoodie-account-server.svg?branch=master)](https://travis-ci.org/hoodiehq/hoodie-account-server)
[![Coverage Status](https://coveralls.io/repos/hoodiehq/hoodie-account-server/badge.svg?branch=master)](https://coveralls.io/github/hoodiehq/hoodie-account-server?branch=master)
[![Dependency Status](https://david-dm.org/hoodiehq/hoodie-account-server.svg)](https://david-dm.org/hoodiehq/hoodie-account-server)
[![devDependency Status](https://david-dm.org/hoodiehq/hoodie-account-server/dev-status.svg)](https://david-dm.org/hoodiehq/hoodie-account-server#info=devDependencies)

`hoodie-account-server` is a [Hapi](http://hapijs.com/) plugin that implements
the [Account JSON API](http://docs.accountjsonapi.apiary.io) routes and exposes
a corresponding API at `server.plugins.account.api.*`, persisting user accounts
using [PouchDB](https://pouchdb.com).

## Example

```js
var Hapi = require('hapi')
var PouchDB = require('PouchDB')
var hapiAccount = require('@hoodie/account-server')

var options = {
  PouchDB: PouchDB,
  admins: {
    admin: '-pbkdf2-a2ca9d3ee921c26d2e9d61e03a0801b11b8725c6,1081b31861bd1e91611341da16c11c16a12c13718d1f712e,10'
  },
  secret: 'secret123'
})

server.register({register: hapiAccount, options: options}, function (error) {})
server.connection({ port: 8000 })
server.start(function () {
  console.log('Server running at %s', server.info.uri)
})
```

## More

- [Plugin & Options](plugin/README.md)
- [Routes](routes/README.md)
- [How it works](how-it-works.md)
- [Testing](tests/README.md)

## Contributing

Have a look at the Hoodie project's [contribution guidelines](https://github.com/hoodiehq/hoodie/blob/master/CONTRIBUTING.md).
If you want to hang out you can join our [Hoodie Community Chat](http://hood.ie/chat/).

## License

[Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0)
npm package: @hoodie/admin
Description: Hoodie Admin core module
Author: The Hoodie Community and other contributors | http://hood.ie/
Latest version: 1.3.2

# hoodie-admin

> Hoodie Admin core module

[![Build Status](https://travis-ci.org/hoodiehq/hoodie-admin.svg?branch=master)](https://travis-ci.org/hoodiehq/hoodie-admin)
[![Dependency Status](https://david-dm.org/hoodiehq/hoodie-admin.svg)](https://david-dm.org/hoodiehq/hoodie-admin)
[![devDependency Status](https://david-dm.org/hoodiehq/hoodie-admin/dev-status.svg)](https://david-dm.org/hoodiehq/hoodie-admin#info=devDependencies)

This is the admin UI for [Hoodie](http://hood.ie) applications. It’s build with
[Ember.js](http://emberjs.com/) and embraces Ember’s convention above Hoodie’s
to make it as natural for Ember developers to contribute to it as possible.

## Prerequisites

You will need the following things properly installed on your computer.

* [Git](http://git-scm.com/)
* [Node.js](http://nodejs.org/) (with NPM)
* [Bower](http://bower.io/)
* [Ember CLI](http://ember-cli.com/)
* [PhantomJS](http://phantomjs.org/)

## Installation

* `git clone <repository-url>` this repository
* change into the new directory
* `npm install`
* `bower install`

## Running / Development

* `ember server`
* Visit your app at [http://localhost:4200](http://localhost:4200).

### Code Generators

Make use of the many generators for code, try `ember help generate` for more details

### Running Tests

* `ember test`
* `ember test --server`

### Building

* `ember build` (development)
* `ember build --environment production` (production)

### Deploying

Specify what it takes to deploy your app.

## Further Reading / Useful Links

* [ember.js](http://emberjs.com/)
* [ember-cli](http://ember-cli.com/)
* Development Browser Extensions
  * [ember inspector for chrome](https://chrome.google.com/webstore/detail/ember-inspector/bmdblncegkenkacieihfhpjfppoconhi)
  * [ember inspector for firefox](https://addons.mozilla.org/en-US/firefox/addon/ember-inspector/)

## Contributing

Have a look at the Hoodie project's [contribution guidelines](https://github.com/hoodiehq/hoodie/blob/master/CONTRIBUTING.md).
If you want to hang out you can join our [Hoodie Community Chat](http://hood.ie/chat/).

## License

[Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0)
npm package: @hoodie/admin-client
Description: Client Admin API for the Hoodie server
Author: The Hoodie Community and other contributors | http://hood.ie/
Latest version: 2.0.1

# hoodie-admin-client

> Client Admin API for the Hoodie server

[![Build Status](https://travis-ci.org/hoodiehq/hoodie-admin-client.svg?branch=master)](https://travis-ci.org/hoodiehq/hoodie-admin-client)
[![Coverage Status](https://coveralls.io/repos/hoodiehq/hoodie-admin-client/badge.svg?branch=master)](https://coveralls.io/r/hoodiehq/hoodie-admin-client?branch=master)
[![Dependency Status](https://david-dm.org/hoodiehq/hoodie-admin-client.svg)](https://david-dm.org/hoodiehq/hoodie-admin-client)
[![devDependency Status](https://david-dm.org/hoodiehq/hoodie-admin-client/dev-status.svg)](https://david-dm.org/hoodiehq/hoodie-admin-client#info=devDependencies)

`hoodie-admin-client` is currently a simple wrapper around the [Hoodie Account’s
admin client](https://github.com/hoodiehq/hoodie-account-client/tree/master/admin).

We plan to add APIs to access users’ data and make the Hoodie Admin Client
extendable as the Hoodie Client, but there was no need for yet.

## Example

```js
var HoodieAdmin = require('@hoodie/admin-client')
var admin = new HoodieAdmin()

if (!admin.isSignedIn()) {
  renderLogin()
} else {
  admin.accounts.findAll().then(renderAccounts)
}

admin.accounts.on('change', renderAccounts)
```

## API

Same as [AccountAdmin API](https://github.com/hoodiehq/hoodie-account-client/tree/master/admin).
Only difference is that `options.url` defaults to `location.origin` and `AccountAdmin`
gets initialised with `options.url + '/hoodie/account/api'`.

## Testing

Local setup

```
git clone https://github.com/hoodiehq/hoodie-admin-client.git
cd hoodie-admin-client
npm install
```

Run all tests

```
npm test
```

## Contributing

Have a look at the Hoodie project's [contribution guidelines](https://github.com/hoodiehq/hoodie/blob/master/CONTRIBUTING.md).
If you want to hang out you can join our [Hoodie Community Chat](http://hood.ie/chat/).

## License

[Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0)
npm package: @hoodie/bundle-bump-bot
Description: automatically bump the top level module when a hoodie component has a new version
Author: Stephan Bönnemann
Latest version: 1.3.0

# @hoodie/bundle-bump-bot

> automatically bump the top level module when a hoodie component has a new version

`npm i -D @hoodie/bundle-bump-bot`

Add this to the package.json of a top-level hoodie-component like hoodie-server, or hoodie-client:

```json
"scripts": {
  "postsemantic-release": "bundle-bump-bot"
}
```
npm package: @hoodie/dev-top-level
Description: Hoodie enables you to express yourself through technology by making web app development very fast, easy and accessible.
Author: The Hoodie Community
Latest version: 2.2.0

# Welcome to Hoodie 🎉

<img src="https://avatars1.githubusercontent.com/u/1888826?v=3&s=200"
 alt="The Low-Profile Dog Hoodie Mascot" title="The Low-Profile Dog Hoodie Mascot" align="right" />

> A very promising open-source library for building offline-first apps.
> — Smashing Magazine 

> The Hoodie team is one of the nicest and welcoming that I’ve ever known.
> — Katrin Apel 

> ❤ Hood.ie - a fast offline-first architecture for webapps. Super-simple user management & storage. Great for mobile.
> — Addy Osmani 

[![Join our Chat](https://img.shields.io/badge/Chat-IRC%20or%20Slack-blue.svg)](http://hood.ie/chat)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)

[![Build Status](https://travis-ci.org/hoodiehq/hoodie.svg?branch=master)](https://travis-ci.org/hoodiehq/hoodie)
[![Dependency Status](https://david-dm.org/hoodiehq/hoodie.svg)](https://david-dm.org/hoodiehq/hoodie)
[![devDependency Status](https://david-dm.org/hoodiehq/hoodie/dev-status.svg)](https://david-dm.org/hoodiehq/hoodie#info=devDependencies)

## Installation

`npm install --save @hoodie/dev-top-level`

_Note: In the future this will be `npm install --save hoodie`, but this is a temporary developer preview name._

Add this to your `package.json`:

```json
"scripts": {
  "start": "hoodie"
},
"hoodie": {
  "plugins": [
    "hoodie-plugin-appconfig",
    "hoodie-plugin-email",
    "hoodie-plugin-users"
  ]
}
```

That's it! Running `npm start` will now serve a hoodie-app from your `www` folder.

Run `npm start -- --help` to see more options.

## Why is there no code in this repo?

Hoodie consists of many components that are bundled and tested in this top-level module.

If you want to read or contribute to the source-code you can get to it in the individual repos.

### Core Components

- [**server**](https://github.com/hoodiehq/hoodie-server)
- [**client**](https://github.com/hoodiehq/hoodie.js)
- [**admin-dashboard**](https://github.com/hoodiehq/hoodie-admin-dashboard)

### Core Plugins

- [**plugin-appconfig**](https://github.com/hoodiehq/hoodie-plugin-appconfig)
- [**plugin-email**](https://github.com/hoodiehq/hoodie-plugin-email)
- [**plugin-users**](https://github.com/hoodiehq/hoodie-plugin-users)

## Development

Please note that you need to run a Selenium Standalone Server if you're running the tests locally. You can download it on the [project's website](http://www.seleniumhq.org/download/).

`java -jar selenium-server-standalone-2.46.0.jar`

Once Selenium is running you can execute `npm test` in another terminal tab.

## License

[Apache 2.0](LICENSE)
npm package: @hoodie/plugin-hello-world
Description: A sample Hoodie plugin
Author: The Hoodie Community
Latest version: 1.0.0

# hoodie-plugin-hello-world

> A sample Hoodie plugin

This Hoodie plugin is a great starting point if you want to create an own Hoodie
plugin. It extends the `hoodie` client API, it defines a server route and a UI
which can be accessed at `/hoodie/hello-world`.

## Usage

First, install the plugin as dependency of your Hoodie app

```js
npm install --save @hoodie/plugin-hello-world
```

Then add it the `hoodie.plugins` array in your app’s `package.json` file.
If you like, you can change the default greeting and name in
`hoodie.app.helloWorld.greeting` and `hoodie.app.helloWorld.name`.

```json
{
  "name": "your-hoodie-app",
  ...
  "hoodie": {
    "plugins": ["@hoodie/plugin-hello-world"],
    "app": {
      "helloWorld": {
        "greeting": "Bonjour",
        "name": "le monde"
      }
    }
  }
}
```

You can now start your app with `npm start` and access the hello world form
at [localhost:8080/hoodie/hello-world](http://localhost:8080/hoodie/hello-world).

## Local setup

This plugin has `hoodie` as devDependency. The idea is that plugins can be
started just like apps. Simply `git clone` this repository, run `npm install`
and then `npm start`.

This plugin has no tests yet, but it would be nice to add some soon, so that
plugin authors get a good blueprint which includes tests for their own plugins.
See [#11](https://github.com/hoodiehq/hoodie-plugin-hello-world/issues/11)

## License

[Apache 2.0](LICENSE)
npm package: @hoodie/server
Description: Hapi plugin for Hoodie’s server core module
Latest version: 23.0.0

# hoodie-server

> Hapi plugin for Hoodie’s server core module

[![Build Status](https://travis-ci.org/hoodiehq/hoodie-server.svg?branch=master)](https://travis-ci.org/hoodiehq/hoodie-server)
[![Coverage Status](https://coveralls.io/repos/hoodiehq/hoodie-server/badge.svg?branch=master)](https://coveralls.io/github/hoodiehq/hoodie-server?branch=master)
[![Dependency Status](https://david-dm.org/hoodiehq/hoodie-server.svg)](https://david-dm.org/hoodiehq/hoodie-server)
[![devDependency Status](https://david-dm.org/hoodiehq/hoodie-server/dev-status.svg)](https://david-dm.org/hoodiehq/hoodie-server#info=devDependencies)

`@hoodie/server` integrates Hoodie’s server core modules:

- [account-server](https://github.com/hoodiehq/hoodie-account-server)
- [store-server](https://github.com/hoodiehq/hoodie-store-server)

## Example

```js
var Hapi = require('hapi')
var hoodie = require('@hoodie/server').register
var PouchDB = require('pouchdb-core').plugin(require('pouchdb-mapreduce')).plugin(require('pouchdb-adapter-memory'))

var server = new Hapi.Server()
server.connection({
  host: 'localhost',
  port: 8000
})

server.register({
  register: hoodie,
  options: { // pass options here
    PouchDB: PouchDB,
    paths: {
      public: 'dist'
    }
  }
}, function (error) {
  if (error) {
    throw error
  }

  server.start(function (error) {
    if (error) {
      throw error
    }

    console.log(('Server running at:', server.info.uri)
  })
})
```

## Usage

option                    | default      | description
------------------------- | ------------ | -------------
**adminPassword**         | -            | Password to login with admin account
**paths.data**            | `'.hoodie'`  | Data path
**paths.public**          | `'public'`   | Public path
**PouchDB**               | –            | [PouchDB constructor](https://pouchdb.com/api.html#defaults). See also [custom PouchDB builds](https://pouchdb.com/2016/06/06/introducing-pouchdb-custom-builds.html).
**account**               | `{}`         | [Hoodie Account Server](https://github.com/hoodiehq/hoodie-account-server/tree/master/plugin#options) options. `account.admins` are generated based on `adminPassword` option above. `account.usersDb` is hardcoded to `_users` at this point. `account.secret` is stored in `hoodie-store/hoodie` and will be generated if it does not yet exist.
**store**                 | `{}`         | [Hoodie Store Server](https://github.com/hoodiehq/hoodie-store-server#options) options. `store.couchdb`, `store.PouchDB` are set based on the `PouchDB` option above. `store.hooks.onPreAuth` is set to bind user authentication for Hoodie Account to Hoodie Store.

## Testing

Local setup

```
git clone https://github.com/hoodiehq/hoodie-server.git
cd hoodie-server
npm install
```

Run all tests

```
npm test
```

## Contributing

Have a look at the Hoodie project's [contribution guidelines](https://github.com/hoodiehq/hoodie/blob/master/CONTRIBUTING.md).
If you want to hang out you can join our [Hoodie Community Chat](http://hood.ie/chat/).

## License

[Apache 2.0](LICENSE)