Simple pub/sub messaging for the web
LiveReload JS client - auto reload browser on changes
A message bus client in Javascript
generate random IDs and avoid collisions
TypeScript definitions for hat
Convert form parameters to an object using the same logic as Rack
Allow parsing of export namespace from
Allow parsing of export default from
Parse partial JSON generated by LLM
Microsoft Azure SDK for JavaScript - Logger
Angular Schematics - CLI
A security-focused rehype plugin that filters URLs based on allowed prefixes
Force a specific package manager to be used on a project
A tool for running only the dependency lifecycle hooks specified in an allowlist.
yargs the modern, pirate-themed, successor to optimist.
OpenTelemetry Node SDK provides automatic telemetry (tracing, metrics, etc) for Node.js applications
Easy peasy lemon squeezy iframes with react
A security-focused wrapper for react-markdown that filters URLs based on allowed prefixes
Simple pub/sub messaging for the web
Utility to fix TypeScript declarations when using default exports in CommonJS.
Polyfill for Ember JS API.
Allow parsing of TypeScript syntax
Allow parsing of jsx
tsParticles spice rack palette
A Rack middlware which reads from a Rails configuration variable, determining which hosts are allowed to connect to your Rails app.
Rack middleware that allows all requests from any origin
Flexible Swagger documentation for Rack and Grape
Rack middleware to serve Jekyll static content.
Rat Hole is a handy library for creating a rack compliant http proxy that allows you to modify the request from the user and the response from the server.
Rat Hole is a handy library for creating a rack compliant http proxy that allows you to modify the request from the user and the response from the server.
Simple sinatra Rack application that allowes to run sql queries from a web page. Usable for administrative tasks.
Originally extracted from rack-app project. Deep duplication for ruby objects in pure ruby, that allow you recursively duplicate objects based on a source object, even replacing original object references
Allows caching of pages with flash messages by rendering flash messages from a cookie using JavaScript, instead of statically in your Rails view template. Flash contents are converted to JSON and placed in a cookie by an after_filter (default) or a Rack Middleware (option).
Nesta is a lightweight Content Management System, written in Ruby using the Sinatra web framework. Nesta has the simplicity of a static site generator, but (being a fully fledged Rack application) allows you to serve dynamic content on demand. Content is stored on disk in plain text files (there is no database). Edit your content in a text editor and keep it under version control (most people use git, but any version control system will do fine). Implementing your site's design is easy, but Nesta also has a small selection of themes to choose from.
# Rack::ReadOnly This gem allows Rack based APIs to be set to read only. At the most basic it can be used like this from your `config.ru`: ```ruby require 'rack/read_only' use Rack::ReadOnly, { active: ENV["READ_ONLY"] == "1", response_body: '{ "error": "This API is currently in read only mode." }' } run MyApp ``` When in read only mode the API will continue to respond to GET, HEAD, and OPTIONS requests as normal, but reject POST, PUT, DELETE, and PATCH requests with the body specified, and a 503 error code. ## Installation Add this line to your application's Gemfile: ```ruby gem 'rack-read_only' ``` And then execute: $ bundle Or install it yourself as: $ gem install rack-read_only ## Development After checking out the repo, run `bin/setup` to install dependencies. To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org). ## Contributing 1. Fork it ( https://github.com/jellybob/rack-read_only/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create a new Pull Request Any new builds should pass the tests on [Travis](https://travis-ci.org/jellybob/rack-read_only)
Nesta is a lightweight Content Management System, written in Ruby using the Sinatra web framework. Nesta has the simplicity of a static site generator, but (being a fully fledged Rack application) allows you to serve dynamic content on demand. Content is stored on disk in plain text files (there is no database). Edit your content in a text editor and keep it under version control (most people use git, but any version control system will do fine). Implementing your site's design is easy, but Nesta also has a small selection of themes to choose from.