
Product
Socket Now Supports pylock.toml Files
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
To use with ruby version < 2.2, you must install specifically from 0.4 line which is maintained in ruby-1.9.2+
branch.
$ gem install redis-browser --version '~> 0.4.0'
Otherwise install the newest version.
$ gem install redis-browser
$ redis-browser
You can predefine a list of available connections in a YAML file in couple of ways.
connections:
default:
url: redis://127.0.0.1:6379/0
production:
host: mydomain.com
port: 6666
db: 1
auth: password
Then start with
$ redis-browser --config path/to/config.yml
Or quickly connect to a database without the hassle of creating custom configuration file
$ redis-browser --url redis://hostname:6379
The connection options can also be specified in similar way to redis-cli
command
$ redis-browser -h 127.0.0.1 -p 6379 -a password -n 0
Run with --help
to see what other options are available.
Add to gemfile
gem 'redis-browser'
To use with ruby version < 2.2 specify the version from 0.4 line.
gem 'redis-browser', '~> 0.4.0'
And to routes.rb
mount RedisBrowser::Web => '/redis-browser'
Use config/initializers/redis-browser.rb
to predefine a list of available connections
config = Rails.root.join('config', 'redis-browser.yml')
settings = YAML.load(ERB.new(IO.read(config)).result)
RedisBrowser.configure(settings)
RedisBrowser::Web
is a Sinatra app, so you can inject any Rack middleware into it.
# config/initializers/redis-browser.rb
RedisBrowser::Web.class_eval do
use Rack::Auth::Basic, "Protected Area" do |username, password|
username == 'foo' && password == 'bar'
end
end
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that redis-browser demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.
Research
Security News
Malicious Ruby gems typosquat Fastlane plugins to steal Telegram bot tokens, messages, and files, exploiting demand after Vietnam’s Telegram ban.