Skip to main content

REDbot is lint for HTTP.

Project description

REDbot

REDbot is lint for HTTP resources.

It checks HTTP resources for feature support and common protocol problems. You can use the public instance on https://redbot.org/, or you can install it locally and use it on the command line, or even self-host your own Web checker.

Test

Contributing to REDbot

Your ideas, questions and other contributions are most welcome. See CONTRIBUTING.md for details.

Setting Up Your Own REDbot

Installation

REDbot requires Python 3.9 or greater.

The recommended method for installing REDbot is using pipx. To install the latest release, do:

pipx install redbot

Or, to use the most development version of REDbot, run:

pipx install git+https://github.com/mnot/redbot.git

Both of these methods will install the following programs into your pipx binary folder:

  • redbot - the command-line interface
  • redbot_daemon - Web interface as a standalone daemon

Running REDbot as a systemd Service

REDbot can run as a standalone service, managed by systemd. This offers a degree of sandboxing and resource management, as well as process monitoring (including a watchdog function).

To do this, install REDbot on your system with the systemd option. For example:

pipx install redbot[systemd]

The copy extra/redbot.service into the appropriate directory (on most systems, /etc/systemd/system/.)

Modify the file appropriately; this is only a sample. Then, as root:

> systemctl reload-daemon
> systemctl enable redbot
> systemctl start redbot

By default, REDbot will listen on localhost port 8000. This can be adjusted in config.txt. Running REDbot behind a reverse proxy is recommended, if it is to be exposed to the Internet.

If you want to allow people to save test results, create the directory referenced by the 'save_dir' configuration variable, and make sure that it's writable to the REDbot process.

Running REDbot with Docker

If you wish to run REDbot using Docker, get a local copy of the repository, then:

make docker-image

Start the webserver:

docker run -p 8000:8000 redbot

Or, just:

make docker

to run REDbot on port 8000.

Credits

Icons by Font Awesome. REDbot includes code from tippy.js and prettify.js.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

redbot-2.0.10.tar.gz (218.9 kB view details)

Uploaded Source

Built Distribution

redbot-2.0.10-py3-none-any.whl (234.3 kB view details)

Uploaded Python 3

File details

Details for the file redbot-2.0.10.tar.gz.

File metadata

  • Download URL: redbot-2.0.10.tar.gz
  • Upload date:
  • Size: 218.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for redbot-2.0.10.tar.gz
Algorithm Hash digest
SHA256 220e30f4b3a38290e1b9dae7c5bbb07defaa5686bfaaaf274361dcd2ae56e64c
MD5 b2d1357cfe2c5942934286339b93c6ea
BLAKE2b-256 8912b610ca7a35a7376d15b8eb6061678240ed24efa421e5e41d8f34912cfa1c

See more details on using hashes here.

Provenance

File details

Details for the file redbot-2.0.10-py3-none-any.whl.

File metadata

  • Download URL: redbot-2.0.10-py3-none-any.whl
  • Upload date:
  • Size: 234.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for redbot-2.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 fda31db68346059aa395068d731d2c2c311fd1782ef817b8f0b77cdfc91d45c4
MD5 d47c3ef3fe83b26985a4edceb5d978a4
BLAKE2b-256 9040ec6338c23f16366e404fc3201b5ac8de7e6c63c2c1dcbad66ebe5c6a48ab

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page