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.
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 interfaceredbot_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 in a Container
OCI-compliant containers are available on Github, and it's easy to run REDbot one using a tool like Docker or Podman. For example:
docker run --rm -p 8000:8000 ghcr.io/mnot/redbot
or
podman run --rm -p 8000:8000 ghcr.io/mnot/redbot
Credits
Icons by Font Awesome. REDbot includes code from tippy.js and prettify.js.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file redbot-2.0.14.tar.gz
.
File metadata
- Download URL: redbot-2.0.14.tar.gz
- Upload date:
- Size: 219.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbd4b941676748435fb63f0ff9756770a2e8fa562ef256c3ac3467e71314bd22 |
|
MD5 | f921cc59bdbd4f019658aa703866a2c8 |
|
BLAKE2b-256 | 5d094656e240499d70fbd398db0e8f2518757ce4faf5f8f70741d098fc4a6949 |
File details
Details for the file redbot-2.0.14-py3-none-any.whl
.
File metadata
- Download URL: redbot-2.0.14-py3-none-any.whl
- Upload date:
- Size: 235.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f56c74c117ae6457b643a61085c9d73c08858db805d75e284c8e6de146db52e |
|
MD5 | fb0f515da11388038fd5f9be2ecb2257 |
|
BLAKE2b-256 | 35a8372f4e17632a766c05863203e8be9778527f33ea5e23ef38923f10d036a2 |