Project

reaxar

0.0
The project is in a healthy, maintained state
Reaxar is a lightweight asynchronous HTTP/REST client for Ruby, built on top of async-http. It features automatic cookie management, support for redirects and relative navigation, and is ideal for scraping, API interaction, or automated web flows. Perfect for developers who need a non-blocking HTTP client with session awareness and simple request chaining.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

~> 0.89.0
~> 1.18
 Project Readme

Reaxar

Reaxar is a lightweight asynchronous HTTP client and HTML scraper for Ruby, designed for efficient and concurrent web requests with built-in HTML parsing.

Features

  • Asynchronous HTTP requests using async
  • Simple HTML page parsing and traversal
  • Middleware support for logging, redirects, and more
  • Cookie management
  • Configurable and extensible architecture

Installation

Add this to your Gemfile:

gem 'reaxar'

Then run:

bundle install

Or install the gem manually:

gem install reaxar

Dependencies

  • async-http — Asynchronous HTTP client library
  • async — Asynchronous I/O library for Ruby

Usage

require 'reaxar'

Reaxar::Page.open('https://github.com') do |page|
  puts page.title
end

Development

To run tests:

bundle exec rspec

To run lint checks with RuboCop:

bundle exec rubocop

To generate documentation with YARD:

bundle exec rake yard

Contributing

Bug reports and pull requests are welcome. Please fork the repo and submit a pull request.

License

MIT License