open-index/open-npm huggingface dataset:
npm package: @rubykit/kit_theme_bootstrap
Description: Kit default bootstrap theme.
Author: Nathan Appere
Latest version: 1.0.0

<!--pp {} -->
<img align="left" width="50" height="90" src="https://raw.githubusercontent.com/rubykit/kit_theme_bootstrap/main/app/assets/images/kit_theme_bootstrap/logo.kit_theme_bootstrap.svg">
<!-- pp-->

[KitThemeBootstrap]: https://github.com/rubykit/kit_theme_bootstrap
[Kit]: https://github.com/rubykit/kit

# KitThemeBootstrap

[KitThemeBootstrap] is a gem that contains [Kit] default bootstrap theme.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'kit_theme_bootstrap'
```

And then run:

```bash
$ bundle install
```

## Usage

TODO: write this.

## Copyright & License

Copyright (c) 2020, Nathan Appere.

[KitThemeBootstrap] is licensed under [MIT License](MIT_LICENSE.md).
npm package: @rubynetwork/rammerhead-browser
Description: Easily use Rammerhead in your browser
Author: MotorTruck1221
Latest version: 1.0.9

# Rammerhead Browser

- Easily use Rammerhead from the browser!

## Usage

- If your using something like Vite:
```js
import { RammerheadEncode } from '@rubynetwork/rammerhead-browser';

//use the function

RammerheadEncode('https://google.com', '/rammer/' /*This option can be ommited if this isn't behind a reverse proxy */);
```

- No bundler:
```html
<!DOCTYPE html>
<html>
    <head>
        <script src="https://unpkg.com/@rubynetwork/rammerhead-browser" defer />
    </head>
    <body>
        <script>
            RammerheadEncode('https://google.com', '/rammer/' /* Omit if not running behind a reverse proxy */);
        </script>
    </body>
</html>
npm package: @rubynetwork/rh
Description: User friendly web proxy powered by testcafe-hammerhead
Author: Simon Cheng
Latest version: 1.2.76

# Rammerhead

- The actual forked version of Rammerhead
- This package shouldn't be used unless you understand what you are doing!
- This package is used by @rubynetwork/rammerhead (the package you should probably actually use)

> proxy based on testcafe-hammerhead (password is `sharkie4life`)

Demo link: https://demo-opensource.rammerhead.org

Polished closed-source-for-now browser version: https://browser.rammerhead.org (more links by awesome community members in the discord server at the end of readme)


## Supporting me and contributing

Server infrastructure costs money and developing this project consumes a lot of my time, so I would appreciate it greatly if you become a Patreon member: https://www.patreon.com/rammerhead


## Who is this package for

Package is for those who want a fully-configurable proxy that works on many sites

## Effectiveness of proxy

This proxy supports proxying
- basically everything except google logins

## Features of proxy

The proxy allows users to create a "session". When they access their session, their localStorage and cookies will be synced with rammerhead. This allows for accurately mocking cookied requests and conveniently save their logins even if they switch devices. This also enables users to configure a custom HTTP proxy server for rammerhead to connect to for the session.

## Installing and running

Rammerhead recommends you to have at least **node v16** to be installed. Once you installed nodejs, clone the repo, then run `npm install` and `npm run build`.

After, configure your settings in [src/config.js](src/config.js). If you wish to consistently pull updates from this repo without the hassle of merging, create `config.js` in the root folder so they override the configs in `src/`.

Finally run the following to start rammerhead: `node src/server.js`

## Discord server

For any user-help non-issue related questions, especially pertaining to Rammerhead Browser, please ask them here: [Rammerhead Support Server](https://discord.gg/VNT4E7gN5Y).
npm package: @rubyonjets/ujs-compat
Description: UJS compat library with @rails/ujs library for Ruby on Jets and API Gateway 
Author: Tung Nguyen
Latest version: 1.2.0

# @rubyonjets/ujs-compat

UJS compat library for Ruby on Jets and API Gateway.

## Overview

The [@rails/ujs](https://github.com/rails/rails/tree/main/actionview/app/assets/javascripts) package adds unobtrusive JavaScript scripting support for Rails.  This is typically done with:

    yarn add @rails/ujs

Call rails ujs code:

app/javascript/packs/application.js

```javascript
import Rails from "@rails/ujs"
Rails.start()
```

## How Rails UJS Works

1. The `@rails/ujs` package registers click handlers to links with the `data-delete` attribute. Example: `<a data-confirm="Are you sure?" rel="nofollow" data-method="delete" href="/posts/123">Destroy</a>`
2. When the link is clicked, `@rails/ujs` creates a hidden form and submits the request as a `POST` request with a hidden field `_method=delete`.
3. The [Rack::MethodOverride](https://github.com/rack/rack/blob/master/lib/rack/method_override.rb) middleware is used to then adjust `POST` to `DELETE` request appropriately.


Essentially, a DELETE http request is mimiced using a POST http request. It all happens transparently, so developers don't really notice the magic happening behind the scenes.

## The Issue

Unfortunately API Gateway REST APIs require actual DELETE requests to the resource, not mimiced POST requests. Example:

    DELETE /posts/123

Sending a `POST /posts/123` with a `_method=delete` will not work with API Gateway because the `POST /posts/123` route points to the `posts#update` method API Gateway.

## The Fix

To fix the issue, this javascript library adds click handlers that intercept `@rails/ujs` handlers and sends an AJAX DELETE request correctly.

## Usage

    yarn add @rubyonjets/ujs-compat

And then add the Jets ujs-compat code below the Rails ujs code.

app/javascript/packs/application.js

```javascript
import jquery from 'jquery'
window.$ = jquery
import Jets from "@rubyonjets/ujs-compat"
Jets.start()
```

## Dependencies

This package is dependencies on jquery. You should configure your own jquery.

## Thoughts and Considerations

* Considered putting `POST /posts/123` to the `posts#delete` action instead of `posts#update`. But that feels like unexpected behavior.
* Considered adding logic at the lambda handlers processing logic to convert `posts#update` actions with `_method=delete` to call `posts#delete`. This will make the logic closer to what `Rack::MethodOverride` does but again feels a little bit confusing.
* So went with javascript library to handle things earlier. An actual DELETE request is sent via AJAX to API Gateway.
* Open to suggestions and improvements.
npm package: @rubyquest/jsondb
Description: A simple typescript library for storing and querying information from .json-based database. Amazing alternative for @replit/database as it allows for multiple tables.
Author: VortexReanimated, BlueRain Studios
Latest version: 1.0.12

# jsondb
A simple typescript library for storing and querying information from a .json file, kind of like a database. Really great alternative for @replit/database.