open-index/open-npm huggingface dataset:
npm package: @sauban/cloudboost
Description: Database Service that does Storage, Search, Real-time and a whole lot more.
Author: hello@cloudboost.io
Latest version: 6.7.6

# IMPORTANT

This repo is merged with github.com/cloudboost/cloudboost. This repo is now deprecated. 

# Introduction

[![Build Status](https://travis-ci.org/CloudBoost/JavaScriptSDK.svg?branch=master)](https://travis-ci.org/CloudBoost/JavaScriptSDK)  [![npm version](https://badge.fury.io/js/cloudboost.svg)](http://badge.fury.io/js/cloudboost)  [![Bower version](https://badge.fury.io/bo/cloudboost.svg)](http://badge.fury.io/bo/cloudboost)

This is the JavaScript and NodeJS SDK for CloudBoost. It is available both on NPM and Bower. If you want to have a look into documentation, you can check them out here : [https://tutorials.cloudboost.io](https://tutorials.cloudboost.io) and API reference is available here : [https://docs.cloudboost.io](https://docs.cloudboost.io)

## NPM Installation
```
npm install cloudboost
```

### NodeJS Usage

``` js

var CB = require('cloudboost');

```

### Bower Installation
```
bower install cloudboost
```

### JavaScript Usage

``` js
<script src="bower_components/cloudboost/dist/cloudboost.js"></script>
```

### Module Bundlers

``` js
// For ES6/ES7 , TypeScript(typings included)
import * as CB from 'cloudboost';

//For ES5 (requireJs)
var CB = require('cloudboost');

```

### Sample Code

``` js

// AppID and AppKey are your App ID and key of the application created in CloudBoost Dashboard.

//Init your Application
CB.CloudApp.init('YourAppId','YourAppKey');

//Data Storage : Create a CloudObject of type 'Custom' (Note: You need to create a table 'Custom' on CloudBoost Dashboard)

var obj = new CB.CloudObject('Custom');

//Set the property 'name' (Note: Create a column 'name' of type text on CloudBoost Dashboard)
obj.set('name','CloudBoost');

//Save the object
obj.save({
    success:function(res){
        console.log("object saved successfully");
    },
    error:function(err){
        console.log("error while saving object");
    }
});

```

<img align="right" height="150" src="https://cloud.githubusercontent.com/assets/5427704/7724257/b7f45d6c-ff0d-11e4-8f60-06024eaa1508.png">

#### Getting Started and Tutorials

Visit [Getting Started](https://tutorials.cloudboost.io) for tutorial and quickstart guide.


#### API Reference

Visit [CloudBoost Docs](http://docs.cloudboost.io) for API Reference.
npm package: @sauby79/ai-commit
Description: Generate one-line high-quality, descriptive Git commit messages using Generative AI.
Author: Sauby79
Latest version: 1.0.0


# AI Commit CLI

A command-line tool to generate conventional commit messages for your staged changes using Google's Gemini AI.

![Demo](https://raw.githubusercontent.com/saurabh-k15/ai-commit-cli/main/demo.gif)

## Features

- Analyzes your staged `git diff`.
- Generates a commit message following the [Conventional Commits](https://www.conventionalcommits.org/) specification.
- Uses the fast and efficient `gemini-1.5-flash` model.
- Provides the `git commit` command ready to copy-paste.

## Prerequisites

- [Node.js](https://nodejs.org/) (v18 or higher)
- [Git](https://git-scm.com/) initialized in your project.

<!-- ## Installation

You can install the tool globally using npm:

```bash
npm install -g @saurabh-k/ai-commit-cli
``` -->

## Configuration

The tool requires a Google AI API key to function.

1.  **Get a Google AI Key**:
    - Go to [Google AI Studio](https://aistudio.google.com/).
    - Sign in and click **"Get API key"**.
    - Create a new API key in a new or existing project.

2.  **Set the Environment Variable**:
    You need to set the `GOOGLE_AI_KEY` environment variable. You can do this in a few ways:

    - **Option A: `.env` file**
      Create a `.env` file in the root of your project, or add it to .bashrc/.zshrc and add the following line:
      ```
      GOOGLE_AI_KEY="your_key_here"
      ```

    - **Option B: Shell Profile**
      Add the following line to your shell profile file (e.g., `.bashrc`, `.zshrc`):
      ```bash
      export GOOGLE_AI_KEY="your_key_here"
      ```
      Remember to restart your terminal or source the file (`source ~/.zshrc`) for the changes to take effect.

## Usage

1.  Stage the changes you want to commit:
    ```bash
    git add <file1> <file2> ...
    ```

2.  Run the tool:
    ```bash
    ai-commit
    ```

3.  The tool will analyze the diff and generate a commit message.

4.  Copy the provided `git commit` command to commit your changes.

## License

This project is licensed under the MIT License.
npm package: @sauce-api/core
Description: Sauce API core functionality
Author: royalewcheese
Latest version: 1.0.3

<div align="center">

[<img src="https://gitlab.com/sauce-api/core/-/raw/master/sauce-logo.png" width="400">][docs-url]

**Sauce API is built with Typescript, Express, and ❤️** 

[![pipeline status](https://gitlab.com/sauce-api/core/badges/master/pipeline.svg)](https://gitlab.com/sauce-api/core/commits/master)
[![coverage report](https://gitlab.com/sauce-api/core/badges/master/coverage.svg)](https://gitlab.com/sauce-api/core/-/commits/master)

</div>

# Sauce Core

Sauce core is the heart of the Sauce framework. Sauce is fully production ready and we're working on the documentation.

## Documentation

See the docs at → [Sauce API Documentation][docs-url]

## Installation & Setup

See full setup documentation at → [Getting Started](https://sauce-api.gitlab.io/docs/installation)


# Development
## Running core tests
Easily run tests by running the `make test` command. Assumes Docker is installed.


[logo-url]: https://gitlab.com/sauce-api/core/-/raw/master/sauce-logo.png
[docs-url]: https://sauce-api.gitlab.io/docs/
npm package: @sauce-api/minerva
Description: A simple connection layer written around Knex.js
Author: royalewcheese
Latest version: 1.0.0

# Minerva
Minerva is a DB connection management layer built on top of Knex.js

## Usage 
```javascript 
import { Minerva } from '@sauce-api/minerva';
import { minervaConfig, ConnectionNames } from './MinervaConfig';

const dbs :Minerva<ConnectionNames> = new Minerva(minervaConfig);
const firstDB = dbs.connections.get("first-db"); // Returns a Knex.js connection. Anything you can do with a knex.js connection you can do here.
const anotherDB = dbs.connections.get("another-db"); // Returns a Knex.js connection. Anything you can do with a knex.js connection you can do here.
```



## Config options

| header | header |
| ------ | ------ |
| camelizeKeys | Translate snake case column names to camelCase |
| disableLogs | Disable any Minerva logs (does not disable logs from Knex.js) |
| logger | Maps to the Knex.js logger arguments. `info`, `debug`, `warn`, and `error` methods are supported |

## Example Minerva Config

``` javascript
import { MinervaConfig } from "@sauce-api/minerva";
import logger from "./logger";

export type ConnectionNames = "first-db" | "another-db";

export const minervaConfig :MinervaConfig<ConnectionNames> = {
    connections: [
        {
            name: "first-db",
            host: process.env.FIRST_DB_HOST,
            port: parseInt(process.env.FIRST_DB_PORT) || 3306,
            user: process.env.FIRST_DB_USER,
            password: process.env.FIRST_DB_PASS,
            database: process.env.FIRST_DB,
            pool: {
                min: 0,
                max: 15
            }
        },
        {
            name: "another-db",
            host: process.env.ANOTHER_DB_HOST,
            port: parseInt(process.env.ANOTHER_DB_PORT) || 3306,
            user: process.env.ANOTHER_DB_USER,
            password: process.env.ANOTHER_DB_PASS,
            database: process.env.ANOTHER_DB_STORE,
            pool: {
                min: 0,
                max: 15
            }
        }
    ],
    camelizeKeys: true,
    disableLogs: true,
    logger: {
        ...logger,
        warn: ()=>{}
    }
} 
```
npm package: @sauce-api/visualizer-ui
Description: A Swagger UI esque visualizer for Sauce API
Author: royalewcheese
Latest version: 1.0.2

A Swagger UI esque visualizer for [Sauce API](https://github.com/nenorrell/sauce)


# Usage
Consuming in Sauce API would look similar to: 

```javascript
    import { visualizerUI, setupVisualizerUI } from "@sauce-api/visualizer-ui";

    setupVisualizerUI(this.app);
    this.app.get("/docs", async (req, res, next)=>{
        const appRoutes = await new Routes(sauceConfig)
        .getFormattedRoutes(true);

        const ui = await visualizerUI({
            appRoutes,
            appName: "Visualizer",
            apiBaseUrl: process.env.REACT_APP_BASE_URL,
            apiHealthcheckPath: process.env.REACT_APP_DOCS_HEALTHCHECK_ENDPOINT,
            defaultTheme: "dark",
            brandIcon: "bullseye",
            brandImageUrl: "https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/android.svg"
        });
        res.send(ui);
    });
```



# Options

## Visualizer config

### Example 
```javascript
     import { VisualizerConfig } from "./@types/VisualizerConfig";

    const visualizerConfig = {
        appRoutes: [],
        appName: "Visualizer",
        apiBaseUrl: process.env.REACT_APP_BASE_URL,
        apiHealthcheckPath: process.env.REACT_APP_DOCS_HEALTHCHECK_ENDPOINT,
        defaultTheme: "dark",
        brandIcon: "bullseye",
        brandImageUrl: "https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/android.svg"
    };
```

| Config Property | Description |
| ------ | ------ |
| appRoutes | An Array of formatted Sauce API route objects. See  [Sauce API](https://github.com/nenorrell/sauce) for details on formatted routes|
| appName | The App name that will be displayed in the docs UI |
| apiBaseUrl | The base URL for the API you're displaying docs for. Ex: `https://<some-sauce-api>.com` |
| apiHealthcheckPath | If you have a healthcheck endpoint, you can supply it here and the UI will do a healthcheck for you. This value will be appended to the `apiBaseUrl`. Example: `/healthcheck` |
| defaultTheme | The default theme to display |
| brandIcon | You can supply a (free) font-awesome icon name here to display in the upper left corner. |
| brandImageUrl | This is an alternative to the `brandIcon` value. You can supply your own image here to be displayed in the upper left corner |


## Supported Route Icons
| Icon | Requirements |
| ------ | ------ |
| Admin Shield | Expects a route to have a policy named `isAdmin` |
| Authentication Lock | Expects a route to have a policy named `isAuthenticated` |


# Development
(_Requires Docker_)

# Running
Run `make run` and the app will come up on `http://localhost:3001`

# Bundling
Run `make package`

# Getting Started with Create React App

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).